1
14
15 package com.liferay.portlet.shopping.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.shopping.model.ShoppingItemField;
20
21
34 public interface ShoppingItemFieldPersistence extends BasePersistence<ShoppingItemField> {
35 public void cacheResult(
36 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> shoppingItemFields);
40
41 public com.liferay.portlet.shopping.model.ShoppingItemField create(
42 long itemFieldId);
43
44 public com.liferay.portlet.shopping.model.ShoppingItemField remove(
45 long itemFieldId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.shopping.NoSuchItemFieldException;
48
49 public com.liferay.portlet.shopping.model.ShoppingItemField updateImpl(
50 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.shopping.model.ShoppingItemField findByPrimaryKey(
55 long itemFieldId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.shopping.NoSuchItemFieldException;
58
59 public com.liferay.portlet.shopping.model.ShoppingItemField fetchByPrimaryKey(
60 long itemFieldId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
64 long itemId) throws com.liferay.portal.kernel.exception.SystemException;
65
66 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
67 long itemId, int start, int end)
68 throws com.liferay.portal.kernel.exception.SystemException;
69
70 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
71 long itemId, int start, int end,
72 com.liferay.portal.kernel.util.OrderByComparator obc)
73 throws com.liferay.portal.kernel.exception.SystemException;
74
75 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_First(
76 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.kernel.exception.SystemException,
78 com.liferay.portlet.shopping.NoSuchItemFieldException;
79
80 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_Last(
81 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.kernel.exception.SystemException,
83 com.liferay.portlet.shopping.NoSuchItemFieldException;
84
85 public com.liferay.portlet.shopping.model.ShoppingItemField[] findByItemId_PrevAndNext(
86 long itemFieldId, long itemId,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.kernel.exception.SystemException,
89 com.liferay.portlet.shopping.NoSuchItemFieldException;
90
91 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll()
92 throws com.liferay.portal.kernel.exception.SystemException;
93
94 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
95 int start, int end)
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
99 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public void removeByItemId(long itemId)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public void removeAll()
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public int countByItemId(long itemId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public int countAll()
112 throws com.liferay.portal.kernel.exception.SystemException;
113 }