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.SystemException,
47 com.liferay.portlet.shopping.NoSuchItemFieldException;
48
49
52 public com.liferay.portlet.shopping.model.ShoppingItemField update(
53 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.shopping.model.ShoppingItemField updateImpl(
57 com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.shopping.model.ShoppingItemField findByPrimaryKey(
61 long itemFieldId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.shopping.NoSuchItemFieldException;
64
65 public com.liferay.portlet.shopping.model.ShoppingItemField fetchByPrimaryKey(
66 long itemFieldId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
69 long itemId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
72 long itemId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findByItemId(
76 long itemId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_First(
81 long itemId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.shopping.NoSuchItemFieldException;
85
86 public com.liferay.portlet.shopping.model.ShoppingItemField findByItemId_Last(
87 long itemId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.shopping.NoSuchItemFieldException;
91
92 public com.liferay.portlet.shopping.model.ShoppingItemField[] findByItemId_PrevAndNext(
93 long itemFieldId, long itemId,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.shopping.NoSuchItemFieldException;
97
98 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll()
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
102 int start, int end) throws com.liferay.portal.SystemException;
103
104 public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> findAll(
105 int start, int end,
106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107 throws com.liferay.portal.SystemException;
108
109 public void removeByItemId(long itemId)
110 throws com.liferay.portal.SystemException;
111
112 public void removeAll() throws com.liferay.portal.SystemException;
113
114 public int countByItemId(long itemId)
115 throws com.liferay.portal.SystemException;
116
117 public int countAll() throws com.liferay.portal.SystemException;
118 }