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