com.liferay.portlet.documentlibrary.service.persistence
Interface DLFolderPersistence
- All Superinterfaces:
- BasePersistence
public interface DLFolderPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(DLFolder dlFolder)
|
void |
cacheResult(java.util.List<DLFolder> dlFolders)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
|
int |
countByG_P(long groupId,
long parentFolderId)
|
int |
countByGroupId(long groupId)
|
int |
countByP_N(long parentFolderId,
java.lang.String name)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
DLFolder |
create(long folderId)
|
DLFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
|
DLFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
java.lang.String name,
boolean retrieveFromCache)
|
DLFolder |
fetchByPrimaryKey(long folderId)
|
DLFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
DLFolder |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
java.util.List<DLFolder> |
findAll()
|
java.util.List<DLFolder> |
findAll(int start,
int end)
|
java.util.List<DLFolder> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder[] |
findByCompanyId_PrevAndNext(long folderId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFolder> |
findByCompanyId(long companyId)
|
java.util.List<DLFolder> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<DLFolder> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByG_P_First(long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByG_P_Last(long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
|
DLFolder[] |
findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFolder> |
findByG_P(long groupId,
long parentFolderId)
|
java.util.List<DLFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end)
|
java.util.List<DLFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder[] |
findByGroupId_PrevAndNext(long folderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFolder> |
findByGroupId(long groupId)
|
java.util.List<DLFolder> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<DLFolder> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByP_N_First(long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByP_N_Last(long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder[] |
findByP_N_PrevAndNext(long folderId,
long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFolder> |
findByP_N(long parentFolderId,
java.lang.String name)
|
java.util.List<DLFolder> |
findByP_N(long parentFolderId,
java.lang.String name,
int start,
int end)
|
java.util.List<DLFolder> |
findByP_N(long parentFolderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByPrimaryKey(long folderId)
|
DLFolder |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder |
findByUUID_G(java.lang.String uuid,
long groupId)
|
DLFolder |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
DLFolder[] |
findByUuid_PrevAndNext(long folderId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<DLFolder> |
findByUuid(java.lang.String uuid)
|
java.util.List<DLFolder> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<DLFolder> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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)
|
DLFolder |
remove(DLFolder dlFolder)
|
DLFolder |
remove(long folderId)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
|
void |
removeByG_P(long groupId,
long parentFolderId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByP_N(long parentFolderId,
java.lang.String name)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
DLFolder |
update(DLFolder dlFolder)
Deprecated. Use update(DLFolder dlFolder, boolean merge) . |
DLFolder |
update(DLFolder dlFolder,
boolean merge)
Add, update, or merge, the entity. |
DLFolder |
updateImpl(DLFolder dlFolder,
boolean merge)
|
cacheResult
void cacheResult(DLFolder dlFolder)
cacheResult
void cacheResult(java.util.List<DLFolder> dlFolders)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
DLFolder create(long folderId)
remove
DLFolder remove(long folderId)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
remove
DLFolder remove(DLFolder dlFolder)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
DLFolder update(DLFolder dlFolder)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(DLFolder dlFolder, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
DLFolder update(DLFolder dlFolder,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
dlFolder
- 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 dlFolder is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
DLFolder updateImpl(DLFolder dlFolder,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
DLFolder findByPrimaryKey(long folderId)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
fetchByPrimaryKey
DLFolder fetchByPrimaryKey(long folderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<DLFolder> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<DLFolder> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<DLFolder> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
DLFolder findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByUuid_Last
DLFolder findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByUuid_PrevAndNext
DLFolder[] findByUuid_PrevAndNext(long folderId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByUUID_G
DLFolder findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
fetchByUUID_G
DLFolder fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUUID_G
DLFolder fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<DLFolder> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<DLFolder> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<DLFolder> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
DLFolder findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByGroupId_Last
DLFolder findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByGroupId_PrevAndNext
DLFolder[] findByGroupId_PrevAndNext(long folderId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByCompanyId
java.util.List<DLFolder> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<DLFolder> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
java.util.List<DLFolder> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
DLFolder findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByCompanyId_Last
DLFolder findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByCompanyId_PrevAndNext
DLFolder[] findByCompanyId_PrevAndNext(long folderId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByG_P
java.util.List<DLFolder> findByG_P(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
java.util.List<DLFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P
java.util.List<DLFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_First
DLFolder findByG_P_First(long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByG_P_Last
DLFolder findByG_P_Last(long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByG_P_PrevAndNext
DLFolder[] findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByP_N
java.util.List<DLFolder> findByP_N(long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
java.util.List<DLFolder> findByP_N(long parentFolderId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N
java.util.List<DLFolder> findByP_N(long parentFolderId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_N_First
DLFolder findByP_N_First(long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByP_N_Last
DLFolder findByP_N_Last(long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByP_N_PrevAndNext
DLFolder[] findByP_N_PrevAndNext(long folderId,
long parentFolderId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
findByG_P_N
DLFolder findByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
fetchByG_P_N
DLFolder fetchByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByG_P_N
DLFolder fetchByG_P_N(long groupId,
long parentFolderId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<DLFolder> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<DLFolder> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<DLFolder> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P
void removeByG_P(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByP_N
void removeByP_N(long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P_N
void removeByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchFolderException
- Throws:
com.liferay.portal.SystemException
NoSuchFolderException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P
int countByG_P(long groupId,
long parentFolderId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_N
int countByP_N(long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P_N
int countByG_P_N(long groupId,
long parentFolderId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException