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