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.SystemException,
45 com.liferay.portlet.expando.NoSuchColumnException;
46
47
50 public com.liferay.portlet.expando.model.ExpandoColumn update(
51 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.expando.model.ExpandoColumn updateImpl(
55 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
56 boolean merge) throws com.liferay.portal.SystemException;
57
58 public com.liferay.portlet.expando.model.ExpandoColumn findByPrimaryKey(
59 long columnId)
60 throws com.liferay.portal.SystemException,
61 com.liferay.portlet.expando.NoSuchColumnException;
62
63 public com.liferay.portlet.expando.model.ExpandoColumn fetchByPrimaryKey(
64 long columnId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
67 long tableId) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
70 long tableId, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findByTableId(
74 long tableId, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portlet.expando.model.ExpandoColumn findByTableId_First(
79 long tableId,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.expando.NoSuchColumnException;
83
84 public com.liferay.portlet.expando.model.ExpandoColumn findByTableId_Last(
85 long tableId,
86 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.expando.NoSuchColumnException;
89
90 public com.liferay.portlet.expando.model.ExpandoColumn[] findByTableId_PrevAndNext(
91 long columnId, long tableId,
92 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.expando.NoSuchColumnException;
95
96 public com.liferay.portlet.expando.model.ExpandoColumn findByT_N(
97 long tableId, java.lang.String name)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.expando.NoSuchColumnException;
100
101 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
102 long tableId, java.lang.String name)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.expando.model.ExpandoColumn fetchByT_N(
106 long tableId, java.lang.String name, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll()
110 throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
113 int start, int end) throws com.liferay.portal.SystemException;
114
115 public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> findAll(
116 int start, int end,
117 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118 throws com.liferay.portal.SystemException;
119
120 public void removeByTableId(long tableId)
121 throws com.liferay.portal.SystemException;
122
123 public void removeByT_N(long tableId, java.lang.String name)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.expando.NoSuchColumnException;
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 countByT_N(long tableId, java.lang.String name)
133 throws com.liferay.portal.SystemException;
134
135 public int countAll() throws com.liferay.portal.SystemException;
136 }