1
19
20 package com.liferay.portlet.shopping.service.persistence;
21
22 import com.liferay.portal.service.persistence.BasePersistence;
23
24
30 public interface ShoppingItemFieldPersistence extends BasePersistence {
31 public void cacheResult(
32 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField);
33
34 public void cacheResult(
35 java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> shoppingItemFields);
36
37 public void clearCache();
38
39 public com.liferay.portlet.shopping.model.ShoppingItemField create(
40 long itemFieldId);
41
42 public com.liferay.portlet.shopping.model.ShoppingItemField remove(
43 long itemFieldId)
44 throws com.liferay.portal.SystemException,
45 com.liferay.portlet.shopping.NoSuchItemFieldException;
46
47 public com.liferay.portlet.shopping.model.ShoppingItemField remove(
48 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
49 throws com.liferay.portal.SystemException;
50
51
54 public com.liferay.portlet.shopping.model.ShoppingItemField update(
55 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
56 throws com.liferay.portal.SystemException;
57
58
71 public com.liferay.portlet.shopping.model.ShoppingItemField update(
72 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
73 boolean merge) throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.shopping.model.ShoppingItemField updateImpl(
76 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
77 boolean merge) throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.shopping.model.ShoppingItemField findByPrimaryKey(
80 long itemFieldId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.shopping.NoSuchItemFieldException;
83
84 public com.liferay.portlet.shopping.model.ShoppingItemField fetchByPrimaryKey(
85 long itemFieldId) throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
88 long itemId) throws com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
91 long itemId, int start, int end)
92 throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
95 long itemId, int start, int end,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_First(
100 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.shopping.NoSuchItemFieldException;
103
104 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_Last(
105 long itemId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.shopping.NoSuchItemFieldException;
108
109 public com.liferay.portlet.shopping.model.ShoppingItemField[] findByItemId_PrevAndNext(
110 long itemFieldId, long itemId,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.shopping.NoSuchItemFieldException;
114
115 public java.util.List<Object> findWithDynamicQuery(
116 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<Object> findWithDynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll()
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
127 int start, int end) throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
130 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException;
132
133 public void removeByItemId(long itemId)
134 throws com.liferay.portal.SystemException;
135
136 public void removeAll() throws com.liferay.portal.SystemException;
137
138 public int countByItemId(long itemId)
139 throws com.liferay.portal.SystemException;
140
141 public int countAll() throws com.liferay.portal.SystemException;
142 }