com.liferay.portal.service.persistence
Interface ResourcePersistence
- public interface ResourcePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByC_P(long codeId,
java.lang.String primKey)
|
int |
countByCodeId(long codeId)
|
Resource |
create(long resourceId)
|
Resource |
fetchByC_P(long codeId,
java.lang.String primKey)
|
Resource |
fetchByPrimaryKey(long resourceId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Resource |
findByC_P(long codeId,
java.lang.String primKey)
|
Resource |
findByCodeId_First(long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Resource |
findByCodeId_Last(long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Resource[] |
findByCodeId_PrevAndNext(long resourceId,
long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCodeId(long codeId)
|
java.util.List |
findByCodeId(long codeId,
int begin,
int end)
|
java.util.List |
findByCodeId(long codeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Resource |
findByPrimaryKey(long resourceId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
Resource |
remove(long resourceId)
|
Resource |
remove(Resource resource)
|
void |
removeAll()
|
void |
removeByC_P(long codeId,
java.lang.String primKey)
|
void |
removeByCodeId(long codeId)
|
Resource |
update(Resource resource)
|
Resource |
update(Resource resource,
boolean merge)
|
Resource |
updateImpl(Resource resource,
boolean merge)
|
create
public Resource create(long resourceId)
remove
public Resource remove(long resourceId)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
remove
public Resource remove(Resource resource)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Resource update(Resource resource)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public Resource update(Resource resource,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public Resource updateImpl(Resource resource,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public Resource findByPrimaryKey(long resourceId)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
fetchByPrimaryKey
public Resource fetchByPrimaryKey(long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCodeId
public java.util.List findByCodeId(long codeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCodeId
public java.util.List findByCodeId(long codeId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCodeId
public java.util.List findByCodeId(long codeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCodeId_First
public Resource findByCodeId_First(long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
findByCodeId_Last
public Resource findByCodeId_Last(long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
findByCodeId_PrevAndNext
public Resource[] findByCodeId_PrevAndNext(long resourceId,
long codeId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
findByC_P
public Resource findByC_P(long codeId,
java.lang.String primKey)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
fetchByC_P
public Resource fetchByC_P(long codeId,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCodeId
public void removeByCodeId(long codeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_P
public void removeByC_P(long codeId,
java.lang.String primKey)
throws com.liferay.portal.SystemException,
NoSuchResourceException
- Throws:
com.liferay.portal.SystemException
NoSuchResourceException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCodeId
public int countByCodeId(long codeId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_P
public int countByC_P(long codeId,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException