|
Liferay 6.1.2-ce-ga3 | |||||||||
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
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 |
countByCompanyId(long companyId)
Returns the number of document library folders where companyId = ?. |
static int |
countByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint)
Returns the number of document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. |
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 |
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 = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFolder |
create(long folderId)
Creates a new document library folder with the primary key. |
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 |
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_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_M_First(long groupId,
long parentFolderId,
boolean mountPoint,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static DLFolder |
fetchByG_P_M_Last(long groupId,
long parentFolderId,
boolean mountPoint,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. |
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 |
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_P_M(long groupId,
long parentFolderId,
boolean mountPoint)
Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and mountPoint = ?. |
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_P_M_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
boolean mountPoint,
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 mountPoint = ?. |
static List<DLFolder> |
filterFindByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint)
Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static List<DLFolder> |
filterFindByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint,
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 mountPoint = ?. |
static List<DLFolder> |
filterFindByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint,
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 mountPoint = ?. |
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 |
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 |
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_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_M_First(long groupId,
long parentFolderId,
boolean mountPoint,
OrderByComparator orderByComparator)
Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static DLFolder |
findByG_P_M_Last(long groupId,
long parentFolderId,
boolean mountPoint,
OrderByComparator orderByComparator)
Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static DLFolder[] |
findByG_P_M_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
boolean mountPoint,
OrderByComparator orderByComparator)
Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static List<DLFolder> |
findByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint)
Returns all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static List<DLFolder> |
findByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint,
int start,
int end)
Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. |
static List<DLFolder> |
findByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ?. |
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 |
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 |
removeByCompanyId(long companyId)
Removes all the document library folders where companyId = ? from the database. |
static void |
removeByG_P_M(long groupId,
long parentFolderId,
boolean mountPoint)
Removes all the document library folders where groupId = ? and parentFolderId = ? and mountPoint = ? 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 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. |
static DLFolder |
update(DLFolder dlFolder,
boolean merge)
|
static DLFolder |
update(DLFolder dlFolder,
boolean merge,
ServiceContext serviceContext)
|
static DLFolder |
updateImpl(DLFolder dlFolder,
boolean merge)
|
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 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, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static DLFolder update(DLFolder dlFolder, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public 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, boolean merge) 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> 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.
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.
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 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 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.
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.
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.
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.
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 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.
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.
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 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 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.
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.
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.
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.
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 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.
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.
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 List<DLFolder> findByG_P_M(long groupId, long parentFolderId, boolean mountPoint) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount point
SystemException
- if a system exception occurredpublic static List<DLFolder> findByG_P_M(long groupId, long parentFolderId, boolean mountPoint, 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.
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointstart
- 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_M(long groupId, long parentFolderId, boolean mountPoint, 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.
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointstart
- 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_M_First(long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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_M_First(long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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_M_Last(long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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_M_Last(long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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_M_PrevAndNext(long folderId, long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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_M(long groupId, long parentFolderId, boolean mountPoint) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount point
SystemException
- if a system exception occurredpublic static List<DLFolder> filterFindByG_P_M(long groupId, long parentFolderId, boolean mountPoint, 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.
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointstart
- 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_M(long groupId, long parentFolderId, boolean mountPoint, 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.
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointstart
- 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_M_PrevAndNext(long folderId, long groupId, long parentFolderId, boolean mountPoint, OrderByComparator orderByComparator) throws SystemException, NoSuchFolderException
folderId
- the primary key of the current document library foldergroupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount pointorderByComparator
- 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 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 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.
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.
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 removeByUuid(String uuid) throws SystemException
uuid
- the uuid
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 void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
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 void removeByG_P(long groupId, long parentFolderId) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder ID
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 void removeByG_P_M(long groupId, long parentFolderId, boolean mountPoint) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount point
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 void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- 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 int countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByRepositoryId(long repositoryId) throws SystemException
repositoryId
- the repository 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 int countByP_N(long parentFolderId, String name) throws SystemException
parentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic static int countByG_P_M(long groupId, long parentFolderId, boolean mountPoint) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount point
SystemException
- if a system exception occurredpublic static int filterCountByG_P_M(long groupId, long parentFolderId, boolean mountPoint) throws SystemException
groupId
- the group IDparentFolderId
- the parent folder IDmountPoint
- the mount point
SystemException
- if a system exception occurredpublic 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 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.
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.
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |