@ProviderType
public class DLFileEntryTypePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
implements com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.model.DLFolder> |
dlFileEntryTypeToDLFolderTableMapper |
protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence |
dlFolderPersistence |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, 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 and Description |
---|
DLFileEntryTypePersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
void |
addDLFolder(long pk,
long dlFolderPK)
Adds an association between the document library file entry type and the document library folder.
|
void |
addDLFolders(long pk,
List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
Adds an association between the document library file entry type and the document library folders.
|
void |
addDLFolders(long pk,
long[] dlFolderPKs)
Adds an association between the document library file entry type and the document library folders.
|
void |
afterPropertiesSet()
Initializes the document library file entry type persistence.
|
void |
cacheResult(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
Caches the document library file entry type in the entity cache if it is enabled.
|
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.
|
protected void |
cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl) |
void |
clearCache()
Clears the cache for all document library file entry types.
|
void |
clearCache(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
Clears the cache for the document library file entry type.
|
void |
clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes) |
void |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders.
|
protected void |
clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl,
boolean clearCurrent) |
boolean |
containsDLFolder(long pk,
long dlFolderPK)
Returns
true if the document library folder is associated with the document library file entry type. |
boolean |
containsDLFolders(long pk)
Returns
true if the document library file entry type has any document library folders associated with it. |
int |
countAll()
Returns the number of document library file entry types.
|
int |
countByG_F(long groupId,
String fileEntryTypeKey)
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?.
|
int |
countByGroupId(long groupId)
Returns the number of document library file entry types where groupId = ?.
|
int |
countByGroupId(long[] groupIds)
Returns the number of document library file entry types where groupId = any ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file entry types where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file entry types where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of document library file entry types where uuid = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
create(long fileEntryTypeId)
Creates a new document library file entry type with the primary key.
|
void |
destroy() |
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 returns
null if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByG_F(long groupId,
String fileEntryTypeKey,
boolean retrieveFromCache)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
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 = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or returns
null if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByUuid_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 |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file entry type where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of document library file entry types that the user has permission to view where groupId = ?.
|
int |
filterCountByGroupId(long[] groupIds)
Returns the number of document library file entry types that the user has permission to view where groupId = any ?.
|
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 = ?.
|
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 = ?.
|
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) |
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 retrieveFromCache)
Returns an ordered range of all the document library file entry types.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByG_F(long groupId,
String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a
NoSuchFileEntryTypeException if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByGroupId_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 = ?.
|
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 retrieveFromCache)
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 retrieveFromCache)
Returns an ordered range of all the document library file entry types where groupId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or throws a
NoSuchFileEntryTypeException if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file entry type with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.document.library.kernel.model.DLFileEntryType |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByUuid_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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
findByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or throws a
NoSuchFileEntryTypeException if it could not be found. |
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)
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ?.
|
Set<String> |
getBadColumnNames() |
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) |
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) |
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) |
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.
|
int |
getDLFoldersSize(long pk)
Returns the number of document library folders associated with the document library file entry type.
|
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.document.library.kernel.model.DLFileEntryType |
remove(long fileEntryTypeId)
Removes the document library file entry type with the primary key from the database.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
remove(Serializable primaryKey)
Removes the document library file entry type with the primary key from the database.
|
void |
removeAll()
Removes all the document library file entry types from the database.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
removeByG_F(long groupId,
String fileEntryTypeKey)
Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entry types where uuid = ? and companyId = ? from the database.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file entry type where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the document library file entry types where uuid = ? from the database.
|
void |
removeDLFolder(long pk,
com.liferay.document.library.kernel.model.DLFolder dlFolder)
Removes the association between the document library file entry type and the document library folder.
|
void |
removeDLFolder(long pk,
long dlFolderPK)
Removes the association between the document library file entry type and the document library folder.
|
void |
removeDLFolders(long pk,
List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
Removes the association between the document library file entry type and the document library folders.
|
void |
removeDLFolders(long pk,
long[] dlFolderPKs)
Removes the association between the document library file entry type and the document library folders.
|
protected com.liferay.document.library.kernel.model.DLFileEntryType |
removeImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) |
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.
|
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.
|
com.liferay.document.library.kernel.model.DLFileEntryType |
updateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFolderPersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.document.library.kernel.model.DLFileEntryType,com.liferay.document.library.kernel.model.DLFolder> dlFileEntryTypeToDLFolderTableMapper
public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid(String uuid)
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic 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
findByUuid_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByUuid_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByUuid_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByUuid_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByUuid_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the current document library file entry typeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundprotected 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)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidpublic com.liferay.document.library.kernel.model.DLFileEntryType findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.findByUUID_G
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.fetchByUUID_G
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDnull
if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByUUID_G
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
removeByUUID_G
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDcom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
public int countByUUID_G(String uuid, long groupId)
countByUUID_G
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic 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
findByUuid_C_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByUuid_C_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByUuid_C_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByUuid_C_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByUuid_C_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the current document library file entry typeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundprotected 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)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic 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
findByGroupId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByGroupId_First
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByGroupId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic 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)
fetchByGroupId_Last
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file entry type could not be foundpublic 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
findByGroupId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundprotected 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)
public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long groupId)
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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
filterFindByGroupId_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the current document library file entry typegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundprotected 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)
public List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long[] groupIds)
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupIds
- the group IDspublic List<com.liferay.document.library.kernel.model.DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)public List<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long[] groupIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupIds
- the group IDspublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findByGroupId(long[] groupIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDpublic int countByGroupId(long[] groupIds)
countByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupIds
- the group IDspublic int filterCountByGroupId(long groupId)
filterCountByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDpublic int filterCountByGroupId(long[] groupIds)
filterCountByGroupId
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupIds
- the group IDspublic com.liferay.document.library.kernel.model.DLFileEntryType findByG_F(long groupId, String fileEntryTypeKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.findByG_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDfileEntryTypeKey
- the file entry type keycom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey)
null
if it could not be found. Uses the finder cache.fetchByG_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDfileEntryTypeKey
- the file entry type keynull
if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType fetchByG_F(long groupId, String fileEntryTypeKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDfileEntryTypeKey
- the file entry type keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file entry type could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType removeByG_F(long groupId, String fileEntryTypeKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
removeByG_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDfileEntryTypeKey
- the file entry type keycom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
public int countByG_F(long groupId, String fileEntryTypeKey)
countByG_F
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
groupId
- the group IDfileEntryTypeKey
- the file entry type keypublic void cacheResult(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
dlFileEntryType
- the document library file entry typepublic void cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
dlFileEntryTypes
- the document library file entry typespublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
public void clearCache(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryType> dlFileEntryTypes)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
protected void cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl)
protected void clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl, boolean clearCurrent)
public com.liferay.document.library.kernel.model.DLFileEntryType create(long fileEntryTypeId)
create
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key for the new document library file entry typepublic com.liferay.document.library.kernel.model.DLFileEntryType remove(long fileEntryTypeId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
remove
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the document library file entry typecom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
primaryKey
- the primary key of the document library file entry typecom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLFileEntryType removeImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
public com.liferay.document.library.kernel.model.DLFileEntryType updateImpl(com.liferay.document.library.kernel.model.DLFileEntryType dlFileEntryType)
updateImpl
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
public com.liferay.document.library.kernel.model.DLFileEntryType findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
primaryKey
- the primary key of the document library file entry typecom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
NoSuchFileEntryTypeException
if it could not be found.findByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the document library file entry typecom.liferay.document.library.kernel.exception.NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
fileEntryTypeId
- the primary key of the document library file entry typenull
if a document library file entry type with the primary key could not be foundpublic List<com.liferay.document.library.kernel.model.DLFileEntryType> findAll()
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
public List<com.liferay.document.library.kernel.model.DLFileEntryType> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
public int countAll()
countAll
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
public long[] getDLFolderPrimaryKeys(long pk)
getDLFolderPrimaryKeys
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typepublic List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders(long pk)
getDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typepublic List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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)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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 (optionally null
)public int getDLFoldersSize(long pk)
getDLFoldersSize
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typepublic boolean containsDLFolder(long pk, long dlFolderPK)
true
if the document library folder is associated with the document library file entry type.containsDLFolder
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library foldertrue
if the document library folder is associated with the document library file entry type; false
otherwisepublic boolean containsDLFolders(long pk)
true
if the document library file entry type has any document library folders associated with it.containsDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type to check for associations with document library folderstrue
if the document library file entry type has any document library folders associated with it; false
otherwisepublic void addDLFolder(long pk, long dlFolderPK)
addDLFolder
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folderpublic void addDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder)
addDLFolder
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolder
- the document library folderpublic void addDLFolders(long pk, long[] dlFolderPKs)
addDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folderspublic void addDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
addDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolders
- the document library folderspublic void clearDLFolders(long pk)
clearDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type to clear the associated document library folders frompublic void removeDLFolder(long pk, long dlFolderPK)
removeDLFolder
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folderpublic void removeDLFolder(long pk, com.liferay.document.library.kernel.model.DLFolder dlFolder)
removeDLFolder
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolder
- the document library folderpublic void removeDLFolders(long pk, long[] dlFolderPKs)
removeDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folderspublic void removeDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
removeDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolders
- the document library folderspublic void setDLFolders(long pk, long[] dlFolderPKs)
setDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
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 typepublic void setDLFolders(long pk, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
setDLFolders
in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolders
- the document library folders to be associated with the document library file entry typepublic Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryType>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryType>
public void afterPropertiesSet()
public void destroy()