|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourcePersistence
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<Resource> |
findAll()
|
java.util.List<Resource> |
findAll(int begin,
int end)
|
java.util.List<Resource> |
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<Resource> |
findByCodeId(long codeId)
|
java.util.List<Resource> |
findByCodeId(long codeId,
int begin,
int end)
|
java.util.List<Resource> |
findByCodeId(long codeId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Resource |
findByPrimaryKey(long resourceId)
|
java.util.List<Resource> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<Resource> |
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)
Deprecated. Use update(Resource resource, boolean merge) . |
Resource |
update(Resource resource,
boolean merge)
Add, update, or merge, the entity. |
Resource |
updateImpl(Resource resource,
boolean merge)
|
Method Detail |
---|
Resource create(long resourceId)
Resource remove(long resourceId) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource remove(Resource resource) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Resource update(Resource resource) throws com.liferay.portal.SystemException
update(Resource resource, boolean merge)
.
com.liferay.portal.SystemException
Resource update(Resource resource, boolean merge) throws com.liferay.portal.SystemException
resource
- 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 resource is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
Resource updateImpl(Resource resource, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Resource findByPrimaryKey(long resourceId) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource fetchByPrimaryKey(long resourceId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findByCodeId(long codeId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findByCodeId(long codeId, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findByCodeId(long codeId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Resource findByCodeId_First(long codeId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource findByCodeId_Last(long codeId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource[] findByCodeId_PrevAndNext(long resourceId, long codeId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource findByC_P(long codeId, java.lang.String primKey) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
Resource fetchByC_P(long codeId, java.lang.String primKey) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findAll(int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Resource> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCodeId(long codeId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_P(long codeId, java.lang.String primKey) throws com.liferay.portal.SystemException, NoSuchResourceException
com.liferay.portal.SystemException
NoSuchResourceException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByCodeId(long codeId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_P(long codeId, java.lang.String primKey) 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 |