1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25
31 public interface ExpandoRowPersistence {
32 public com.liferay.portlet.expando.model.ExpandoRow create(long rowId);
33
34 public com.liferay.portlet.expando.model.ExpandoRow remove(long rowId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.expando.NoSuchRowException;
37
38 public com.liferay.portlet.expando.model.ExpandoRow remove(
39 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.expando.model.ExpandoRow update(
46 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.expando.model.ExpandoRow update(
63 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
67 com.liferay.portlet.expando.model.ExpandoRow expandoRow, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
71 long rowId)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.expando.NoSuchRowException;
74
75 public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
76 long rowId) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
79 long tableId) throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
82 long tableId, int begin, int end)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
86 long tableId, int begin, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
91 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portlet.expando.NoSuchRowException;
94
95 public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
96 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.expando.NoSuchRowException;
99
100 public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
101 long rowId, long tableId,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.expando.NoSuchRowException;
105
106 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findWithDynamicQuery(
107 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
108 throws com.liferay.portal.SystemException;
109
110 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findWithDynamicQuery(
111 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
112 int begin, int end) throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
118 int begin, int end) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
121 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.SystemException;
123
124 public void removeByTableId(long tableId)
125 throws com.liferay.portal.SystemException;
126
127 public void removeAll() throws com.liferay.portal.SystemException;
128
129 public int countByTableId(long tableId)
130 throws com.liferay.portal.SystemException;
131
132 public int countAll() throws com.liferay.portal.SystemException;
133 }