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