Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileEntryTypePersistence

All Superinterfaces:
BasePersistence<DLFileEntryType>
All Known Implementing Classes:
DLFileEntryTypePersistenceImpl

@ProviderType
public interface DLFileEntryTypePersistence
extends BasePersistence<DLFileEntryType>

The persistence interface for the document library file entry type service.

Caching information and settings can be found in portal.properties

See Also:
DLFileEntryTypePersistenceImpl, DLFileEntryTypeUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addDDMStructure(long pk, DDMStructure ddmStructure)
          Adds an association between the document library file entry type and the d d m structure.
 void addDDMStructure(long pk, long ddmStructurePK)
          Adds an association between the document library file entry type and the d d m structure.
 void addDDMStructures(long pk, List<DDMStructure> ddmStructures)
          Adds an association between the document library file entry type and the d d m structures.
 void addDDMStructures(long pk, long[] ddmStructurePKs)
          Adds an association between the document library file entry type and the d d m structures.
 void addDLFolder(long pk, DLFolder dlFolder)
          Adds an association between the document library file entry type and the document library folder.
 void addDLFolder(long pk, long dlFolderPK)
          Adds an association between the document library file entry type and the document library folder.
 void addDLFolders(long pk, List<DLFolder> dlFolders)
          Adds an association between the document library file entry type and the document library folders.
 void addDLFolders(long pk, long[] dlFolderPKs)
          Adds an association between the document library file entry type and the document library folders.
 void cacheResult(DLFileEntryType dlFileEntryType)
          Caches the document library file entry type in the entity cache if it is enabled.
 void cacheResult(List<DLFileEntryType> dlFileEntryTypes)
          Caches the document library file entry types in the entity cache if it is enabled.
 void clearDDMStructures(long pk)
          Clears all associations between the document library file entry type and its d d m structures.
 void clearDLFolders(long pk)
          Clears all associations between the document library file entry type and its document library folders.
 boolean containsDDMStructure(long pk, long ddmStructurePK)
          Returns true if the d d m structure is associated with the document library file entry type.
 boolean containsDDMStructures(long pk)
          Returns true if the document library file entry type has any d d m structures associated with it.
 boolean containsDLFolder(long pk, long dlFolderPK)
          Returns true if the document library folder is associated with the document library file entry type.
 boolean containsDLFolders(long pk)
          Returns true if the document library file entry type has any document library folders associated with it.
 int countAll()
          Returns the number of document library file entry types.
 int countByG_F(long groupId, String fileEntryTypeKey)
          Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.
 int countByGroupId(long groupId)
          Returns the number of document library file entry types where groupId = ?.
 int countByGroupId(long[] groupIds)
          Returns the number of document library file entry types where groupId = any ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of document library file entry types where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file entry types where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of document library file entry types where uuid = ?.
 DLFileEntryType create(long fileEntryTypeId)
          Creates a new document library file entry type with the primary key.
 DLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey)
          Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found.
 DLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey, boolean retrieveFromCache)
          Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntryType fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId)
          Returns the document library file entry type with the primary key or returns null if it could not be found.
 DLFileEntryType fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
 DLFileEntryType fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
 DLFileEntryType fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where uuid = ?.
 DLFileEntryType fetchByUUID_G(String uuid, long groupId)
          Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found.
 DLFileEntryType fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntryType fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of document library file entry types that the user has permission to view where groupId = ?.
 int filterCountByGroupId(long[] groupIds)
          Returns the number of document library file entry types that the user has permission to view where groupId = any ?.
 DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?.
 List<DLFileEntryType> filterFindByGroupId(long groupId)
          Returns all the document library file entry types that the user has permission to view where groupId = ?.
 List<DLFileEntryType> filterFindByGroupId(long[] groupIds)
          Returns all the document library file entry types that the user has permission to view where groupId = any ?.
 List<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?.
 List<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any ?.
 List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entry types that the user has permission to view where groupId = ?.
 List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?.
 List<DLFileEntryType> findAll()
          Returns all the document library file entry types.
 List<DLFileEntryType> findAll(int start, int end)
          Returns a range of all the document library file entry types.
 List<DLFileEntryType> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types.
 DLFileEntryType findByG_F(long groupId, String fileEntryTypeKey)
          Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a NoSuchFileEntryTypeException if it could not be found.
 DLFileEntryType findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?.
 List<DLFileEntryType> findByGroupId(long groupId)
          Returns all the document library file entry types where groupId = ?.
 List<DLFileEntryType> findByGroupId(long[] groupIds)
          Returns all the document library file entry types where groupId = any ?.
 List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the document library file entry types where groupId = any ?.
 List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types where groupId = any ?.
 List<DLFileEntryType> findByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entry types where groupId = ?.
 List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types where groupId = ?.
 DLFileEntryType findByPrimaryKey(long fileEntryTypeId)
          Returns the document library file entry type with the primary key or throws a NoSuchFileEntryTypeException if it could not be found.
 DLFileEntryType findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
 DLFileEntryType findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
 DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ? and companyId = ?.
 List<DLFileEntryType> findByUuid_C(String uuid, long companyId)
          Returns all the document library file entry types where uuid = ? and companyId = ?.
 List<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the document library file entry types where uuid = ? and companyId = ?.
 List<DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
 DLFileEntryType findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry type in the ordered set where uuid = ?.
 DLFileEntryType findByUUID_G(String uuid, long groupId)
          Returns the document library file entry type where uuid = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found.
 DLFileEntryType findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ?.
 DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator orderByComparator)
          Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?.
 List<DLFileEntryType> findByUuid(String uuid)
          Returns all the document library file entry types where uuid = ?.
 List<DLFileEntryType> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file entry types where uuid = ?.
 List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types where uuid = ?.
 List<DDMStructure> getDDMStructures(long pk)
          Returns all the d d m structures associated with the document library file entry type.
 List<DDMStructure> getDDMStructures(long pk, int start, int end)
          Returns a range of all the d d m structures associated with the document library file entry type.
 List<DDMStructure> getDDMStructures(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures associated with the document library file entry type.
 int getDDMStructuresSize(long pk)
          Returns the number of d d m structures associated with the document library file entry type.
 List<DLFolder> getDLFolders(long pk)
          Returns all the document library folders associated with the document library file entry type.
 List<DLFolder> getDLFolders(long pk, int start, int end)
          Returns a range of all the document library folders associated with the document library file entry type.
 List<DLFolder> getDLFolders(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library folders associated with the document library file entry type.
 int getDLFoldersSize(long pk)
          Returns the number of document library folders associated with the document library file entry type.
 DLFileEntryType remove(long fileEntryTypeId)
          Removes the document library file entry type with the primary key from the database.
 void removeAll()
          Removes all the document library file entry types from the database.
 DLFileEntryType removeByG_F(long groupId, String fileEntryTypeKey)
          Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the document library file entry types where groupId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the document library file entry types where uuid = ? and companyId = ? from the database.
 DLFileEntryType removeByUUID_G(String uuid, long groupId)
          Removes the document library file entry type where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the document library file entry types where uuid = ? from the database.
 void removeDDMStructure(long pk, DDMStructure ddmStructure)
          Removes the association between the document library file entry type and the d d m structure.
 void removeDDMStructure(long pk, long ddmStructurePK)
          Removes the association between the document library file entry type and the d d m structure.
 void removeDDMStructures(long pk, List<DDMStructure> ddmStructures)
          Removes the association between the document library file entry type and the d d m structures.
 void removeDDMStructures(long pk, long[] ddmStructurePKs)
          Removes the association between the document library file entry type and the d d m structures.
 void removeDLFolder(long pk, DLFolder dlFolder)
          Removes the association between the document library file entry type and the document library folder.
 void removeDLFolder(long pk, long dlFolderPK)
          Removes the association between the document library file entry type and the document library folder.
 void removeDLFolders(long pk, List<DLFolder> dlFolders)
          Removes the association between the document library file entry type and the document library folders.
 void removeDLFolders(long pk, long[] dlFolderPKs)
          Removes the association between the document library file entry type and the document library folders.
 void setDDMStructures(long pk, List<DDMStructure> ddmStructures)
          Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary.
 void setDDMStructures(long pk, long[] ddmStructurePKs)
          Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary.
 void setDLFolders(long pk, List<DLFolder> dlFolders)
          Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary.
 void setDLFolders(long pk, long[] dlFolderPKs)
          Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary.
 DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<DLFileEntryType> findByUuid(String uuid)
                                 throws SystemException
Returns all the document library file entry types where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileEntryType> findByUuid(String uuid,
                                 int start,
                                 int end)
                                 throws SystemException
Returns a range of all the document library file entry types where uuid = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileEntryType> findByUuid(String uuid,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the document library file entry types where uuid = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid_First

DLFileEntryType findByUuid_First(String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchFileEntryTypeException
Returns the first document library file entry type in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByUuid_First

DLFileEntryType fetchByUuid_First(String uuid,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first document library file entry type in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

DLFileEntryType findByUuid_Last(String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchFileEntryTypeException
Returns the last document library file entry type in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

DLFileEntryType fetchByUuid_Last(String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last document library file entry type in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId,
                                         String uuid,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileEntryTypeException
Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?.

Parameters:
fileEntryTypeId - the primary key of the current document library file entry type
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry type
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the document library file entry types where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of document library file entry types where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUUID_G

DLFileEntryType findByUUID_G(String uuid,
                             long groupId)
                             throws SystemException,
                                    NoSuchFileEntryTypeException
Returns the document library file entry type where uuid = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByUUID_G

DLFileEntryType fetchByUUID_G(String uuid,
                              long groupId)
                              throws SystemException
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

DLFileEntryType fetchByUUID_G(String uuid,
                              long groupId,
                              boolean retrieveFromCache)
                              throws SystemException
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

DLFileEntryType removeByUUID_G(String uuid,
                               long groupId)
                               throws SystemException,
                                      NoSuchFileEntryTypeException
Removes the document library file entry type where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the document library file entry type that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryTypeException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Returns the number of document library file entry types where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<DLFileEntryType> findByUuid_C(String uuid,
                                   long companyId)
                                   throws SystemException
Returns all the document library file entry types where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<DLFileEntryType> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end)
                                   throws SystemException
Returns a range of all the document library file entry types where uuid = ? and companyId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid_C

List<DLFileEntryType> findByUuid_C(String uuid,
                                   long companyId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

DLFileEntryType findByUuid_C_First(String uuid,
                                   long companyId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFileEntryTypeException
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

DLFileEntryType fetchByUuid_C_First(String uuid,
                                    long companyId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

DLFileEntryType findByUuid_C_Last(String uuid,
                                  long companyId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchFileEntryTypeException
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

DLFileEntryType fetchByUuid_C_Last(String uuid,
                                   long companyId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId,
                                           String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileEntryTypeException
Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ? and companyId = ?.

Parameters:
fileEntryTypeId - the primary key of the current document library file entry type
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry type
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
                    throws SystemException
Removes all the document library file entry types where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
                  throws SystemException
Returns the number of document library file entry types where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long groupId)
                                    throws SystemException
Returns all the document library file entry types where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long groupId,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the document library file entry types where groupId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entry types where groupId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId_First

DLFileEntryType findByGroupId_First(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchFileEntryTypeException
Returns the first document library file entry type in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

DLFileEntryType fetchByGroupId_First(long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns the first document library file entry type in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

DLFileEntryType findByGroupId_Last(long groupId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchFileEntryTypeException
Returns the last document library file entry type in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

DLFileEntryType fetchByGroupId_Last(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns the last document library file entry type in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId,
                                            long groupId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchFileEntryTypeException
Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?.

Parameters:
fileEntryTypeId - the primary key of the current document library file entry type
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry type
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long groupId)
                                          throws SystemException
Returns all the document library file entry types that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long groupId,
                                          int start,
                                          int end)
                                          throws SystemException
Returns a range of all the document library file entry types that the user has permission to view where groupId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long groupId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchFileEntryTypeException
Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?.

Parameters:
fileEntryTypeId - the primary key of the current document library file entry type
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry type
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long[] groupIds)
                                          throws SystemException
Returns all the document library file entry types that the user has permission to view where groupId = any ?.

Parameters:
groupIds - the group IDs
Returns:
the matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long[] groupIds,
                                          int start,
                                          int end)
                                          throws SystemException
Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupIds - the group IDs
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

List<DLFileEntryType> filterFindByGroupId(long[] groupIds,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupIds - the group IDs
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long[] groupIds)
                                    throws SystemException
Returns all the document library file entry types where groupId = any ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupIds - the group IDs
Returns:
the matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long[] groupIds,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the document library file entry types where groupId = any ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupIds - the group IDs
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

findByGroupId

List<DLFileEntryType> findByGroupId(long[] groupIds,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entry types where groupId = any ?.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
groupIds - the group IDs
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry types
Throws:
SystemException - if a system exception occurred

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Removes all the document library file entry types where groupId = ? from the database.

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Returns the number of document library file entry types where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

countByGroupId

int countByGroupId(long[] groupIds)
                   throws SystemException
Returns the number of document library file entry types where groupId = any ?.

Parameters:
groupIds - the group IDs
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of document library file entry types that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

int filterCountByGroupId(long[] groupIds)
                         throws SystemException
Returns the number of document library file entry types that the user has permission to view where groupId = any ?.

Parameters:
groupIds - the group IDs
Returns:
the number of matching document library file entry types that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F

DLFileEntryType findByG_F(long groupId,
                          String fileEntryTypeKey)
                          throws SystemException,
                                 NoSuchFileEntryTypeException
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a NoSuchFileEntryTypeException if it could not be found.

Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the matching document library file entry type
Throws:
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
SystemException - if a system exception occurred

fetchByG_F

DLFileEntryType fetchByG_F(long groupId,
                           String fileEntryTypeKey)
                           throws SystemException
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_F

DLFileEntryType fetchByG_F(long groupId,
                           String fileEntryTypeKey,
                           boolean retrieveFromCache)
                           throws SystemException
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry type, or null if a matching document library file entry type could not be found
Throws:
SystemException - if a system exception occurred

removeByG_F

DLFileEntryType removeByG_F(long groupId,
                            String fileEntryTypeKey)
                            throws SystemException,
                                   NoSuchFileEntryTypeException
Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.

Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the document library file entry type that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryTypeException

countByG_F

int countByG_F(long groupId,
               String fileEntryTypeKey)
               throws SystemException
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.

Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the number of matching document library file entry types
Throws:
SystemException - if a system exception occurred

cacheResult

void cacheResult(DLFileEntryType dlFileEntryType)
Caches the document library file entry type in the entity cache if it is enabled.

Parameters:
dlFileEntryType - the document library file entry type

cacheResult

void cacheResult(List<DLFileEntryType> dlFileEntryTypes)
Caches the document library file entry types in the entity cache if it is enabled.

Parameters:
dlFileEntryTypes - the document library file entry types

create

DLFileEntryType create(long fileEntryTypeId)
Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.

Parameters:
fileEntryTypeId - the primary key for the new document library file entry type
Returns:
the new document library file entry type

remove

DLFileEntryType remove(long fileEntryTypeId)
                       throws SystemException,
                              NoSuchFileEntryTypeException
Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
fileEntryTypeId - the primary key of the document library file entry type
Returns:
the document library file entry type that was removed
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
                           throws SystemException
Throws:
SystemException

findByPrimaryKey

DLFileEntryType findByPrimaryKey(long fileEntryTypeId)
                                 throws SystemException,
                                        NoSuchFileEntryTypeException
Returns the document library file entry type with the primary key or throws a NoSuchFileEntryTypeException if it could not be found.

Parameters:
fileEntryTypeId - the primary key of the document library file entry type
Returns:
the document library file entry type
Throws:
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId)
                                  throws SystemException
Returns the document library file entry type with the primary key or returns null if it could not be found.

Parameters:
fileEntryTypeId - the primary key of the document library file entry type
Returns:
the document library file entry type, or null if a document library file entry type with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryType> findAll()
                              throws SystemException
Returns all the document library file entry types.

Returns:
the document library file entry types
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryType> findAll(int start,
                              int end)
                              throws SystemException
Returns a range of all the document library file entry types.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of document library file entry types
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryType> findAll(int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the document library file entry types.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of document library file entry types
Throws:
SystemException - if a system exception occurred

removeAll

void removeAll()
               throws SystemException
Removes all the document library file entry types from the database.

Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of document library file entry types.

Returns:
the number of document library file entry types
Throws:
SystemException - if a system exception occurred

getDLFolders

List<DLFolder> getDLFolders(long pk)
                            throws SystemException
Returns all the document library folders associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
Returns:
the document library folders associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDLFolders

List<DLFolder> getDLFolders(long pk,
                            int start,
                            int end)
                            throws SystemException
Returns a range of all the document library folders associated with the document library file entry type.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
pk - the primary key of the document library file entry type
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of document library folders associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDLFolders

List<DLFolder> getDLFolders(long pk,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the document library folders associated with the document library file entry type.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
pk - the primary key of the document library file entry type
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of document library folders associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDLFoldersSize

int getDLFoldersSize(long pk)
                     throws SystemException
Returns the number of document library folders associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
Returns:
the number of document library folders associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

containsDLFolder

boolean containsDLFolder(long pk,
                         long dlFolderPK)
                         throws SystemException
Returns true if the document library folder is associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPK - the primary key of the document library folder
Returns:
true if the document library folder is associated with the document library file entry type; false otherwise
Throws:
SystemException - if a system exception occurred

containsDLFolders

boolean containsDLFolders(long pk)
                          throws SystemException
Returns true if the document library file entry type has any document library folders associated with it.

Parameters:
pk - the primary key of the document library file entry type to check for associations with document library folders
Returns:
true if the document library file entry type has any document library folders associated with it; false otherwise
Throws:
SystemException - if a system exception occurred

addDLFolder

void addDLFolder(long pk,
                 long dlFolderPK)
                 throws SystemException
Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPK - the primary key of the document library folder
Throws:
SystemException - if a system exception occurred

addDLFolder

void addDLFolder(long pk,
                 DLFolder dlFolder)
                 throws SystemException
Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolder - the document library folder
Throws:
SystemException - if a system exception occurred

addDLFolders

void addDLFolders(long pk,
                  long[] dlFolderPKs)
                  throws SystemException
Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPKs - the primary keys of the document library folders
Throws:
SystemException - if a system exception occurred

addDLFolders

void addDLFolders(long pk,
                  List<DLFolder> dlFolders)
                  throws SystemException
Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolders - the document library folders
Throws:
SystemException - if a system exception occurred

clearDLFolders

void clearDLFolders(long pk)
                    throws SystemException
Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type to clear the associated document library folders from
Throws:
SystemException - if a system exception occurred

removeDLFolder

void removeDLFolder(long pk,
                    long dlFolderPK)
                    throws SystemException
Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPK - the primary key of the document library folder
Throws:
SystemException - if a system exception occurred

removeDLFolder

void removeDLFolder(long pk,
                    DLFolder dlFolder)
                    throws SystemException
Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolder - the document library folder
Throws:
SystemException - if a system exception occurred

removeDLFolders

void removeDLFolders(long pk,
                     long[] dlFolderPKs)
                     throws SystemException
Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPKs - the primary keys of the document library folders
Throws:
SystemException - if a system exception occurred

removeDLFolders

void removeDLFolders(long pk,
                     List<DLFolder> dlFolders)
                     throws SystemException
Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolders - the document library folders
Throws:
SystemException - if a system exception occurred

setDLFolders

void setDLFolders(long pk,
                  long[] dlFolderPKs)
                  throws SystemException
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolderPKs - the primary keys of the document library folders to be associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

setDLFolders

void setDLFolders(long pk,
                  List<DLFolder> dlFolders)
                  throws SystemException
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
dlFolders - the document library folders to be associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDDMStructures

List<DDMStructure> getDDMStructures(long pk)
                                    throws SystemException
Returns all the d d m structures associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
Returns:
the d d m structures associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDDMStructures

List<DDMStructure> getDDMStructures(long pk,
                                    int start,
                                    int end)
                                    throws SystemException
Returns a range of all the d d m structures associated with the document library file entry type.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
pk - the primary key of the document library file entry type
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of d d m structures associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDDMStructures

List<DDMStructure> getDDMStructures(long pk,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the d d m structures associated with the document library file entry type.

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 DLFileEntryTypeModelImpl. 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.

Parameters:
pk - the primary key of the document library file entry type
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d m structures associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

getDDMStructuresSize

int getDDMStructuresSize(long pk)
                         throws SystemException
Returns the number of d d m structures associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
Returns:
the number of d d m structures associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

containsDDMStructure

boolean containsDDMStructure(long pk,
                             long ddmStructurePK)
                             throws SystemException
Returns true if the d d m structure is associated with the document library file entry type.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePK - the primary key of the d d m structure
Returns:
true if the d d m structure is associated with the document library file entry type; false otherwise
Throws:
SystemException - if a system exception occurred

containsDDMStructures

boolean containsDDMStructures(long pk)
                              throws SystemException
Returns true if the document library file entry type has any d d m structures associated with it.

Parameters:
pk - the primary key of the document library file entry type to check for associations with d d m structures
Returns:
true if the document library file entry type has any d d m structures associated with it; false otherwise
Throws:
SystemException - if a system exception occurred

addDDMStructure

void addDDMStructure(long pk,
                     long ddmStructurePK)
                     throws SystemException
Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePK - the primary key of the d d m structure
Throws:
SystemException - if a system exception occurred

addDDMStructure

void addDDMStructure(long pk,
                     DDMStructure ddmStructure)
                     throws SystemException
Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructure - the d d m structure
Throws:
SystemException - if a system exception occurred

addDDMStructures

void addDDMStructures(long pk,
                      long[] ddmStructurePKs)
                      throws SystemException
Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePKs - the primary keys of the d d m structures
Throws:
SystemException - if a system exception occurred

addDDMStructures

void addDDMStructures(long pk,
                      List<DDMStructure> ddmStructures)
                      throws SystemException
Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructures - the d d m structures
Throws:
SystemException - if a system exception occurred

clearDDMStructures

void clearDDMStructures(long pk)
                        throws SystemException
Clears all associations between the document library file entry type and its d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type to clear the associated d d m structures from
Throws:
SystemException - if a system exception occurred

removeDDMStructure

void removeDDMStructure(long pk,
                        long ddmStructurePK)
                        throws SystemException
Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePK - the primary key of the d d m structure
Throws:
SystemException - if a system exception occurred

removeDDMStructure

void removeDDMStructure(long pk,
                        DDMStructure ddmStructure)
                        throws SystemException
Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructure - the d d m structure
Throws:
SystemException - if a system exception occurred

removeDDMStructures

void removeDDMStructures(long pk,
                         long[] ddmStructurePKs)
                         throws SystemException
Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePKs - the primary keys of the d d m structures
Throws:
SystemException - if a system exception occurred

removeDDMStructures

void removeDDMStructures(long pk,
                         List<DDMStructure> ddmStructures)
                         throws SystemException
Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructures - the d d m structures
Throws:
SystemException - if a system exception occurred

setDDMStructures

void setDDMStructures(long pk,
                      long[] ddmStructurePKs)
                      throws SystemException
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructurePKs - the primary keys of the d d m structures to be associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

setDDMStructures

void setDDMStructures(long pk,
                      List<DDMStructure> ddmStructures)
                      throws SystemException
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the document library file entry type
ddmStructures - the d d m structures to be associated with the document library file entry type
Throws:
SystemException - if a system exception occurred

Liferay 6.2-ce-ga5