Class DLFileEntryTypePersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl
All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>

public class DLFileEntryTypePersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException> implements com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
The persistence implementation for the document library file entry type service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.model.DLFolder>
     
    protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence
     
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addDLFolder(long pk, long dlFolderPK)
    Adds an association between the document library file entry type and the document library folder.
    boolean
    addDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder)
    Adds an association between the document library file entry type and the document library folder.
    boolean
    addDLFolders(long pk, long[] dlFolderPKs)
    Adds an association between the document library file entry type and the document library folders.
    boolean
    addDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
    Adds an association between the document library file entry type and the document library folders.
    void
    Initializes the document library file entry type persistence.
    void
    clearDLFolders(long pk)
    Clears all associations between the document library file entry type and its document library folders.
    boolean
    containsDLFolder(long pk, long dlFolderPK)
    Returns true if the document library folder is associated with the document library file entry type.
    boolean
    Returns true if the document library file entry type has any document library folders associated with it.
    int
    countByCompanyId(long companyId)
    Returns the number of document library file entry types where companyId = ?.
    int
    countByERC_G(String externalReferenceCode, long groupId)
    Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.
    int
    countByG_DDI(long groupId, long dataDefinitionId)
    Returns the number of document library file entry types where groupId = ? and dataDefinitionId = ?.
    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
    Returns the number of document library file entry types where uuid = ?.
    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 = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    create(long fileEntryTypeId)
    Creates a new document library file entry type with the primary key.
    void
     
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
    Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByG_DDI(long groupId, long dataDefinitionId, boolean useFinderCache)
    Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByG_F(long groupId, String fileEntryTypeKey, boolean useFinderCache)
    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.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where groupId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByPrimaryKey(long fileEntryTypeId)
    Returns the document library file entry type with the primary key or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    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.
    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 ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntryType>
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry types where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByERC_G(String externalReferenceCode, long groupId)
    Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByG_DDI(long groupId, long dataDefinitionId)
    Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or throws a NoSuchFileEntryTypeException if it could not be found.
    com.liferay.document.library.kernel.model.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.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry types where groupId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where groupId = ?.
    com.liferay.document.library.kernel.model.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.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry types where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryType>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryType
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
    Returns the first document library file entry type in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.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.
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper
     
    long[]
    Returns the primaryKeys of document library folders associated with the document library file entry type.
    List<com.liferay.document.library.kernel.model.DLFolder>
    getDLFolders(long pk)
    Returns all the document library folders associated with the document library file entry type.
    List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFolder>
    getDLFolders(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator)
    Returns an ordered range of all the document library folders associated with the document library file entry type.
    int
    Returns the number of document library folders associated with the document library file entry type.
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.document.library.kernel.model.DLFileEntryType
    remove(long fileEntryTypeId)
    Removes the document library file entry type with the primary key from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the document library file entry types where companyId = ? from the database.
    com.liferay.document.library.kernel.model.DLFileEntryType
    removeByERC_G(String externalReferenceCode, long groupId)
    Removes the document library file entry type where externalReferenceCode = ? and groupId = ? from the database.
    com.liferay.document.library.kernel.model.DLFileEntryType
    removeByG_DDI(long groupId, long dataDefinitionId)
    Removes the document library file entry type where groupId = ? and dataDefinitionId = ? from the database.
    com.liferay.document.library.kernel.model.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
    Removes all the document library file entry types where uuid = ? 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.
    com.liferay.document.library.kernel.model.DLFileEntryType
    removeByUUID_G(String uuid, long groupId)
    Removes the document library file entry type where uuid = ? and groupId = ? from the database.
    void
    removeDLFolder(long pk, long dlFolderPK)
    Removes the association between the document library file entry type and the document library folder.
    void
    removeDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder)
    Removes the association between the document library file entry type and the document library folder.
    void
    removeDLFolders(long pk, long[] dlFolderPKs)
    Removes the association between the document library file entry type and the document library folders.
    void
    removeDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
    Removes the association between the document library file entry type and the document library folders.
    protected com.liferay.document.library.kernel.model.DLFileEntryType
    removeImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
     
    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.
    void
    setDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
    Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary.
    com.liferay.document.library.kernel.model.DLFileEntryType
    updateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    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.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence

    fetchByERC_G, fetchByG_DDI, fetchByG_F, fetchByUUID_G, filterFindByGroupId, filterFindByGroupId, filterFindByGroupId, filterFindByGroupId, findByCompanyId, findByCompanyId, findByCompanyId, findByGroupId, findByGroupId, findByGroupId, findByGroupId, findByGroupId, findByGroupId, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_C
  • Field Details

    • 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
    • dlFolderPersistence

      @BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFolderPersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence
    • dlFileEntryTypeToDLFolderTableMapper

      protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.model.DLFolder> dlFileEntryTypeToDLFolderTableMapper
  • Constructor Details

    • DLFileEntryTypePersistenceImpl

      public DLFileEntryTypePersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry types
    • findByUuid_First

      public com.liferay.document.library.kernel.model.DLFileEntryType findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the first document library file entry type in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByUuid_First

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
      Returns the first document library file entry type in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.document.library.kernel.service.persistence.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
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the document library file entry types where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching document library file entry types
    • findByUUID_G

      public com.liferay.document.library.kernel.model.DLFileEntryType findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByUUID_G

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry type, or null if a matching document library file entry type could not be found
    • removeByUUID_G

      public com.liferay.document.library.kernel.model.DLFileEntryType removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Removes the document library file entry type where uuid = ? and groupId = ? from the database.
      Specified by:
      removeByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the document library file entry type that was removed
      Throws:
      com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching document library file entry types
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry types
    • findByUuid_C_First

      public com.liferay.document.library.kernel.model.DLFileEntryType findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByUuid_C_First

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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
    • 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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching document library file entry types
    • findByGroupId

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry types
    • findByGroupId_First

      public com.liferay.document.library.kernel.model.DLFileEntryType findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the first document library file entry type in the ordered set where groupId = ?.
      Specified by:
      findByGroupId_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByGroupId_First

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
      Returns the first document library file entry type in the ordered set where groupId = ?.
      Specified by:
      fetchByGroupId_First in interface com.liferay.document.library.kernel.service.persistence.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
    • filterFindByGroupId

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.document.library.kernel.service.persistence.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

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      filterFindByGroupId in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      findByGroupId in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use 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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupIds - the group IDs
      Returns:
      the number of matching document library file entry types that the user has permission to view
    • findByCompanyId

      public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entry types where 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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry types
    • findByCompanyId_First

      public com.liferay.document.library.kernel.model.DLFileEntryType findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the first document library file entry type in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByCompanyId_First

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
      Returns the first document library file entry type in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      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
    • removeByCompanyId

      public void removeByCompanyId(long companyId)
      Removes all the document library file entry types where companyId = ? from the database.
      Specified by:
      removeByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public int countByCompanyId(long companyId)
      Returns the number of document library file entry types where companyId = ?.
      Specified by:
      countByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching document library file entry types
    • findByG_DDI

      public com.liferay.document.library.kernel.model.DLFileEntryType findByG_DDI(long groupId, long dataDefinitionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or throws a NoSuchFileEntryTypeException if it could not be found.
      Specified by:
      findByG_DDI in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      dataDefinitionId - the data definition ID
      Returns:
      the matching document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByG_DDI

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByG_DDI(long groupId, long dataDefinitionId, boolean useFinderCache)
      Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByG_DDI in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      dataDefinitionId - the data definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry type, or null if a matching document library file entry type could not be found
    • removeByG_DDI

      public com.liferay.document.library.kernel.model.DLFileEntryType removeByG_DDI(long groupId, long dataDefinitionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Removes the document library file entry type where groupId = ? and dataDefinitionId = ? from the database.
      Specified by:
      removeByG_DDI in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      dataDefinitionId - the data definition ID
      Returns:
      the document library file entry type that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
    • countByG_DDI

      public int countByG_DDI(long groupId, long dataDefinitionId)
      Returns the number of document library file entry types where groupId = ? and dataDefinitionId = ?.
      Specified by:
      countByG_DDI in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      dataDefinitionId - the data definition ID
      Returns:
      the number of matching document library file entry types
    • findByG_F

      public com.liferay.document.library.kernel.model.DLFileEntryType findByG_F(long groupId, String fileEntryTypeKey) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      fileEntryTypeKey - the file entry type key
      Returns:
      the matching document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByG_F

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey, boolean useFinderCache)
      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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      fileEntryTypeKey - the file entry type key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry type, or null if a matching document library file entry type could not be found
    • removeByG_F

      public com.liferay.document.library.kernel.model.DLFileEntryType removeByG_F(long groupId, String fileEntryTypeKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.
      Specified by:
      removeByG_F in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      fileEntryTypeKey - the file entry type key
      Returns:
      the document library file entry type that was removed
      Throws:
      com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      groupId - the group ID
      fileEntryTypeKey - the file entry type key
      Returns:
      the number of matching document library file entry types
    • findByERC_G

      public com.liferay.document.library.kernel.model.DLFileEntryType findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found.
      Specified by:
      findByERC_G in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
    • fetchByERC_G

      public com.liferay.document.library.kernel.model.DLFileEntryType fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByERC_G in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry type, or null if a matching document library file entry type could not be found
    • removeByERC_G

      public com.liferay.document.library.kernel.model.DLFileEntryType removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
      Removes the document library file entry type where externalReferenceCode = ? and groupId = ? from the database.
      Specified by:
      removeByERC_G in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the document library file entry type that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
    • countByERC_G

      public int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.
      Specified by:
      countByERC_G in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching document library file entry types
    • create

      public com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      fileEntryTypeId - the primary key for the new document library file entry type
      Returns:
      the new document library file entry type
    • remove

      public com.liferay.document.library.kernel.model.DLFileEntryType remove(long fileEntryTypeId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      fileEntryTypeId - the primary key of the document library file entry type
      Returns:
      the document library file entry type that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
    • removeImpl

      protected com.liferay.document.library.kernel.model.DLFileEntryType removeImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • updateImpl

      public com.liferay.document.library.kernel.model.DLFileEntryType updateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
      Specified by:
      updateImpl in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • findByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      fileEntryTypeId - the primary key of the document library file entry type
      Returns:
      the document library file entry type
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
    • getCTPersistenceHelper

      protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()
      Overrides:
      getCTPersistenceHelper in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • fetchByPrimaryKey

      public com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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
    • 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 com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFolder> getDLFolders(long pk)
      Returns all the document library folders associated with the document library file entry type.
      Specified by:
      getDLFolders in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      getDLFolders in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFolder> getDLFolders(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl.

      Specified by:
      getDLFolders in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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 boolean 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 com.liferay.document.library.kernel.service.persistence.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 an association between the document library file entry type and the document library folder was added; false if they were already associated
    • addDLFolder

      public boolean addDLFolder(long pk, com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      pk - the primary key of the document library file entry type
      dlFolder - the document library folder
      Returns:
      true if an association between the document library file entry type and the document library folder was added; false if they were already associated
    • addDLFolders

      public boolean 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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      pk - the primary key of the document library file entry type
      dlFolderPKs - the primary keys of the document library folders
      Returns:
      true if at least one association between the document library file entry type and the document library folders was added; false if they were all already associated
    • addDLFolders

      public boolean addDLFolders(long pk, List<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
      Parameters:
      pk - the primary key of the document library file entry type
      dlFolders - the document library folders
      Returns:
      true if at least one association between the document library file entry type and the document library folders was added; false if they were all already associated
    • 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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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, com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getCTColumnNames

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
      Overrides:
      getTableName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
    • afterPropertiesSet

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

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException>