Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service.persistence.impl
Class DLFileEntryTypePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntryType>
      extended by com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DLFileEntryType>, DLFileEntryTypePersistence

@ProviderType
public class DLFileEntryTypePersistenceImpl
extends BasePersistenceImpl<DLFileEntryType>
implements DLFileEntryTypePersistence

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

Caching information and settings can be found in portal.properties

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

Field Summary
protected  CompanyProvider companyProvider
           
protected  TableMapper<DLFileEntryType,DLFolder> dlFileEntryTypeToDLFolderTableMapper
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  EntityCache entityCache
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_F
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
protected  FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
DLFileEntryTypePersistenceImpl()
           
 
Method Summary
 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 afterPropertiesSet()
          Initializes the document library file entry type persistence.
 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.
protected  void cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl, boolean isNew)
           
 void clearCache()
          Clears the cache for all document library file entry types.
 void clearCache(DLFileEntryType dlFileEntryType)
          Clears the cache for the document library file entry type.
 void clearCache(List<DLFileEntryType> dlFileEntryTypes)
          Clears the cache for a List instances of this model.
 void clearDLFolders(long pk)
          Clears all associations between the document library file entry type and its document library folders.
protected  void clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl)
           
 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.
 void destroy()
           
 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<DLFileEntryType> orderByComparator)
          Returns the first document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> 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 fetchByPrimaryKey(Serializable primaryKey)
          Returns the document library file entry type with the primary key or returns null if it could not be found.
 Map<Serializable,DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 DLFileEntryType fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.
 DLFileEntryType fetchByUuid_First(String uuid, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?.
protected  DLFileEntryType filterGetByGroupId_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, long groupId, OrderByComparator<DLFileEntryType> orderByComparator, boolean previous)
           
 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<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types.
 List<DLFileEntryType> findAll(int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
          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<DLFileEntryType> orderByComparator)
          Returns the first document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType findByGroupId_Last(long groupId, OrderByComparator<DLFileEntryType> orderByComparator)
          Returns the last document library file entry type in the ordered set where groupId = ?.
 DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types where groupId = any ?.
 List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.
 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<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types where groupId = ?.
 List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
          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 findByPrimaryKey(Serializable primaryKey)
          Returns the document library file entry type with the primary key or throws a NoSuchModelException if it could not be found.
 DLFileEntryType findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns an ordered 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<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
 DLFileEntryType findByUuid_First(String uuid, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns the last document library file entry type in the ordered set where uuid = ?.
 DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator<DLFileEntryType> 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<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types where uuid = ?.
 List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entry types where uuid = ?.
 Set<String> getBadColumnNames()
           
protected  DLFileEntryType getByGroupId_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, long groupId, OrderByComparator<DLFileEntryType> orderByComparator, boolean previous)
           
protected  DLFileEntryType getByUuid_C_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, String uuid, long companyId, OrderByComparator<DLFileEntryType> orderByComparator, boolean previous)
           
protected  DLFileEntryType getByUuid_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, String uuid, OrderByComparator<DLFileEntryType> orderByComparator, boolean previous)
           
 long[] getDLFolderPrimaryKeys(long pk)
          Returns the primaryKeys of document library folders 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<DLFolder> 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.
protected  Map<String,Integer> getTableColumnsMap()
           
 DLFileEntryType remove(long fileEntryTypeId)
          Removes the document library file entry type with the primary key from the database.
 DLFileEntryType remove(Serializable primaryKey)
          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 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.
protected  DLFileEntryType removeImpl(DLFileEntryType dlFileEntryType)
          Removes the model instance from the database.
 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.
protected  DLFileEntryType toUnwrappedModel(DLFileEntryType dlFileEntryType)
           
 DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID

FINDER_PATH_FETCH_BY_G_F

public static final FinderPath FINDER_PATH_FETCH_BY_G_F

FINDER_PATH_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F

companyProvider

@BeanReference(type=CompanyProviderWrapper.class)
protected CompanyProvider companyProvider

entityCache

protected EntityCache entityCache

finderCache

protected FinderCache finderCache

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

dlFileEntryTypeToDLFolderTableMapper

protected TableMapper<DLFileEntryType,DLFolder> dlFileEntryTypeToDLFolderTableMapper
Constructor Detail

DLFileEntryTypePersistenceImpl

public DLFileEntryTypePersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
Returns:
the matching document library file entry types

findByUuid

public List<DLFileEntryType> findByUuid(String uuid,
                                        int start,
                                        int end)
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.

Specified by:
findByUuid in interface DLFileEntryTypePersistence
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

findByUuid

public List<DLFileEntryType> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
findByUuid in interface DLFileEntryTypePersistence
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

findByUuid

public List<DLFileEntryType> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator<DLFileEntryType> orderByComparator,
                                        boolean retrieveFromCache)
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.

Specified by:
findByUuid in interface DLFileEntryTypePersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry types

findByUuid_First

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

Specified by:
findByUuid_First in interface DLFileEntryTypePersistence
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

fetchByUuid_First

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

Specified by:
fetchByUuid_First in interface DLFileEntryTypePersistence
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

findByUuid_Last

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

Specified by:
findByUuid_Last in interface DLFileEntryTypePersistence
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

fetchByUuid_Last

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

Specified by:
fetchByUuid_Last in interface DLFileEntryTypePersistence
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

findByUuid_PrevAndNext

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

Specified by:
findByUuid_PrevAndNext in interface DLFileEntryTypePersistence
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

getByUuid_PrevAndNext

protected DLFileEntryType getByUuid_PrevAndNext(Session session,
                                                DLFileEntryType dlFileEntryType,
                                                String uuid,
                                                OrderByComparator<DLFileEntryType> orderByComparator,
                                                boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid

countByUuid

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

Specified by:
countByUuid in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching document library file entry types

findByUUID_G

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

Specified by:
findByUUID_G in interface DLFileEntryTypePersistence
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

fetchByUUID_G

public 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. Uses the finder cache.

Specified by:
fetchByUUID_G in interface DLFileEntryTypePersistence
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

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to retrieve from 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

removeByUUID_G

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

Specified by:
removeByUUID_G in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the document library file entry type that was removed
Throws:
NoSuchFileEntryTypeException

countByUUID_G

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

Specified by:
countByUUID_G in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching document library file entry types

findByUuid_C

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

Specified by:
findByUuid_C in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching document library file entry types

findByUuid_C

public 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 = ?.

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.

Specified by:
findByUuid_C in interface DLFileEntryTypePersistence
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

findByUuid_C

public List<DLFileEntryType> findByUuid_C(String uuid,
                                          long companyId,
                                          int start,
                                          int end,
                                          OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
findByUuid_C in interface DLFileEntryTypePersistence
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

findByUuid_C

public List<DLFileEntryType> findByUuid_C(String uuid,
                                          long companyId,
                                          int start,
                                          int end,
                                          OrderByComparator<DLFileEntryType> orderByComparator,
                                          boolean retrieveFromCache)
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.

Specified by:
findByUuid_C in interface DLFileEntryTypePersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry types

findByUuid_C_First

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

Specified by:
findByUuid_C_First in interface DLFileEntryTypePersistence
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

fetchByUuid_C_First

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

Specified by:
fetchByUuid_C_First in interface DLFileEntryTypePersistence
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

findByUuid_C_Last

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

Specified by:
findByUuid_C_Last in interface DLFileEntryTypePersistence
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

fetchByUuid_C_Last

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

Specified by:
fetchByUuid_C_Last in interface DLFileEntryTypePersistence
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

findByUuid_C_PrevAndNext

public DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId,
                                                  String uuid,
                                                  long companyId,
                                                  OrderByComparator<DLFileEntryType> orderByComparator)
                                           throws 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 = ?.

Specified by:
findByUuid_C_PrevAndNext in interface DLFileEntryTypePersistence
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

getByUuid_C_PrevAndNext

protected DLFileEntryType getByUuid_C_PrevAndNext(Session session,
                                                  DLFileEntryType dlFileEntryType,
                                                  String uuid,
                                                  long companyId,
                                                  OrderByComparator<DLFileEntryType> orderByComparator,
                                                  boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Specified by:
countByUuid_C in interface DLFileEntryTypePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching document library file entry types

findByGroupId

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

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
Returns:
the matching document library file entry types

findByGroupId

public List<DLFileEntryType> findByGroupId(long groupId,
                                           int start,
                                           int end)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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

findByGroupId

public List<DLFileEntryType> findByGroupId(long groupId,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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

findByGroupId

public List<DLFileEntryType> findByGroupId(long groupId,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntryType> orderByComparator,
                                           boolean retrieveFromCache)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry types

findByGroupId_First

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

Specified by:
findByGroupId_First in interface DLFileEntryTypePersistence
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

fetchByGroupId_First

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

Specified by:
fetchByGroupId_First in interface DLFileEntryTypePersistence
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

findByGroupId_Last

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

Specified by:
findByGroupId_Last in interface DLFileEntryTypePersistence
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

fetchByGroupId_Last

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

Specified by:
fetchByGroupId_Last in interface DLFileEntryTypePersistence
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

findByGroupId_PrevAndNext

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

Specified by:
findByGroupId_PrevAndNext in interface DLFileEntryTypePersistence
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

getByGroupId_PrevAndNext

protected DLFileEntryType getByGroupId_PrevAndNext(Session session,
                                                   DLFileEntryType dlFileEntryType,
                                                   long groupId,
                                                   OrderByComparator<DLFileEntryType> orderByComparator,
                                                   boolean previous)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
Returns:
the matching document library file entry types that the user has permission to view

filterFindByGroupId

public 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 = ?.

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.

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
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

filterFindByGroupId

public List<DLFileEntryType> filterFindByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
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

filterFindByGroupId_PrevAndNext

public DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId,
                                                         long groupId,
                                                         OrderByComparator<DLFileEntryType> orderByComparator)
                                                  throws 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 = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface DLFileEntryTypePersistence
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

filterGetByGroupId_PrevAndNext

protected DLFileEntryType filterGetByGroupId_PrevAndNext(Session session,
                                                         DLFileEntryType dlFileEntryType,
                                                         long groupId,
                                                         OrderByComparator<DLFileEntryType> orderByComparator,
                                                         boolean previous)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupIds - the group IDs
Returns:
the matching document library file entry types that the user has permission to view

filterFindByGroupId

public 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 ?.

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.

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
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

filterFindByGroupId

public List<DLFileEntryType> filterFindByGroupId(long[] groupIds,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
filterFindByGroupId in interface DLFileEntryTypePersistence
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

findByGroupId

public List<DLFileEntryType> findByGroupId(long[] groupIds)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupIds - the group IDs
Returns:
the matching document library file entry types

findByGroupId

public List<DLFileEntryType> findByGroupId(long[] groupIds,
                                           int start,
                                           int end)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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

findByGroupId

public List<DLFileEntryType> findByGroupId(long[] groupIds,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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

findByGroupId

public List<DLFileEntryType> findByGroupId(long[] groupIds,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntryType> orderByComparator,
                                           boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.

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.

Specified by:
findByGroupId in interface DLFileEntryTypePersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry types

removeByGroupId

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

Specified by:
removeByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID

countByGroupId

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

Specified by:
countByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching document library file entry types

countByGroupId

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

Specified by:
countByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupIds - the group IDs
Returns:
the number of matching document library file entry types

filterCountByGroupId

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

Specified by:
filterCountByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching document library file entry types that the user has permission to view

filterCountByGroupId

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

Specified by:
filterCountByGroupId in interface DLFileEntryTypePersistence
Parameters:
groupIds - the group IDs
Returns:
the number of matching document library file entry types that the user has permission to view

findByG_F

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

Specified by:
findByG_F in interface DLFileEntryTypePersistence
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

fetchByG_F

public 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. Uses the finder cache.

Specified by:
fetchByG_F in interface DLFileEntryTypePersistence
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

fetchByG_F

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

Specified by:
fetchByG_F in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
retrieveFromCache - whether to retrieve from 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

removeByG_F

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

Specified by:
removeByG_F in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the document library file entry type that was removed
Throws:
NoSuchFileEntryTypeException

countByG_F

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

Specified by:
countByG_F in interface DLFileEntryTypePersistence
Parameters:
groupId - the group ID
fileEntryTypeKey - the file entry type key
Returns:
the number of matching document library file entry types

cacheResult

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

Specified by:
cacheResult in interface DLFileEntryTypePersistence
Parameters:
dlFileEntryType - the document library file entry type

cacheResult

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

Specified by:
cacheResult in interface DLFileEntryTypePersistence
Parameters:
dlFileEntryTypes - the document library file entry types

clearCache

public void clearCache()
Clears the cache for all document library file entry types.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryType>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryType>

clearCache

public void clearCache(DLFileEntryType dlFileEntryType)
Clears the cache for the document library file entry type.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryType>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryType>
Parameters:
dlFileEntryType - the instance of this model to clear the cache for

clearCache

public void clearCache(List<DLFileEntryType> dlFileEntryTypes)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryType>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryType>
Parameters:
dlFileEntryTypes - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl)

create

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

Specified by:
create in interface DLFileEntryTypePersistence
Parameters:
fileEntryTypeId - the primary key for the new document library file entry type
Returns:
the new document library file entry type

remove

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

Specified by:
remove in interface DLFileEntryTypePersistence
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

remove

public DLFileEntryType remove(Serializable primaryKey)
                       throws NoSuchFileEntryTypeException
Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<DLFileEntryType>
Overrides:
remove in class BasePersistenceImpl<DLFileEntryType>
Parameters:
primaryKey - 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

removeImpl

protected DLFileEntryType removeImpl(DLFileEntryType dlFileEntryType)
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<DLFileEntryType>
Parameters:
dlFileEntryType - the model instance to remove
Returns:
the model instance that was removed

updateImpl

public DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface DLFileEntryTypePersistence
Overrides:
updateImpl in class BasePersistenceImpl<DLFileEntryType>
Parameters:
dlFileEntryType - the model instance to update
Returns:
the model instance that was updated

toUnwrappedModel

protected DLFileEntryType toUnwrappedModel(DLFileEntryType dlFileEntryType)

findByPrimaryKey

public DLFileEntryType findByPrimaryKey(Serializable primaryKey)
                                 throws NoSuchFileEntryTypeException
Returns the document library file entry type with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<DLFileEntryType>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DLFileEntryType>
Parameters:
primaryKey - 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

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface DLFileEntryTypePersistence
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

fetchByPrimaryKey

public DLFileEntryType fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file entry type with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DLFileEntryType>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntryType>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface DLFileEntryTypePersistence
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

fetchByPrimaryKeys

public Map<Serializable,DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<DLFileEntryType>
Specified by:
fetchByPrimaryKeys in interface DLFileEntryTypePersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<DLFileEntryType>

findAll

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

Specified by:
findAll in interface DLFileEntryTypePersistence
Returns:
the document library file entry types

findAll

public List<DLFileEntryType> findAll(int start,
                                     int end)
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.

Specified by:
findAll in interface DLFileEntryTypePersistence
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

findAll

public List<DLFileEntryType> findAll(int start,
                                     int end,
                                     OrderByComparator<DLFileEntryType> orderByComparator)
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.

Specified by:
findAll in interface DLFileEntryTypePersistence
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

findAll

public List<DLFileEntryType> findAll(int start,
                                     int end,
                                     OrderByComparator<DLFileEntryType> orderByComparator,
                                     boolean retrieveFromCache)
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.

Specified by:
findAll in interface DLFileEntryTypePersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of document library file entry types

removeAll

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

Specified by:
removeAll in interface DLFileEntryTypePersistence

countAll

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

Specified by:
countAll in interface DLFileEntryTypePersistence
Returns:
the number of document library file entry types

getDLFolderPrimaryKeys

public long[] getDLFolderPrimaryKeys(long pk)
Returns the primaryKeys of document library folders associated with the document library file entry type.

Specified by:
getDLFolderPrimaryKeys in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
Returns:
long[] of the primaryKeys of document library folders associated with the document library file entry type

getDLFolders

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

Specified by:
getDLFolders in interface DLFileEntryTypePersistence
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

getDLFolders

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

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.

Specified by:
getDLFolders in interface DLFileEntryTypePersistence
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

getDLFolders

public List<DLFolder> getDLFolders(long pk,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFolder> orderByComparator)
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.

Specified by:
getDLFolders in interface DLFileEntryTypePersistence
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

getDLFoldersSize

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

Specified by:
getDLFoldersSize in interface DLFileEntryTypePersistence
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

containsDLFolder

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

Specified by:
containsDLFolder in interface DLFileEntryTypePersistence
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

containsDLFolders

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

Specified by:
containsDLFolders in interface DLFileEntryTypePersistence
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

addDLFolder

public void addDLFolder(long pk,
                        long dlFolderPK)
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.

Specified by:
addDLFolder in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolderPK - the primary key of the document library folder

addDLFolder

public void addDLFolder(long pk,
                        DLFolder dlFolder)
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.

Specified by:
addDLFolder in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolder - the document library folder

addDLFolders

public void addDLFolders(long pk,
                         long[] dlFolderPKs)
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.

Specified by:
addDLFolders in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolderPKs - the primary keys of the document library folders

addDLFolders

public void addDLFolders(long pk,
                         List<DLFolder> dlFolders)
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.

Specified by:
addDLFolders in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolders - the document library folders

clearDLFolders

public void clearDLFolders(long pk)
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.

Specified by:
clearDLFolders in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type to clear the associated document library folders from

removeDLFolder

public void removeDLFolder(long pk,
                           long dlFolderPK)
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.

Specified by:
removeDLFolder in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolderPK - the primary key of the document library folder

removeDLFolder

public void removeDLFolder(long pk,
                           DLFolder dlFolder)
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.

Specified by:
removeDLFolder in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolder - the document library folder

removeDLFolders

public void removeDLFolders(long pk,
                            long[] dlFolderPKs)
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.

Specified by:
removeDLFolders in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolderPKs - the primary keys of the document library folders

removeDLFolders

public void removeDLFolders(long pk,
                            List<DLFolder> dlFolders)
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.

Specified by:
removeDLFolders in interface DLFileEntryTypePersistence
Parameters:
pk - the primary key of the document library file entry type
dlFolders - the document library folders

setDLFolders

public 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. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setDLFolders in interface DLFileEntryTypePersistence
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

setDLFolders

public 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. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setDLFolders in interface DLFileEntryTypePersistence
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

getBadColumnNames

public Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<DLFileEntryType>
Specified by:
getBadColumnNames in interface DLFileEntryTypePersistence
Overrides:
getBadColumnNames in class BasePersistenceImpl<DLFileEntryType>

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class BasePersistenceImpl<DLFileEntryType>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the document library file entry type persistence.


destroy

public void destroy()

Liferay 7.0-ce-b4