|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceCodePersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
ResourceCodePersistenceImpl
,
ResourceCodeUtil
Method Summary | |
---|---|
void |
cacheResult(java.util.List<ResourceCode> resourceCodes)
|
void |
cacheResult(ResourceCode resourceCode)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_N_S(long companyId,
java.lang.String name,
int scope)
|
int |
countByCompanyId(long companyId)
|
int |
countByName(java.lang.String name)
|
ResourceCode |
create(long codeId)
|
ResourceCode |
fetchByC_N_S(long companyId,
java.lang.String name,
int scope)
|
ResourceCode |
fetchByC_N_S(long companyId,
java.lang.String name,
int scope,
boolean retrieveFromCache)
|
ResourceCode |
fetchByPrimaryKey(long codeId)
|
java.util.List<ResourceCode> |
findAll()
|
java.util.List<ResourceCode> |
findAll(int start,
int end)
|
java.util.List<ResourceCode> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode |
findByC_N_S(long companyId,
java.lang.String name,
int scope)
|
ResourceCode |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode[] |
findByCompanyId_PrevAndNext(long codeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ResourceCode> |
findByCompanyId(long companyId)
|
java.util.List<ResourceCode> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<ResourceCode> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode |
findByName_First(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode |
findByName_Last(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode[] |
findByName_PrevAndNext(long codeId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<ResourceCode> |
findByName(java.lang.String name)
|
java.util.List<ResourceCode> |
findByName(java.lang.String name,
int start,
int end)
|
java.util.List<ResourceCode> |
findByName(java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ResourceCode |
findByPrimaryKey(long codeId)
|
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)
|
ResourceCode |
remove(long codeId)
|
ResourceCode |
remove(ResourceCode resourceCode)
|
void |
removeAll()
|
void |
removeByC_N_S(long companyId,
java.lang.String name,
int scope)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByName(java.lang.String name)
|
ResourceCode |
update(ResourceCode resourceCode)
Deprecated. Use update(ResourceCode, boolean merge) . |
ResourceCode |
update(ResourceCode resourceCode,
boolean merge)
Add, update, or merge, the entity. |
ResourceCode |
updateImpl(ResourceCode resourceCode,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(ResourceCode resourceCode)
void cacheResult(java.util.List<ResourceCode> resourceCodes)
void clearCache()
clearCache
in interface BasePersistence
ResourceCode create(long codeId)
ResourceCode remove(long codeId) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode remove(ResourceCode resourceCode) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ResourceCode update(ResourceCode resourceCode) throws com.liferay.portal.SystemException
update(ResourceCode, boolean merge)
.
com.liferay.portal.SystemException
ResourceCode update(ResourceCode resourceCode, boolean merge) throws com.liferay.portal.SystemException
resourceCode
- 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 resourceCode is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
ResourceCode updateImpl(ResourceCode resourceCode, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ResourceCode findByPrimaryKey(long codeId) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode fetchByPrimaryKey(long codeId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByCompanyId(long companyId, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ResourceCode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode[] findByCompanyId_PrevAndNext(long codeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByName(java.lang.String name, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findByName(java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ResourceCode findByName_First(java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode findByName_Last(java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode[] findByName_PrevAndNext(long codeId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode findByC_N_S(long companyId, java.lang.String name, int scope) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
ResourceCode fetchByC_N_S(long companyId, java.lang.String name, int scope) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ResourceCode fetchByC_N_S(long companyId, java.lang.String name, int scope, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
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
java.util.List<ResourceCode> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ResourceCode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_N_S(long companyId, java.lang.String name, int scope) throws NoSuchResourceCodeException, com.liferay.portal.SystemException
NoSuchResourceCodeException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByName(java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_N_S(long companyId, java.lang.String name, int scope) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |