1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface CompanyPersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.Company company);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.Company> companies);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.Company create(long companyId);
48
49 public com.liferay.portal.model.Company remove(long companyId)
50 throws com.liferay.portal.NoSuchCompanyException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.Company remove(
54 com.liferay.portal.model.Company company)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.Company update(
61 com.liferay.portal.model.Company company)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.Company update(
77 com.liferay.portal.model.Company company, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.Company updateImpl(
81 com.liferay.portal.model.Company company, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.Company findByPrimaryKey(long companyId)
85 throws com.liferay.portal.NoSuchCompanyException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.Company fetchByPrimaryKey(long companyId)
89 throws com.liferay.portal.SystemException;
90
91 public com.liferay.portal.model.Company findByWebId(java.lang.String webId)
92 throws com.liferay.portal.NoSuchCompanyException,
93 com.liferay.portal.SystemException;
94
95 public com.liferay.portal.model.Company fetchByWebId(java.lang.String webId)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portal.model.Company fetchByWebId(
99 java.lang.String webId, boolean retrieveFromCache)
100 throws com.liferay.portal.SystemException;
101
102 public com.liferay.portal.model.Company findByVirtualHost(
103 java.lang.String virtualHost)
104 throws com.liferay.portal.NoSuchCompanyException,
105 com.liferay.portal.SystemException;
106
107 public com.liferay.portal.model.Company fetchByVirtualHost(
108 java.lang.String virtualHost) throws com.liferay.portal.SystemException;
109
110 public com.liferay.portal.model.Company fetchByVirtualHost(
111 java.lang.String virtualHost, boolean retrieveFromCache)
112 throws com.liferay.portal.SystemException;
113
114 public com.liferay.portal.model.Company findByMx(java.lang.String mx)
115 throws com.liferay.portal.NoSuchCompanyException,
116 com.liferay.portal.SystemException;
117
118 public com.liferay.portal.model.Company fetchByMx(java.lang.String mx)
119 throws com.liferay.portal.SystemException;
120
121 public com.liferay.portal.model.Company fetchByMx(java.lang.String mx,
122 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
123
124 public com.liferay.portal.model.Company findByLogoId(long logoId)
125 throws com.liferay.portal.NoSuchCompanyException,
126 com.liferay.portal.SystemException;
127
128 public com.liferay.portal.model.Company fetchByLogoId(long logoId)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portal.model.Company fetchByLogoId(long logoId,
132 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
133
134 public java.util.List<com.liferay.portal.model.Company> findBySystem(
135 boolean system) throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portal.model.Company> findBySystem(
138 boolean system, int start, int end)
139 throws com.liferay.portal.SystemException;
140
141 public java.util.List<com.liferay.portal.model.Company> findBySystem(
142 boolean system, int start, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException;
145
146 public com.liferay.portal.model.Company findBySystem_First(boolean system,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.NoSuchCompanyException,
149 com.liferay.portal.SystemException;
150
151 public com.liferay.portal.model.Company findBySystem_Last(boolean system,
152 com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.NoSuchCompanyException,
154 com.liferay.portal.SystemException;
155
156 public com.liferay.portal.model.Company[] findBySystem_PrevAndNext(
157 long companyId, boolean system,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.NoSuchCompanyException,
160 com.liferay.portal.SystemException;
161
162 public java.util.List<Object> findWithDynamicQuery(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.SystemException;
165
166 public java.util.List<Object> findWithDynamicQuery(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
168 int end) throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portal.model.Company> findAll()
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portal.model.Company> findAll(int start,
174 int end) throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portal.model.Company> findAll(int start,
177 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public void removeByWebId(java.lang.String webId)
181 throws com.liferay.portal.NoSuchCompanyException,
182 com.liferay.portal.SystemException;
183
184 public void removeByVirtualHost(java.lang.String virtualHost)
185 throws com.liferay.portal.NoSuchCompanyException,
186 com.liferay.portal.SystemException;
187
188 public void removeByMx(java.lang.String mx)
189 throws com.liferay.portal.NoSuchCompanyException,
190 com.liferay.portal.SystemException;
191
192 public void removeByLogoId(long logoId)
193 throws com.liferay.portal.NoSuchCompanyException,
194 com.liferay.portal.SystemException;
195
196 public void removeBySystem(boolean system)
197 throws com.liferay.portal.SystemException;
198
199 public void removeAll() throws com.liferay.portal.SystemException;
200
201 public int countByWebId(java.lang.String webId)
202 throws com.liferay.portal.SystemException;
203
204 public int countByVirtualHost(java.lang.String virtualHost)
205 throws com.liferay.portal.SystemException;
206
207 public int countByMx(java.lang.String mx)
208 throws com.liferay.portal.SystemException;
209
210 public int countByLogoId(long logoId)
211 throws com.liferay.portal.SystemException;
212
213 public int countBySystem(boolean system)
214 throws com.liferay.portal.SystemException;
215
216 public int countAll() throws com.liferay.portal.SystemException;
217 }