Class 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>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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.DLFolderPersistencestatic final Stringstatic final Stringstatic final StringFields 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddDLFolder(long pk, long dlFolderPK) Adds an association between the document library file entry type and the document library folder.booleanaddDLFolder(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.booleanaddDLFolders(long pk, long[] dlFolderPKs) Adds an association between the document library file entry type and the document library folders.booleanaddDLFolders(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.voidInitializes the document library file entry type persistence.voidcacheResult(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) Caches the document library file entry type in the entity cache if it is enabled.voidcacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) Caches the document library file entry types in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl) voidClears the cache for all document library file entry types.voidclearCache(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) Clears the cache for the document library file entry type.voidclearCache(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) voidclearCache(Set<Serializable> primaryKeys) voidclearDLFolders(long pk) Clears all associations between the document library file entry type and its document library folders.booleancontainsDLFolder(long pk, long dlFolderPK) Returnstrueif the document library folder is associated with the document library file entry type.booleancontainsDLFolders(long pk) Returnstrueif the document library file entry type has any document library folders associated with it.intcountAll()Returns the number of document library file entry types.intcountByCompanyId(long companyId) Returns the number of document library file entry types where companyId = ?.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.intcountByG_DDI(long groupId, long dataDefinitionId) Returns the number of document library file entry types where groupId = ? and dataDefinitionId = ?.intcountByG_F(long groupId, String fileEntryTypeKey) Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.intcountByGroupId(long groupId) Returns the number of document library file entry types where groupId = ?.intcountByGroupId(long[] groupIds) Returns the number of document library file entry types where groupId = any ?.intcountByUuid(String uuid) Returns the number of document library file entry types where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of document library file entry types where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of document library file entry types where uuid = ? and groupId = ?.com.liferay.document.library.kernel.model.DLFileEntryTypecreate(long fileEntryTypeId) Creates a new document library file entry type with the primary key.voiddestroy()com.liferay.document.library.kernel.model.DLFileEntryTypefetchByCompanyId_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.DLFileEntryTypefetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByERC_G(String externalReferenceCode, long groupId) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByG_DDI(long groupId, long dataDefinitionId) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByG_DDI(long groupId, long dataDefinitionId, boolean useFinderCache) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByG_F(long groupId, String fileEntryTypeKey) Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByG_F(long groupId, String fileEntryTypeKey, boolean useFinderCache) Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByGroupId_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.DLFileEntryTypefetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByPrimaryKey(long fileEntryTypeId) Returns the document library file entry type with the primary key or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByPrimaryKey(Serializable primaryKey) Returns the document library file entry type with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.document.library.kernel.model.DLFileEntryTypefetchByUuid_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.DLFileEntryTypefetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByUuid_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.DLFileEntryTypefetchByUUID_G(String uuid, long groupId) Returns the document library file entry type where uuid = ? and groupId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file entry type where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntryTypefetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ?.intfilterCountByGroupId(long groupId) Returns the number of document library file entry types that the user has permission to view where groupId = ?.intfilterCountByGroupId(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 groupId) Returns all the document library file entry types that the user has permission to view where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryType>filterFindByGroupId(long[] groupIds) Returns 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[] 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<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) Returns a range of all the document library file entry types that the user has permission to view where groupId = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileEntryType[]filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.protected com.liferay.document.library.kernel.model.DLFileEntryTypefilterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) List<com.liferay.document.library.kernel.model.DLFileEntryType>findAll()Returns all the document library file entry types.List<com.liferay.document.library.kernel.model.DLFileEntryType>findAll(int start, int end) Returns a range of all the document library file entry types.List<com.liferay.document.library.kernel.model.DLFileEntryType>findAll(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.List<com.liferay.document.library.kernel.model.DLFileEntryType>findAll(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.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByCompanyId(long companyId) Returns all the document library file entry types where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file entry types where companyId = ?.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) Returns an ordered range of all the document library file entry types where companyId = ?.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.DLFileEntryTypefindByCompanyId_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.DLFileEntryTypefindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryType[]findByCompanyId_PrevAndNext(long fileEntryTypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the document library file entry types before and after the current document library file entry type in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefindByERC_G(String externalReferenceCode, long groupId) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileEntryTypeExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefindByG_DDI(long groupId, long dataDefinitionId) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or throws aNoSuchFileEntryTypeExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypeReturns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws aNoSuchFileEntryTypeExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByGroupId(long groupId) Returns all the document library file entry types where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByGroupId(long[] groupIds) Returns all the document library file entry types where groupId = any ?.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByGroupId(long[] groupIds, int start, int end) Returns a range of all the document library file entry types where groupId = any ?.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) Returns an ordered range of all the document library file entry types where groupId = any ?.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) Returns a range of all the document library file entry types where groupId = ?.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) Returns an ordered range of all the document library file entry types where groupId = ?.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.DLFileEntryTypefindByGroupId_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.DLFileEntryTypefindByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntryType[]findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefindByPrimaryKey(long fileEntryTypeId) Returns the document library file entry type with the primary key or throws aNoSuchFileEntryTypeExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefindByPrimaryKey(Serializable primaryKey) Returns the document library file entry type with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByUuid(String uuid) Returns all the document library file entry types where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntryType>findByUuid(String uuid, int start, int end) Returns a range of all the document library file entry types where uuid = ?.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) Returns an ordered range of all the document library file entry types where uuid = ?.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) Returns all the document library file entry types where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.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<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) Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.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.DLFileEntryTypefindByUuid_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.DLFileEntryTypefindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntryType[]findByUuid_C_PrevAndNext(long fileEntryTypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileEntryTypefindByUuid_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.DLFileEntryTypefindByUUID_G(String uuid, long groupId) Returns the document library file entry type where uuid = ? and groupId = ? or throws aNoSuchFileEntryTypeExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileEntryTypefindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntryType[]findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.protected com.liferay.document.library.kernel.model.DLFileEntryTypegetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryTypegetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryTypegetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntryTypegetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) long[]getDLFolderPrimaryKeys(long pk) 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.intgetDLFoldersSize(long pk) Returns the number of document library folders associated with the document library file entry type.protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.document.library.kernel.model.DLFileEntryTyperemove(long fileEntryTypeId) Removes the document library file entry type with the primary key from the database.com.liferay.document.library.kernel.model.DLFileEntryTyperemove(Serializable primaryKey) Removes the document library file entry type with the primary key from the database.voidRemoves all the document library file entry types from the database.voidremoveByCompanyId(long companyId) Removes all the document library file entry types where companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileEntryTyperemoveByERC_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.DLFileEntryTyperemoveByG_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.DLFileEntryTyperemoveByG_F(long groupId, String fileEntryTypeKey) Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.voidremoveByGroupId(long groupId) Removes all the document library file entry types where groupId = ? from the database.voidremoveByUuid(String uuid) Removes all the document library file entry types where uuid = ? from the database.voidremoveByUuid_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.DLFileEntryTyperemoveByUUID_G(String uuid, long groupId) Removes the document library file entry type where uuid = ? and groupId = ? from the database.voidremoveDLFolder(long pk, long dlFolderPK) Removes the association between the document library file entry type and the document library folder.voidremoveDLFolder(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.voidremoveDLFolders(long pk, long[] dlFolderPKs) Removes the association between the document library file entry type and the document library folders.voidremoveDLFolders(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.DLFileEntryTyperemoveImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) voidsetDLFolders(long pk, long[] dlFolderPKs) Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary.voidsetDLFolders(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.DLFileEntryTypeupdateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
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
Returns all the document library file entry types where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuid- Returns:
- the matching document library file entry types
-
findByUuid
public List<com.liferay.document.library.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry typesend- 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<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) Returns an ordered range of all the document library file entry types where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry types
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByUuid_Last
public com.liferay.document.library.kernel.model.DLFileEntryType findByUuid_Last(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 last document library file entry type in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last 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_Last
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByUuid_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, 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 document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
fileEntryTypeId- the primary key of the current document library file entry typeuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next 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
-
getByUuid_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryType getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) -
removeByUuid
Removes all the document library file entry types where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of document library file entry types where uuid = ?.- Specified by:
countByUuidin interfacecom.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 aNoSuchFileEntryTypeExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidgroupId- 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) Returns the document library file entry type where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file entry type, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry type, or
nullif 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_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the document library file entry type that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
-
countByUUID_G
Returns the number of document library file entry types where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidgroupId- 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) Returns all the document library file entry types where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the 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) Returns a range of all the document library file entry types where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry typesend- 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<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) 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileEntryType findByUuid_C_Last(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 last document library file entry type in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last 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_Last
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId, 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 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_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
fileEntryTypeId- the primary key of the current document library file entry typeuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next 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
-
getByUuid_C_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryType getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the document library file entry types where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of document library file entry types where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching document library file entry types
-
findByGroupId
Returns all the document library file entry types where groupId = ?.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group ID- Returns:
- the matching document library file entry types
-
findByGroupId
public List<com.liferay.document.library.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of document library file entry typesend- 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<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) Returns an ordered range of all the document library file entry types where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByGroupId_Last
public com.liferay.document.library.kernel.model.DLFileEntryType findByGroupId_Last(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 last document library file entry type in the ordered set where groupId = ?.- Specified by:
findByGroupId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last 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_Last
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByGroupId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, 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 document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
fileEntryTypeId- the primary key of the current document library file entry typegroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next 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
-
getByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryType getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) -
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long groupId) Returns all the document library file entry types that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group ID- Returns:
- the 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 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of document library file entry typesend- 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<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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry types that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, 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 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_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
fileEntryTypeId- the primary key of the current document library file entry typegroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next 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
-
filterGetByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryType filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) -
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long[] groupIds) Returns all the document library file entry types that the user has permission to view where groupId = any ?.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDs- Returns:
- the 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) 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of document library file entry typesend- 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<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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
filterFindByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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) Returns all the document library file entry types where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDs- Returns:
- the matching document library file entry types
-
findByGroupId
public List<com.liferay.document.library.kernel.model.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of document library file entry typesend- 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<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) Returns an ordered range of all the document library file entry types where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry types
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByGroupIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupIds- the group IDsstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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:
removeByGroupIdin interfacecom.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:
countByGroupIdin interfacecom.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:
countByGroupIdin interfacecom.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:
filterCountByGroupIdin interfacecom.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:
filterCountByGroupIdin interfacecom.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) Returns all the document library file entry types where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company ID- Returns:
- the matching document library file entry types
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file entry types where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)- Returns:
- the range of matching document library file entry types
-
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) Returns an ordered range of all the document library file entry types where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file entry types
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileEntryType findByCompanyId_Last(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 last document library file entry type in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last 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_Last
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator) Returns the last document library file entry type in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file entry type, or
nullif a matching document library file entry type could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntryType[] findByCompanyId_PrevAndNext(long fileEntryTypeId, 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 document library file entry types before and after the current document library file entry type in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
fileEntryTypeId- the primary key of the current document library file entry typecompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next 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
-
getByCompanyId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntryType getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the document library file entry types where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.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:
countByCompanyIdin interfacecom.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 aNoSuchFileEntryTypeExceptionif it could not be found.- Specified by:
findByG_DDIin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDdataDefinitionId- 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) Returns the document library file entry type where groupId = ? and dataDefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_DDIin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDdataDefinitionId- the data definition ID- Returns:
- the matching document library file entry type, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_DDIin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDdataDefinitionId- the data definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry type, or
nullif 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_DDIin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDdataDefinitionId- 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_DDIin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDdataDefinitionId- 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 aNoSuchFileEntryTypeExceptionif it could not be found.- Specified by:
findByG_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDfileEntryTypeKey- 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) Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByG_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDfileEntryTypeKey- the file entry type key- Returns:
- the matching document library file entry type, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByG_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDfileEntryTypeKey- the file entry type keyuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry type, or
nullif 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_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDfileEntryTypeKey- 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
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.- Specified by:
countByG_Fin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
groupId- the group IDfileEntryTypeKey- 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 aNoSuchFileEntryTypeExceptionif it could not be found.- Specified by:
findByERC_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
externalReferenceCode- the external reference codegroupId- 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) Returns the document library file entry type where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByERC_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching document library file entry type, or
nullif 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 returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file entry type, or
nullif 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_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the document library file entry type that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
-
countByERC_G
Returns the number of document library file entry types where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching document library file entry types
-
cacheResult
public void cacheResult(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) Caches the document library file entry type in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>- Parameters:
dlFileEntryType- the document library file entry type
-
cacheResult
public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) Caches the document library file entry types in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
dlFileEntryTypes- the document library file entry types
-
clearCache
public void clearCache()Clears the cache for all document library file entry types.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
clearCache
public void clearCache(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) Clears the cache for the document library file entry type.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
clearCache
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
-
cacheUniqueFindersCache
-
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:
createin interfacecom.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:
removein interfacecom.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
-
remove
public com.liferay.document.library.kernel.model.DLFileEntryType remove(Serializable primaryKey) 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:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>- Parameters:
primaryKey- 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:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileEntryType updateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) - Specified by:
updateImplin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryType findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException Returns the document library file entry type with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>- Parameters:
primaryKey- 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
-
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 aNoSuchFileEntryTypeExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.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
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByPrimaryKey(Serializable primaryKey) Returns the document library file entry type with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>- Parameters:
primaryKey- the primary key of the document library file entry type- Returns:
- the document library file entry type, or
nullif a document library file entry type with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId) Returns the document library file entry type with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.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
nullif a document library file entry type with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
findAll
Returns all the document library file entry types.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Returns:
- the document library file entry types
-
findAll
Returns a range of all the document library file entry types.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
start- the lower bound of the range of document library file entry typesend- 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<com.liferay.document.library.kernel.model.DLFileEntryType> findAll(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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
start- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of document library file entry types
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntryType> findAll(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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
start- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use 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:
removeAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
-
countAll
public int countAll()Returns the number of document library file entry types.- Specified by:
countAllin interfacecom.liferay.document.library.kernel.service.persistence.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:
getDLFolderPrimaryKeysin interfacecom.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
Returns all the document library folders associated with the document library file entry type.- Specified by:
getDLFoldersin interfacecom.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
getDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typestart- the lower bound of the range of document library file entry typesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileEntryTypeModelImpl.- Specified by:
getDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typestart- the lower bound of the range of document library file entry typesend- the upper bound of the range of document library file entry types (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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:
getDLFoldersSizein interfacecom.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) Returnstrueif the document library folder is associated with the document library file entry type.- Specified by:
containsDLFolderin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPK- the primary key of the document library folder- Returns:
trueif the document library folder is associated with the document library file entry type;falseotherwise
-
containsDLFolders
public boolean containsDLFolders(long pk) Returnstrueif the document library file entry type has any document library folders associated with it.- Specified by:
containsDLFoldersin interfacecom.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:
trueif the document library file entry type has any document library folders associated with it;falseotherwise
-
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:
addDLFolderin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPK- the primary key of the document library folder- Returns:
trueif an association between the document library file entry type and the document library folder was added;falseif 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:
addDLFolderin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolder- the document library folder- Returns:
trueif an association between the document library file entry type and the document library folder was added;falseif 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:
addDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPKs- the primary keys of the document library folders- Returns:
trueif at least one association between the document library file entry type and the document library folders was added;falseif 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:
addDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolders- the document library folders- Returns:
trueif at least one association between the document library file entry type and the document library folders was added;falseif 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:
clearDLFoldersin interfacecom.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:
removeDLFolderin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPK- 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:
removeDLFolderin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolder- 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:
removeDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPKs- 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:
removeDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolders- 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:
setDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolderPKs- 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:
setDLFoldersin interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence- Parameters:
pk- the primary key of the document library file entry typedlFolders- the document library folders to be associated with the document library file entry type
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.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:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
-