|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntryType>
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl
@ProviderType public class DLFileEntryTypePersistenceImpl
The persistence implementation for the document library file entry type service.
Caching information and settings can be found in portal.properties
DLFileEntryTypePersistence,
DLFileEntryTypeUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DLFileEntryTypePersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addDLFolder(long pk,
DLFolder dlFolder)
Adds an association between the document library file entry type and the document library folder. |
void |
addDLFolder(long pk,
long dlFolderPK)
Adds an association between the document library file entry type and the document library folder. |
void |
addDLFolders(long pk,
List<DLFolder> dlFolders)
Adds an association between the document library file entry type and the document library folders. |
void |
addDLFolders(long pk,
long[] dlFolderPKs)
Adds an association between the document library file entry type and the document library folders. |
void |
afterPropertiesSet()
Initializes the document library file entry type persistence. |
void |
cacheResult(DLFileEntryType dlFileEntryType)
Caches the document library file entry type in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileEntryType> dlFileEntryTypes)
Caches the document library file entry types in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all document library file entry types. |
void |
clearCache(DLFileEntryType dlFileEntryType)
Clears the cache for the document library file entry type. |
void |
clearCache(List<DLFileEntryType> dlFileEntryTypes)
Clears the cache for a List instances of this model. |
void |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders. |
protected void |
clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl)
|
boolean |
containsDLFolder(long pk,
long dlFolderPK)
Returns true if the document library folder is associated with the document library file entry type. |
boolean |
containsDLFolders(long pk)
Returns true if the document library file entry type has any document library folders associated with it. |
int |
countAll()
Returns the number of document library file entry types. |
int |
countByG_F(long groupId,
String fileEntryTypeKey)
Returns the number of document library file entry types where groupId = ? and fileEntryTypeKey = ?. |
int |
countByGroupId(long groupId)
Returns the number of document library file entry types where groupId = ?. |
int |
countByGroupId(long[] groupIds)
Returns the number of document library file entry types where groupId = any ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file entry types where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file entry types where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file entry types where uuid = ?. |
DLFileEntryType |
create(long fileEntryTypeId)
Creates a new document library file entry type with the primary key. |
void |
destroy()
|
DLFileEntryType |
fetchByG_F(long groupId,
String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found. |
DLFileEntryType |
fetchByG_F(long groupId,
String fileEntryTypeKey,
boolean retrieveFromCache)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryType |
fetchByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
fetchByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
fetchByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or returns null if it could not be found. |
DLFileEntryType |
fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file entry type with the primary key or returns null if it could not be found. |
Map<Serializable,DLFileEntryType> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
DLFileEntryType |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryType |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryType |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found. |
DLFileEntryType |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file entry type where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryType |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of document library file entry types that the user has permission to view where groupId = ?. |
int |
filterCountByGroupId(long[] groupIds)
Returns the number of document library file entry types that the user has permission to view where groupId = any ?. |
DLFileEntryType[] |
filterFindByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId)
Returns all the document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds)
Returns all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entry types that the user has permission to view where groupId = ?. |
List<DLFileEntryType> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = ?. |
protected DLFileEntryType |
filterGetByGroupId_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
|
List<DLFileEntryType> |
findAll()
Returns all the document library file entry types. |
List<DLFileEntryType> |
findAll(int start,
int end)
Returns a range of all the document library file entry types. |
List<DLFileEntryType> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types. |
List<DLFileEntryType> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types. |
DLFileEntryType |
findByG_F(long groupId,
String fileEntryTypeKey)
Returns the document library file entry type where groupId = ? and fileEntryTypeKey = ? or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
findByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType[] |
findByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long groupId)
Returns all the document library file entry types where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds)
Returns all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = any ?. |
List<DLFileEntryType> |
findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where groupId = ?, optionally using the finder cache. |
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entry types where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = ?. |
List<DLFileEntryType> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where groupId = ?. |
DLFileEntryType |
findByPrimaryKey(long fileEntryTypeId)
Returns the document library file entry type with the primary key or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file entry type with the primary key or throws a NoSuchModelException if it could not be found. |
DLFileEntryType |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryType |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryType[] |
findByUuid_C_PrevAndNext(long fileEntryTypeId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ? and companyId = ?. |
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entry types where uuid = ? and companyId = ?. |
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ? and companyId = ?. |
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?. |
List<DLFileEntryType> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ? and companyId = ?. |
DLFileEntryType |
findByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the first document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType |
findByUUID_G(String uuid,
long groupId)
Returns the document library file entry type where uuid = ? and groupId = ? or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType[] |
findByUuid_PrevAndNext(long fileEntryTypeId,
String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid)
Returns all the document library file entry types where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entry types where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ?. |
List<DLFileEntryType> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry types where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected DLFileEntryType |
getByGroupId_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
|
protected DLFileEntryType |
getByUuid_C_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
|
protected DLFileEntryType |
getByUuid_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
String uuid,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
|
long[] |
getDLFolderPrimaryKeys(long pk)
Returns the primaryKeys of document library folders associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk)
Returns all the document library folders associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk,
int start,
int end)
Returns a range of all the document library folders associated with the document library file entry type. |
List<DLFolder> |
getDLFolders(long pk,
int start,
int end,
OrderByComparator<DLFolder> orderByComparator)
Returns an ordered range of all the document library folders associated with the document library file entry type. |
int |
getDLFoldersSize(long pk)
Returns the number of document library folders associated with the document library file entry type. |
protected Map<String,Integer> |
getTableColumnsMap()
|
DLFileEntryType |
remove(long fileEntryTypeId)
Removes the document library file entry type with the primary key from the database. |
DLFileEntryType |
remove(Serializable primaryKey)
Removes the document library file entry type with the primary key from the database. |
void |
removeAll()
Removes all the document library file entry types from the database. |
DLFileEntryType |
removeByG_F(long groupId,
String fileEntryTypeKey)
Removes the document library file entry type where groupId = ? and fileEntryTypeKey = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entry types where uuid = ? and companyId = ? from the database. |
DLFileEntryType |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file entry type where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file entry types where uuid = ? from the database. |
void |
removeDLFolder(long pk,
DLFolder dlFolder)
Removes the association between the document library file entry type and the document library folder. |
void |
removeDLFolder(long pk,
long dlFolderPK)
Removes the association between the document library file entry type and the document library folder. |
void |
removeDLFolders(long pk,
List<DLFolder> dlFolders)
Removes the association between the document library file entry type and the document library folders. |
void |
removeDLFolders(long pk,
long[] dlFolderPKs)
Removes the association between the document library file entry type and the document library folders. |
protected DLFileEntryType |
removeImpl(DLFileEntryType dlFileEntryType)
Removes the model instance from the database. |
void |
setDLFolders(long pk,
List<DLFolder> dlFolders)
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. |
void |
setDLFolders(long pk,
long[] dlFolderPKs)
Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. |
protected DLFileEntryType |
toUnwrappedModel(DLFileEntryType dlFileEntryType)
|
DLFileEntryType |
updateImpl(DLFileEntryType dlFileEntryType)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
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
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_G_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_F
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
protected TableMapper<DLFileEntryType,DLFolder> dlFileEntryTypeToDLFolderTableMapper
| Constructor Detail |
|---|
public DLFileEntryTypePersistenceImpl()
| Method Detail |
|---|
public List<DLFileEntryType> findByUuid(String uuid)
findByUuid in interface DLFileEntryTypePersistenceuuid - the uuid
public List<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 DLFileEntryTypePersistenceuuid - 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<DLFileEntryType> findByUuid(String uuid,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistenceuuid - 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<DLFileEntryType> findByUuid(String uuid,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistenceuuid - 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 cache
public DLFileEntryType findByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_First in interface DLFileEntryTypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByUuid_First in interface DLFileEntryTypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry type could not be found
public DLFileEntryType findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_Last in interface DLFileEntryTypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByUuid_Last in interface DLFileEntryTypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry type could not be found
public DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId,
String uuid,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_PrevAndNext in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the current document library file entry typeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
protected DLFileEntryType getByUuid_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
String uuid,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface DLFileEntryTypePersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface DLFileEntryTypePersistenceuuid - the uuid
public DLFileEntryType findByUUID_G(String uuid,
long groupId)
throws NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.
findByUUID_G in interface DLFileEntryTypePersistenceuuid - the uuidgroupId - the group ID
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DLFileEntryTypePersistenceuuid - the uuidgroupId - the group ID
null if a matching document library file entry type could not be found
public 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 DLFileEntryTypePersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file entry type could not be found
public DLFileEntryType removeByUUID_G(String uuid,
long groupId)
throws NoSuchFileEntryTypeException
removeByUUID_G in interface DLFileEntryTypePersistenceuuid - the uuidgroupId - the group ID
NoSuchFileEntryTypeException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface DLFileEntryTypePersistenceuuid - the uuidgroupId - the group ID
public List<DLFileEntryType> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface DLFileEntryTypePersistenceuuid - the uuidcompanyId - the company ID
public List<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 DLFileEntryTypePersistenceuuid - 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<DLFileEntryType> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistenceuuid - 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<DLFileEntryType> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistenceuuid - 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 cache
public DLFileEntryType findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_C_First in interface DLFileEntryTypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByUuid_C_First in interface DLFileEntryTypePersistenceuuid - 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 found
public DLFileEntryType findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_C_Last in interface DLFileEntryTypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByUuid_C_Last in interface DLFileEntryTypePersistenceuuid - 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 found
public DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByUuid_C_PrevAndNext in interface DLFileEntryTypePersistencefileEntryTypeId - 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)
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
protected DLFileEntryType getByUuid_C_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
String uuid,
long companyId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface DLFileEntryTypePersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface DLFileEntryTypePersistenceuuid - the uuidcompanyId - the company ID
public List<DLFileEntryType> findByGroupId(long groupId)
findByGroupId in interface DLFileEntryTypePersistencegroupId - the group ID
public List<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 DLFileEntryTypePersistencegroupId - 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<DLFileEntryType> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupId - 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<DLFileEntryType> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupId - 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 cache
public DLFileEntryType findByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByGroupId_First in interface DLFileEntryTypePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByGroupId_First(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByGroupId_First in interface DLFileEntryTypePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry type could not be found
public DLFileEntryType findByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByGroupId_Last in interface DLFileEntryTypePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByGroupId_Last(long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
fetchByGroupId_Last in interface DLFileEntryTypePersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry type could not be found
public DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
findByGroupId_PrevAndNext in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the current document library file entry typegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
protected DLFileEntryType getByGroupId_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
public List<DLFileEntryType> filterFindByGroupId(long groupId)
filterFindByGroupId in interface DLFileEntryTypePersistencegroupId - the group ID
public List<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 DLFileEntryTypePersistencegroupId - 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<DLFileEntryType> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupId - 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 DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator)
throws NoSuchFileEntryTypeException
filterFindByGroupId_PrevAndNext in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the current document library file entry typegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
protected DLFileEntryType filterGetByGroupId_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
long groupId,
OrderByComparator<DLFileEntryType> orderByComparator,
boolean previous)
public List<DLFileEntryType> filterFindByGroupId(long[] groupIds)
filterFindByGroupId in interface DLFileEntryTypePersistencegroupIds - the group IDs
public List<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 DLFileEntryTypePersistencegroupIds - 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<DLFileEntryType> filterFindByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupIds - 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<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 DLFileEntryTypePersistencegroupIds - the group IDs
public List<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 DLFileEntryTypePersistencegroupIds - 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<DLFileEntryType> findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupIds - 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<DLFileEntryType> findByGroupId(long[] groupIds,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencegroupId - 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 cache
public void removeByGroupId(long groupId)
removeByGroupId in interface DLFileEntryTypePersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface DLFileEntryTypePersistencegroupId - the group ID
public int countByGroupId(long[] groupIds)
countByGroupId in interface DLFileEntryTypePersistencegroupIds - the group IDs
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface DLFileEntryTypePersistencegroupId - the group ID
public int filterCountByGroupId(long[] groupIds)
filterCountByGroupId in interface DLFileEntryTypePersistencegroupIds - the group IDs
public DLFileEntryType findByG_F(long groupId,
String fileEntryTypeKey)
throws NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.
findByG_F in interface DLFileEntryTypePersistencegroupId - the group IDfileEntryTypeKey - the file entry type key
NoSuchFileEntryTypeException - if a matching document library file entry type could not be found
public DLFileEntryType fetchByG_F(long groupId,
String fileEntryTypeKey)
null if it could not be found. Uses the finder cache.
fetchByG_F in interface DLFileEntryTypePersistencegroupId - the group IDfileEntryTypeKey - the file entry type key
null if a matching document library file entry type could not be found
public 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 DLFileEntryTypePersistencegroupId - the group IDfileEntryTypeKey - the file entry type keyretrieveFromCache - whether to retrieve from the finder cache
null if a matching document library file entry type could not be found
public DLFileEntryType removeByG_F(long groupId,
String fileEntryTypeKey)
throws NoSuchFileEntryTypeException
removeByG_F in interface DLFileEntryTypePersistencegroupId - the group IDfileEntryTypeKey - the file entry type key
NoSuchFileEntryTypeException
public int countByG_F(long groupId,
String fileEntryTypeKey)
countByG_F in interface DLFileEntryTypePersistencegroupId - the group IDfileEntryTypeKey - the file entry type key
public void cacheResult(DLFileEntryType dlFileEntryType)
cacheResult in interface DLFileEntryTypePersistencedlFileEntryType - the document library file entry typepublic void cacheResult(List<DLFileEntryType> dlFileEntryTypes)
cacheResult in interface DLFileEntryTypePersistencedlFileEntryTypes - the document library file entry typespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntryType>clearCache in class BasePersistenceImpl<DLFileEntryType>public void clearCache(DLFileEntryType dlFileEntryType)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntryType>clearCache in class BasePersistenceImpl<DLFileEntryType>dlFileEntryType - the instance of this model to clear the cache forpublic void clearCache(List<DLFileEntryType> dlFileEntryTypes)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DLFileEntryType>clearCache in class BasePersistenceImpl<DLFileEntryType>dlFileEntryTypes - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(DLFileEntryTypeModelImpl dlFileEntryTypeModelImpl)
public DLFileEntryType create(long fileEntryTypeId)
create in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key for the new document library file entry type
public DLFileEntryType remove(long fileEntryTypeId)
throws NoSuchFileEntryTypeException
remove in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the document library file entry type
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
public DLFileEntryType remove(Serializable primaryKey)
throws NoSuchFileEntryTypeException
remove in interface BasePersistence<DLFileEntryType>remove in class BasePersistenceImpl<DLFileEntryType>primaryKey - the primary key of the document library file entry type
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be foundprotected DLFileEntryType removeImpl(DLFileEntryType dlFileEntryType)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileEntryType>dlFileEntryType - the model instance to remove
public DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileEntryTypePersistenceupdateImpl in class BasePersistenceImpl<DLFileEntryType>dlFileEntryType - the model instance to update
protected DLFileEntryType toUnwrappedModel(DLFileEntryType dlFileEntryType)
public DLFileEntryType findByPrimaryKey(Serializable primaryKey)
throws NoSuchFileEntryTypeException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileEntryType>findByPrimaryKey in class BasePersistenceImpl<DLFileEntryType>primaryKey - the primary key of the document library file entry type
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be found
public DLFileEntryType findByPrimaryKey(long fileEntryTypeId)
throws NoSuchFileEntryTypeException
NoSuchFileEntryTypeException if it could not be found.
findByPrimaryKey in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the document library file entry type
NoSuchFileEntryTypeException - if a document library file entry type with the primary key could not be foundpublic DLFileEntryType fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileEntryType>fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntryType>primaryKey - the primary key of the document library file entry type
null if a document library file entry type with the primary key could not be foundpublic DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId)
null if it could not be found.
fetchByPrimaryKey in interface DLFileEntryTypePersistencefileEntryTypeId - the primary key of the document library file entry type
null if a document library file entry type with the primary key could not be foundpublic Map<Serializable,DLFileEntryType> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DLFileEntryType>fetchByPrimaryKeys in interface DLFileEntryTypePersistencefetchByPrimaryKeys in class BasePersistenceImpl<DLFileEntryType>public List<DLFileEntryType> findAll()
findAll in interface DLFileEntryTypePersistence
public List<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 DLFileEntryTypePersistencestart - 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<DLFileEntryType> findAll(int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencestart - 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<DLFileEntryType> findAll(int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencestart - 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 cache
public void removeAll()
removeAll in interface DLFileEntryTypePersistencepublic int countAll()
countAll in interface DLFileEntryTypePersistencepublic long[] getDLFolderPrimaryKeys(long pk)
getDLFolderPrimaryKeys in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry type
public List<DLFolder> getDLFolders(long pk)
getDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry type
public List<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 DLFileEntryTypePersistencepk - 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<DLFolder> getDLFolders(long pk,
int start,
int end,
OrderByComparator<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 DLFileEntryTypePersistencepk - 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 DLFileEntryTypePersistencepk - the primary key of the document library file entry type
public boolean containsDLFolder(long pk,
long dlFolderPK)
true if the document library folder is associated with the document library file entry type.
containsDLFolder in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolderPK - the primary key of the document library folder
true 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 DLFileEntryTypePersistencepk - the primary key of the document library file entry type to check for associations with document library folders
true if the document library file entry type has any document library folders associated with it; false otherwise
public void addDLFolder(long pk,
long dlFolderPK)
addDLFolder in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolderPK - the primary key of the document library folder
public void addDLFolder(long pk,
DLFolder dlFolder)
addDLFolder in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolder - the document library folder
public void addDLFolders(long pk,
long[] dlFolderPKs)
addDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolderPKs - the primary keys of the document library folders
public void addDLFolders(long pk,
List<DLFolder> dlFolders)
addDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolders - the document library folderspublic void clearDLFolders(long pk)
clearDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry type to clear the associated document library folders from
public void removeDLFolder(long pk,
long dlFolderPK)
removeDLFolder in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolderPK - the primary key of the document library folder
public void removeDLFolder(long pk,
DLFolder dlFolder)
removeDLFolder in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolder - the document library folder
public void removeDLFolders(long pk,
long[] dlFolderPKs)
removeDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolderPKs - the primary keys of the document library folders
public void removeDLFolders(long pk,
List<DLFolder> dlFolders)
removeDLFolders in interface DLFileEntryTypePersistencepk - the primary key of the document library file entry typedlFolders - the document library folders
public void setDLFolders(long pk,
long[] dlFolderPKs)
setDLFolders in interface DLFileEntryTypePersistencepk - 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
public void setDLFolders(long pk,
List<DLFolder> dlFolders)
setDLFolders in interface DLFileEntryTypePersistencepk - 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 BasePersistence<DLFileEntryType>getBadColumnNames in interface DLFileEntryTypePersistencegetBadColumnNames in class BasePersistenceImpl<DLFileEntryType>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<DLFileEntryType>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||