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.ExpandoColumn;
20
21
34 public interface ExpandoColumnPersistence extends BasePersistence<ExpandoColumn> {
35 public void cacheResult(
36 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> expandoColumns);
40
41 public com.liferay.portlet.expando.model.ExpandoColumn create(long columnId);
42
43 public com.liferay.portlet.expando.model.ExpandoColumn remove(long columnId)
44 throws com.liferay.portal.kernel.exception.SystemException,
45 com.liferay.portlet.expando.NoSuchColumnException;
46
47 public com.liferay.portlet.expando.model.ExpandoColumn updateImpl(
48 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portlet.expando.model.ExpandoColumn findByPrimaryKey(
53 long columnId)
54 throws com.liferay.portal.kernel.exception.SystemException,
55 com.liferay.portlet.expando.NoSuchColumnException;
56
57 public com.liferay.portlet.expando.model.ExpandoColumn fetchByPrimaryKey(
58 long columnId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
62 long tableId)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
66 long tableId, int start, int end)
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
70 long tableId, int start, int end,
71 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
72 throws com.liferay.portal.kernel.exception.SystemException;
73
74 public com.liferay.portlet.expando.model.ExpandoColumn findByTableId_First(
75 long tableId,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.kernel.exception.SystemException,
78 com.liferay.portlet.expando.NoSuchColumnException;
79
80 public com.liferay.portlet.expando.model.ExpandoColumn findByTableId_Last(
81 long tableId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.kernel.exception.SystemException,
84 com.liferay.portlet.expando.NoSuchColumnException;
85
86 public com.liferay.portlet.expando.model.ExpandoColumn[] findByTableId_PrevAndNext(
87 long columnId, long tableId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.kernel.exception.SystemException,
90 com.liferay.portlet.expando.NoSuchColumnException;
91
92 public com.liferay.portlet.expando.model.ExpandoColumn findByT_N(
93 long tableId, java.lang.String name)
94 throws com.liferay.portal.kernel.exception.SystemException,
95 com.liferay.portlet.expando.NoSuchColumnException;
96
97 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
98 long tableId, java.lang.String name)
99 throws com.liferay.portal.kernel.exception.SystemException;
100
101 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
102 long tableId, java.lang.String name, boolean retrieveFromCache)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll()
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
109 int start, int end)
110 throws com.liferay.portal.kernel.exception.SystemException;
111
112 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
113 int start, int end,
114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
115 throws com.liferay.portal.kernel.exception.SystemException;
116
117 public void removeByTableId(long tableId)
118 throws com.liferay.portal.kernel.exception.SystemException;
119
120 public void removeByT_N(long tableId, java.lang.String name)
121 throws com.liferay.portal.kernel.exception.SystemException,
122 com.liferay.portlet.expando.NoSuchColumnException;
123
124 public void removeAll()
125 throws com.liferay.portal.kernel.exception.SystemException;
126
127 public int countByTableId(long tableId)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public int countByT_N(long tableId, java.lang.String name)
131 throws com.liferay.portal.kernel.exception.SystemException;
132
133 public int countAll()
134 throws com.liferay.portal.kernel.exception.SystemException;
135 }