|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface CompanyPersistence
| Method Summary | |
|---|---|
int |
countAll()
|
int |
countByLogoId(long logoId)
|
int |
countByMx(java.lang.String mx)
|
int |
countByVirtualHost(java.lang.String virtualHost)
|
int |
countByWebId(java.lang.String webId)
|
Company |
create(long companyId)
|
Company |
fetchByLogoId(long logoId)
|
Company |
fetchByMx(java.lang.String mx)
|
Company |
fetchByPrimaryKey(long companyId)
|
Company |
fetchByVirtualHost(java.lang.String virtualHost)
|
Company |
fetchByWebId(java.lang.String webId)
|
java.util.List<Company> |
findAll()
|
java.util.List<Company> |
findAll(int start,
int end)
|
java.util.List<Company> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Company |
findByLogoId(long logoId)
|
Company |
findByMx(java.lang.String mx)
|
Company |
findByPrimaryKey(long companyId)
|
Company |
findByVirtualHost(java.lang.String virtualHost)
|
Company |
findByWebId(java.lang.String webId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
Company |
remove(Company company)
|
Company |
remove(long companyId)
|
void |
removeAll()
|
void |
removeByLogoId(long logoId)
|
void |
removeByMx(java.lang.String mx)
|
void |
removeByVirtualHost(java.lang.String virtualHost)
|
void |
removeByWebId(java.lang.String webId)
|
void |
unregisterListener(ModelListener listener)
|
Company |
update(Company company)
Deprecated. Use update(Company company, boolean merge). |
Company |
update(Company company,
boolean merge)
Add, update, or merge, the entity. |
Company |
updateImpl(Company company,
boolean merge)
|
| Method Detail |
|---|
Company create(long companyId)
Company remove(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company remove(Company company)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Company update(Company company)
throws com.liferay.portal.SystemException
update(Company company, boolean merge).
com.liferay.portal.SystemException
Company update(Company company,
boolean merge)
throws com.liferay.portal.SystemException
company - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when company is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Company updateImpl(Company company,
boolean merge)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company findByPrimaryKey(long companyId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company fetchByPrimaryKey(long companyId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company findByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company fetchByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company findByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company fetchByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company findByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company fetchByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Company findByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
Company fetchByLogoId(long logoId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Company> findAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Company> findAll(int start,
int end)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Company> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByWebId(java.lang.String webId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
void removeByVirtualHost(java.lang.String virtualHost)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
void removeByMx(java.lang.String mx)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
void removeByLogoId(long logoId)
throws NoSuchCompanyException,
com.liferay.portal.SystemException
NoSuchCompanyException
com.liferay.portal.SystemException
void removeAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByWebId(java.lang.String webId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByVirtualHost(java.lang.String virtualHost)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByMx(java.lang.String mx)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByLogoId(long logoId)
throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
com.liferay.portal.SystemExceptionvoid registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||