|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.persistence.DLFolderUtil
@ProviderType public class DLFolderUtil
The persistence utility for the document library folder service. This utility wraps DLFolderPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFolderPersistence
,
DLFolderPersistenceImpl
Constructor Summary | |
---|---|
DLFolderUtil()
|
Method Summary | |
---|---|
static void |
addDLFileEntryType(long pk,
DLFileEntryType dlFileEntryType)
Adds an association between the document library folder and the document library file entry type. |
static void |
addDLFileEntryType(long pk,
long dlFileEntryTypePK)
Adds an association between the document library folder and the document library file entry type. |
static void |
addDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Adds an association between the document library folder and the document library file entry types. |
static void |
addDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Adds an association between the document library folder and the document library file entry types. |
static void |
cacheResult(DLFolder dlFolder)
Caches the document library folder in the entity cache if it is enabled. |
static void |
cacheResult(List<DLFolder> dlFolders)
Caches the document library folders in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(DLFolder dlFolder)
|
static void |
clearDLFileEntryTypes(long pk)
Clears all associations between the document library folder and its document library file entry types. |
static boolean |
containsDLFileEntryType(long pk,
long dlFileEntryTypePK)
Returns true if the document library file entry type is associated with the document library folder. |
static boolean |
containsDLFileEntryTypes(long pk)
Returns true if the document library folder has any document library file entry types associated with it. |
static int |
countAll()
Returns the number of document library folders. |
static int |
countByC_NotS(long companyId,
int status)
Returns the number of document library folders where companyId = ? and status ≠ ?. |
static int |
countByCompanyId(long companyId)
Returns the number of document library folders where companyId = ?. |
static int |
countByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Returns the number of document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static int |
countByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status)
Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static int |
countByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden)
Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static int |
countByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status)
Returns the number of document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static int |
countByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the number of document library folders where groupId = ? and parentFolderId = ? and name = ?. |
static int |
countByG_P(long groupId,
long parentFolderId)
Returns the number of document library folders where groupId = ? and parentFolderId = ?. |
static int |
countByGroupId(long groupId)
Returns the number of document library folders where groupId = ?. |
static int |
countByP_N(long parentFolderId,
String name)
Returns the number of document library folders where parentFolderId = ? and name = ?. |
static int |
countByRepositoryId(long repositoryId)
Returns the number of document library folders where repositoryId = ?. |
static int |
countByRepositoryIdList(long repositoryId)
Returns the number of document library folders where repositoryId = ?. |
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library folders where uuid = ? and companyId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library folders where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Returns the number of document library folders where uuid = ?. |
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFolder |
create(long folderId)
Creates a new document library folder with the primary key. |
static DLFolder |
fetchByC_NotS_First(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where companyId = ? and status ≠ ?. |
static DLFolder |
fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where companyId = ? and status ≠ ?. |
static DLFolder |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where companyId = ?. |
static DLFolder |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where companyId = ?. |
static DLFolder |
fetchByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static DLFolder |
fetchByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static DLFolder |
fetchByG_M_P_H_First(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder |
fetchByG_M_P_H_Last(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder |
fetchByG_M_P_H_S_First(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
fetchByG_M_P_H_S_Last(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
fetchByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. |
static DLFolder |
fetchByG_P_H_S_First(long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
fetchByG_P_H_S_Last(long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
fetchByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. |
static DLFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found. |
static DLFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
String name,
boolean retrieveFromCache)
Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
static DLFolder |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ?. |
static DLFolder |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ?. |
static DLFolder |
fetchByP_N_First(long parentFolderId,
String name,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. |
static DLFolder |
fetchByP_N_Last(long parentFolderId,
String name,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. |
static DLFolder |
fetchByPrimaryKey(long folderId)
Returns the document library folder with the primary key or returns null if it could not be found. |
static DLFolder |
fetchByRepositoryId(long repositoryId)
Returns the document library folder where repositoryId = ? or returns null if it could not be found. |
static DLFolder |
fetchByRepositoryId(long repositoryId,
boolean retrieveFromCache)
Returns the document library folder where repositoryId = ? or returns null if it could not be found, optionally using the finder cache. |
static DLFolder |
fetchByRepositoryIdList_First(long repositoryId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where repositoryId = ?. |
static DLFolder |
fetchByRepositoryIdList_Last(long repositoryId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where repositoryId = ?. |
static DLFolder |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. |
static DLFolder |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. |
static DLFolder |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where uuid = ?. |
static DLFolder |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library folder where uuid = ? and groupId = ? or returns null if it could not be found. |
static DLFolder |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library folder where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static DLFolder |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where uuid = ?. |
static int |
filterCountByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status)
Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static int |
filterCountByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden)
Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static int |
filterCountByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status)
Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static int |
filterCountByG_P(long groupId,
long parentFolderId)
Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
static int |
filterCountByGroupId(long groupId)
Returns the number of document library folders that the user has permission to view where groupId = ?. |
static DLFolder[] |
filterFindByG_M_P_H_PrevAndNext(long folderId,
long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder[] |
filterFindByG_M_P_H_S_PrevAndNext(long folderId,
long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status)
Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
int start,
int end)
Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden)
Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static List<DLFolder> |
filterFindByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int start,
int end)
Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static List<DLFolder> |
filterFindByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder[] |
filterFindByG_P_H_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status)
Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status,
int start,
int end)
Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
filterFindByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder[] |
filterFindByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
filterFindByG_P(long groupId,
long parentFolderId)
Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end)
Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ?. |
static DLFolder[] |
filterFindByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ?. |
static List<DLFolder> |
filterFindByGroupId(long groupId)
Returns all the document library folders that the user has permission to view where groupId = ?. |
static List<DLFolder> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library folders that the user has permission to view where groupId = ?. |
static List<DLFolder> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ?. |
static List<DLFolder> |
findAll()
Returns all the document library folders. |
static List<DLFolder> |
findAll(int start,
int end)
Returns a range of all the document library folders. |
static List<DLFolder> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders. |
static DLFolder |
findByC_NotS_First(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where companyId = ? and status ≠ ?. |
static DLFolder |
findByC_NotS_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where companyId = ? and status ≠ ?. |
static DLFolder[] |
findByC_NotS_PrevAndNext(long folderId,
long companyId,
int status,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where companyId = ? and status ≠ ?. |
static List<DLFolder> |
findByC_NotS(long companyId,
int status)
Returns all the document library folders where companyId = ? and status ≠ ?. |
static List<DLFolder> |
findByC_NotS(long companyId,
int status,
int start,
int end)
Returns a range of all the document library folders where companyId = ? and status ≠ ?. |
static List<DLFolder> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where companyId = ? and status ≠ ?. |
static DLFolder |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where companyId = ?. |
static DLFolder |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where companyId = ?. |
static DLFolder[] |
findByCompanyId_PrevAndNext(long folderId,
long companyId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where companyId = ?. |
static List<DLFolder> |
findByCompanyId(long companyId)
Returns all the document library folders where companyId = ?. |
static List<DLFolder> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library folders where companyId = ?. |
static List<DLFolder> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where companyId = ?. |
static DLFolder |
findByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static DLFolder |
findByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static List<DLFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Returns all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static List<DLFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static List<DLFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
static DLFolder |
findByG_M_P_H_First(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder |
findByG_M_P_H_Last(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder[] |
findByG_M_P_H_PrevAndNext(long folderId,
long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder |
findByG_M_P_H_S_First(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
findByG_M_P_H_S_Last(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder[] |
findByG_M_P_H_S_PrevAndNext(long folderId,
long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status)
Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
int start,
int end)
Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden)
Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static List<DLFolder> |
findByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int start,
int end)
Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static List<DLFolder> |
findByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. |
static DLFolder |
findByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. |
static DLFolder |
findByG_P_H_S_First(long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
findByG_P_H_S_Last(long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder[] |
findByG_P_H_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
boolean hidden,
int status,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status)
Returns all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status,
int start,
int end)
Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static List<DLFolder> |
findByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ?. |
static DLFolder |
findByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. |
static DLFolder |
findByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or throws a NoSuchFolderException if it could not be found. |
static DLFolder[] |
findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
findByG_P(long groupId,
long parentFolderId)
Returns all the document library folders where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end)
Returns a range of all the document library folders where groupId = ? and parentFolderId = ?. |
static List<DLFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ?. |
static DLFolder |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ?. |
static DLFolder |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ?. |
static DLFolder[] |
findByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ?. |
static List<DLFolder> |
findByGroupId(long groupId)
Returns all the document library folders where groupId = ?. |
static List<DLFolder> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library folders where groupId = ?. |
static List<DLFolder> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ?. |
static DLFolder |
findByP_N_First(long parentFolderId,
String name,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. |
static DLFolder |
findByP_N_Last(long parentFolderId,
String name,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. |
static DLFolder[] |
findByP_N_PrevAndNext(long folderId,
long parentFolderId,
String name,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where parentFolderId = ? and name = ?. |
static List<DLFolder> |
findByP_N(long parentFolderId,
String name)
Returns all the document library folders where parentFolderId = ? and name = ?. |
static List<DLFolder> |
findByP_N(long parentFolderId,
String name,
int start,
int end)
Returns a range of all the document library folders where parentFolderId = ? and name = ?. |
static List<DLFolder> |
findByP_N(long parentFolderId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where parentFolderId = ? and name = ?. |
static DLFolder |
findByPrimaryKey(long folderId)
Returns the document library folder with the primary key or throws a NoSuchFolderException if it could not be found. |
static DLFolder |
findByRepositoryId(long repositoryId)
Returns the document library folder where repositoryId = ? or throws a NoSuchFolderException if it could not be found. |
static DLFolder |
findByRepositoryIdList_First(long repositoryId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where repositoryId = ?. |
static DLFolder |
findByRepositoryIdList_Last(long repositoryId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where repositoryId = ?. |
static DLFolder[] |
findByRepositoryIdList_PrevAndNext(long folderId,
long repositoryId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where repositoryId = ?. |
static List<DLFolder> |
findByRepositoryIdList(long repositoryId)
Returns all the document library folders where repositoryId = ?. |
static List<DLFolder> |
findByRepositoryIdList(long repositoryId,
int start,
int end)
Returns a range of all the document library folders where repositoryId = ?. |
static List<DLFolder> |
findByRepositoryIdList(long repositoryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where repositoryId = ?. |
static DLFolder |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. |
static DLFolder |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. |
static DLFolder[] |
findByUuid_C_PrevAndNext(long folderId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where uuid = ? and companyId = ?. |
static List<DLFolder> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library folders where uuid = ? and companyId = ?. |
static List<DLFolder> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library folders where uuid = ? and companyId = ?. |
static List<DLFolder> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where uuid = ? and companyId = ?. |
static DLFolder |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where uuid = ?. |
static DLFolder |
findByUUID_G(String uuid,
long groupId)
Returns the document library folder where uuid = ? and groupId = ? or throws a NoSuchFolderException if it could not be found. |
static DLFolder |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where uuid = ?. |
static DLFolder[] |
findByUuid_PrevAndNext(long folderId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where uuid = ?. |
static List<DLFolder> |
findByUuid(String uuid)
Returns all the document library folders where uuid = ?. |
static List<DLFolder> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library folders where uuid = ?. |
static List<DLFolder> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where uuid = ?. |
static List<DLFolder> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<DLFolder> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<DLFolder> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static List<DLFileEntryType> |
getDLFileEntryTypes(long pk)
Returns all the document library file entry types associated with the document library folder. |
static List<DLFileEntryType> |
getDLFileEntryTypes(long pk,
int start,
int end)
Returns a range of all the document library file entry types associated with the document library folder. |
static List<DLFileEntryType> |
getDLFileEntryTypes(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry types associated with the document library folder. |
static int |
getDLFileEntryTypesSize(long pk)
Returns the number of document library file entry types associated with the document library folder. |
static DLFolderPersistence |
getPersistence()
|
static DLFolder |
remove(long folderId)
Removes the document library folder with the primary key from the database. |
static void |
removeAll()
Removes all the document library folders from the database. |
static void |
removeByC_NotS(long companyId,
int status)
Removes all the document library folders where companyId = ? and status ≠ ? from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the document library folders where companyId = ? from the database. |
static void |
removeByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Removes all the document library folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? from the database. |
static void |
removeByG_M_P_H_S(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden,
int status)
Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? and status = ? from the database. |
static void |
removeByG_M_P_H(long groupId,
boolean mountPoint,
long parentFolderId,
boolean hidden)
Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? from the database. |
static void |
removeByG_P_H_S(long groupId,
long parentFolderId,
boolean hidden,
int status)
Removes all the document library folders where groupId = ? and parentFolderId = ? and hidden = ? and status = ? from the database. |
static DLFolder |
removeByG_P_N(long groupId,
long parentFolderId,
String name)
Removes the document library folder where groupId = ? and parentFolderId = ? and name = ? from the database. |
static void |
removeByG_P(long groupId,
long parentFolderId)
Removes all the document library folders where groupId = ? and parentFolderId = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the document library folders where groupId = ? from the database. |
static void |
removeByP_N(long parentFolderId,
String name)
Removes all the document library folders where parentFolderId = ? and name = ? from the database. |
static DLFolder |
removeByRepositoryId(long repositoryId)
Removes the document library folder where repositoryId = ? from the database. |
static void |
removeByRepositoryIdList(long repositoryId)
Removes all the document library folders where repositoryId = ? from the database. |
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library folders where uuid = ? and companyId = ? from the database. |
static DLFolder |
removeByUUID_G(String uuid,
long groupId)
Removes the document library folder where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the document library folders where uuid = ? from the database. |
static void |
removeDLFileEntryType(long pk,
DLFileEntryType dlFileEntryType)
Removes the association between the document library folder and the document library file entry type. |
static void |
removeDLFileEntryType(long pk,
long dlFileEntryTypePK)
Removes the association between the document library folder and the document library file entry type. |
static void |
removeDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Removes the association between the document library folder and the document library file entry types. |
static void |
removeDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Removes the association between the document library folder and the document library file entry types. |
static void |
setDLFileEntryTypes(long pk,
List<DLFileEntryType> dlFileEntryTypes)
Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. |
static void |
setDLFileEntryTypes(long pk,
long[] dlFileEntryTypePKs)
Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. |
void |
setPersistence(DLFolderPersistence persistence)
Deprecated. As of 6.2.0 |
static DLFolder |
update(DLFolder dlFolder)
|
static DLFolder |
update(DLFolder dlFolder,
ServiceContext serviceContext)
|
static DLFolder |
updateImpl(DLFolder dlFolder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFolderUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DLFolder dlFolder)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLFolder update(DLFolder dlFolder) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel)
public static DLFolder update(DLFolder dlFolder, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<DLFolder> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<DLFolder> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByUuid_PrevAndNext(long folderId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library folderuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static DLFolder findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFolderException
NoSuchFolderException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFolderException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFolderException
public static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library folderuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder[] filterFindByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldercompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static DLFolder findByRepositoryId(long repositoryId) throws SystemException, NoSuchFolderException
NoSuchFolderException
if it could not be found.
repositoryId
- the repository ID
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByRepositoryId(long repositoryId) throws SystemException
null
if it could not be found. Uses the finder cache.
repositoryId
- the repository ID
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByRepositoryId(long repositoryId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
repositoryId
- the repository IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder removeByRepositoryId(long repositoryId) throws SystemException, NoSuchFolderException
repositoryId
- the repository ID
SystemException
- if a system exception occurred
NoSuchFolderException
public static int countByRepositoryId(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByRepositoryIdList(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByRepositoryIdList(long repositoryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
repositoryId
- the repository IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByRepositoryIdList(long repositoryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
repositoryId
- the repository IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByRepositoryIdList_First(long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByRepositoryIdList_First(long repositoryId, OrderByComparator orderByComparator) throws SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByRepositoryIdList_Last(long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByRepositoryIdList_Last(long repositoryId, OrderByComparator orderByComparator) throws SystemException
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByRepositoryIdList_PrevAndNext(long folderId, long repositoryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library folderrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByRepositoryIdList(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static int countByRepositoryIdList(long repositoryId) throws SystemException
repositoryId
- the repository ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P(long groupId, long parentFolderId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P(long groupId, long parentFolderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder[] filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic static int countByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic static int filterCountByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic static List<DLFolder> findByC_NotS(long companyId, int status) throws SystemException
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByC_NotS(long companyId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByC_NotS_PrevAndNext(long folderId, long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldercompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByC_NotS(long companyId, int status) throws SystemException
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic static int countByC_NotS(long companyId, int status) throws SystemException
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByP_N(long parentFolderId, String name) throws SystemException
parentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic static List<DLFolder> findByP_N(long parentFolderId, String name, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentFolderId
- the parent folder IDname
- the namestart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByP_N(long parentFolderId, String name, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
parentFolderId
- the parent folder IDname
- the namestart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByP_N_First(long parentFolderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
parentFolderId
- the parent folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByP_N_First(long parentFolderId, String name, OrderByComparator orderByComparator) throws SystemException
parentFolderId
- the parent folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByP_N_Last(long parentFolderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
parentFolderId
- the parent folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByP_N_Last(long parentFolderId, String name, OrderByComparator orderByComparator) throws SystemException
parentFolderId
- the parent folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByP_N_PrevAndNext(long folderId, long parentFolderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library folderparentFolderId
- the parent folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByP_N(long parentFolderId, String name) throws SystemException
parentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic static int countByP_N(long parentFolderId, String name) throws SystemException
parentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic static List<DLFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static void removeByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic static int countByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic static DLFolder findByG_P_N(long groupId, long parentFolderId, String name) throws SystemException, NoSuchFolderException
NoSuchFolderException
if it could not be found.
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_N(long groupId, long parentFolderId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_N(long groupId, long parentFolderId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDparentFolderId
- the parent folder IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder removeByG_P_N(long groupId, long parentFolderId, String name) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurred
NoSuchFolderException
public static int countByG_P_N(long groupId, long parentFolderId, String name) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hidden
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByG_M_P_H_First(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_M_P_H_First(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByG_M_P_H_Last(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_M_P_H_Last(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByG_M_P_H_PrevAndNext(long folderId, long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hidden
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder[] filterFindByG_M_P_H_PrevAndNext(long folderId, long groupId, boolean mountPoint, long parentFolderId, boolean hidden, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hidden
SystemException
- if a system exception occurredpublic static int countByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hidden
SystemException
- if a system exception occurredpublic static int filterCountByG_M_P_H(long groupId, boolean mountPoint, long parentFolderId, boolean hidden) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hidden
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByG_P_H_S_First(long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_H_S_First(long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByG_P_H_S_Last(long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_P_H_S_Last(long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByG_P_H_S_PrevAndNext(long folderId, long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder[] filterFindByG_P_H_S_PrevAndNext(long folderId, long groupId, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static int countByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static int filterCountByG_P_H_S(long groupId, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder findByG_M_P_H_S_First(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_M_P_H_S_First(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder findByG_M_P_H_S_Last(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByG_M_P_H_S_Last(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library folder could not be found
SystemException
- if a system exception occurredpublic static DLFolder[] findByG_M_P_H_S_PrevAndNext(long folderId, long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFolder[] filterFindByG_M_P_H_S_PrevAndNext(long folderId, long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static int countByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static int filterCountByG_M_P_H_S(long groupId, boolean mountPoint, long parentFolderId, boolean hidden, int status) throws SystemException
groupId
- the group IDmountPoint
- the mount pointparentFolderId
- the parent folder IDhidden
- the hiddenstatus
- the status
SystemException
- if a system exception occurredpublic static void cacheResult(DLFolder dlFolder)
dlFolder
- the document library folderpublic static void cacheResult(List<DLFolder> dlFolders)
dlFolders
- the document library folderspublic static DLFolder create(long folderId)
folderId
- the primary key for the new document library folder
public static DLFolder remove(long folderId) throws SystemException, NoSuchFolderException
folderId
- the primary key of the document library folder
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFolder updateImpl(DLFolder dlFolder) throws SystemException
SystemException
public static DLFolder findByPrimaryKey(long folderId) throws SystemException, NoSuchFolderException
NoSuchFolderException
if it could not be found.
folderId
- the primary key of the document library folder
NoSuchFolderException
- if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFolder fetchByPrimaryKey(long folderId) throws SystemException
null
if it could not be found.
folderId
- the primary key of the document library folder
null
if a document library folder with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFolder> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DLFolder> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFolder> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk) throws SystemException
pk
- the primary key of the document library folder
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the document library folderstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from DLFolderModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the document library folderstart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static int getDLFileEntryTypesSize(long pk) throws SystemException
pk
- the primary key of the document library folder
SystemException
- if a system exception occurredpublic static boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
true
if the document library file entry type is associated with the document library folder.
pk
- the primary key of the document library folderdlFileEntryTypePK
- the primary key of the document library file entry type
true
if the document library file entry type is associated with the document library folder; false
otherwise
SystemException
- if a system exception occurredpublic static boolean containsDLFileEntryTypes(long pk) throws SystemException
true
if the document library folder has any document library file entry types associated with it.
pk
- the primary key of the document library folder to check for associations with document library file entry types
true
if the document library folder has any document library file entry types associated with it; false
otherwise
SystemException
- if a system exception occurredpublic static void addDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic static void addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the document library folderdlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic static void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic static void addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic static void clearDLFileEntryTypes(long pk) throws SystemException
pk
- the primary key of the document library folder to clear the associated document library file entry types from
SystemException
- if a system exception occurredpublic static void removeDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic static void removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the document library folderdlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic static void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic static void removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic static void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypePKs
- the primary keys of the document library file entry types to be associated with the document library folder
SystemException
- if a system exception occurredpublic static void setDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the document library folderdlFileEntryTypes
- the document library file entry types to be associated with the document library folder
SystemException
- if a system exception occurredpublic static DLFolderPersistence getPersistence()
public void setPersistence(DLFolderPersistence persistence)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |