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.SystemException,
45 com.liferay.portlet.expando.NoSuchTableException;
46
47
50 public com.liferay.portlet.expando.model.ExpandoTable update(
51 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.expando.model.ExpandoTable updateImpl(
55 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.expando.model.ExpandoTable findByPrimaryKey(
59 long tableId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.expando.NoSuchTableException;
62
63 public com.liferay.portlet.expando.model.ExpandoTable fetchByPrimaryKey(
64 long tableId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
67 long companyId, long classNameId)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
71 long companyId, long classNameId, int start, int end)
72 throws com.liferay.portal.SystemException;
73
74 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findByC_C(
75 long companyId, long classNameId, int start, int end,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.SystemException;
78
79 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_First(
80 long companyId, long classNameId,
81 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.expando.NoSuchTableException;
84
85 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_Last(
86 long companyId, long classNameId,
87 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.expando.NoSuchTableException;
90
91 public com.liferay.portlet.expando.model.ExpandoTable[] findByC_C_PrevAndNext(
92 long tableId, long companyId, long classNameId,
93 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portlet.expando.NoSuchTableException;
96
97 public com.liferay.portlet.expando.model.ExpandoTable findByC_C_N(
98 long companyId, long classNameId, java.lang.String name)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.expando.NoSuchTableException;
101
102 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
103 long companyId, long classNameId, java.lang.String name)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.expando.model.ExpandoTable fetchByC_C_N(
107 long companyId, long classNameId, java.lang.String name,
108 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
109
110 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll()
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
114 int start, int end) throws com.liferay.portal.SystemException;
115
116 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> findAll(
117 int start, int end,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException;
120
121 public void removeByC_C(long companyId, long classNameId)
122 throws com.liferay.portal.SystemException;
123
124 public void removeByC_C_N(long companyId, long classNameId,
125 java.lang.String name)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.expando.NoSuchTableException;
128
129 public void removeAll() throws com.liferay.portal.SystemException;
130
131 public int countByC_C(long companyId, long classNameId)
132 throws com.liferay.portal.SystemException;
133
134 public int countByC_C_N(long companyId, long classNameId,
135 java.lang.String name) throws com.liferay.portal.SystemException;
136
137 public int countAll() throws com.liferay.portal.SystemException;
138 }