1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.expando.model.ExpandoTable;
28
29
42 public interface ExpandoTablePersistence extends BasePersistence<ExpandoTable> {
43 public void cacheResult(
44 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.expando.model.ExpandoTable> expandoTables);
48
49 public com.liferay.portlet.expando.model.ExpandoTable create(long tableId);
50
51 public com.liferay.portlet.expando.model.ExpandoTable remove(long tableId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.expando.NoSuchTableException;
54
55
58 public com.liferay.portlet.expando.model.ExpandoTable update(
59 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
60 throws com.liferay.portal.SystemException;
61
62 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
63 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
67 long tableId)
68 throws com.liferay.portal.SystemException,
69 com.liferay.portlet.expando.NoSuchTableException;
70
71 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
72 long tableId) throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
75 long companyId, long classNameId)
76 throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
79 long companyId, long classNameId, int start, int end)
80 throws com.liferay.portal.SystemException;
81
82 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
83 long companyId, long classNameId, int start, int end,
84 com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(
88 long companyId, long classNameId,
89 com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.expando.NoSuchTableException;
92
93 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(
94 long companyId, long classNameId,
95 com.liferay.portal.kernel.util.OrderByComparator obc)
96 throws com.liferay.portal.SystemException,
97 com.liferay.portlet.expando.NoSuchTableException;
98
99 public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(
100 long tableId, long companyId, long classNameId,
101 com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException,
103 com.liferay.portlet.expando.NoSuchTableException;
104
105 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(
106 long companyId, long classNameId, java.lang.String name)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.expando.NoSuchTableException;
109
110 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
111 long companyId, long classNameId, java.lang.String name)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
115 long companyId, long classNameId, java.lang.String name,
116 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
119 throws com.liferay.portal.SystemException;
120
121 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
122 int start, int end) throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
125 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.SystemException;
127
128 public void removeByC_C(long companyId, long classNameId)
129 throws com.liferay.portal.SystemException;
130
131 public void removeByC_C_N(long companyId, long classNameId,
132 java.lang.String name)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.expando.NoSuchTableException;
135
136 public void removeAll() throws com.liferay.portal.SystemException;
137
138 public int countByC_C(long companyId, long classNameId)
139 throws com.liferay.portal.SystemException;
140
141 public int countByC_C_N(long companyId, long classNameId,
142 java.lang.String name) throws com.liferay.portal.SystemException;
143
144 public int countAll() throws com.liferay.portal.SystemException;
145 }