|
Liferay 6.1.10-ee-ga1 | |||||||||
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.DLFileEntryTypePersistenceImpl
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
Nested Class Summary | |
---|---|
protected class |
DLFileEntryTypePersistenceImpl.AddDDMStructure
|
protected class |
DLFileEntryTypePersistenceImpl.AddDLFolder
|
protected class |
DLFileEntryTypePersistenceImpl.ClearDDMStructures
|
protected class |
DLFileEntryTypePersistenceImpl.ClearDLFolders
|
protected class |
DLFileEntryTypePersistenceImpl.ContainsDDMStructure
|
protected class |
DLFileEntryTypePersistenceImpl.ContainsDLFolder
|
protected class |
DLFileEntryTypePersistenceImpl.RemoveDDMStructure
|
protected class |
DLFileEntryTypePersistenceImpl.RemoveDLFolder
|
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 |
addDDMStructure(long pk,
DDMStructure ddmStructure)
Adds an association between the document library file entry type and the d d m structure. |
void |
addDDMStructure(long pk,
long ddmStructurePK)
Adds an association between the document library file entry type and the d d m structure. |
void |
addDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Adds an association between the document library file entry type and the d d m structures. |
void |
addDDMStructures(long pk,
long[] ddmStructurePKs)
Adds an association between the document library file entry type and the d d m structures. |
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. |
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 |
clearDDMStructures(long pk)
Clears all associations between the document library file entry type and its d d m structures. |
void |
clearDLFolders(long pk)
Clears all associations between the document library file entry type and its document library folders. |
protected void |
clearUniqueFindersCache(DLFileEntryType dlFileEntryType)
|
boolean |
containsDDMStructure(long pk,
long ddmStructurePK)
Returns true if the d d m structure is associated with the document library file entry type. |
boolean |
containsDDMStructures(long pk)
Returns true if the document library file entry type has any d d m structures associated with it. |
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_N(long groupId,
String name)
Returns the number of document library file entry types where groupId = ? and name = ?. |
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_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_N(long groupId,
String name)
Returns the document library file entry type where groupId = ? and name = ? or returns null if it could not be found. |
DLFileEntryType |
fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
Returns the document library file entry type where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
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. |
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. |
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 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 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 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 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 orderByComparator)
Returns an ordered range of all the document library file entry types. |
DLFileEntryType |
findByG_N(long groupId,
String name)
Returns the document library file entry type where groupId = ? and name = ? or throws a NoSuchFileEntryTypeException if it could not be found. |
DLFileEntryType |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry type in the ordered set where groupId = ?. |
DLFileEntryType[] |
findByGroupId_PrevAndNext(long fileEntryTypeId,
long groupId,
OrderByComparator 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 orderByComparator)
Returns an ordered range of all the document library file entry types where groupId = any ?. |
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 orderByComparator)
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_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last document library file entry type in the ordered set where uuid = ?. |
DLFileEntryType[] |
findByUuid_PrevAndNext(long fileEntryTypeId,
String uuid,
OrderByComparator 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 orderByComparator)
Returns an ordered range of all the document library file entry types where uuid = ?. |
protected DLFileEntryType |
getByGroupId_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntryType |
getByUuid_PrevAndNext(Session session,
DLFileEntryType dlFileEntryType,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
List<DDMStructure> |
getDDMStructures(long pk)
Returns all the d d m structures associated with the document library file entry type. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end)
Returns a range of all the d d m structures associated with the document library file entry type. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structures associated with the document library file entry type. |
int |
getDDMStructuresSize(long pk)
Returns the number of d d m structures 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 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. |
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. |
void |
removeByG_N(long groupId,
String name)
Removes the document library file entry type where groupId = ? and name = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the document library file entry types where groupId = ? from the database. |
void |
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 |
removeDDMStructure(long pk,
DDMStructure ddmStructure)
Removes the association between the document library file entry type and the d d m structure. |
void |
removeDDMStructure(long pk,
long ddmStructurePK)
Removes the association between the document library file entry type and the d d m structure. |
void |
removeDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Removes the association between the document library file entry type and the d d m structures. |
void |
removeDDMStructures(long pk,
long[] ddmStructurePKs)
Removes the association between the document library file entry type and the d d m structures. |
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 |
setDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. |
void |
setDDMStructures(long pk,
long[] ddmStructurePKs)
Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. |
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,
boolean merge)
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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_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_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_N
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_GET_DLFOLDERS
public static final FinderPath FINDER_PATH_GET_DLFOLDERS_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_DLFOLDER
public static final FinderPath FINDER_PATH_GET_DDMSTRUCTURES
public static final FinderPath FINDER_PATH_GET_DDMSTRUCTURES_SIZE
public static final FinderPath FINDER_PATH_CONTAINS_DDMSTRUCTURE
@BeanReference(type=DLContentPersistence.class) protected DLContentPersistence dlContentPersistence
@BeanReference(type=DLFileEntryPersistence.class) protected DLFileEntryPersistence dlFileEntryPersistence
@BeanReference(type=DLFileEntryMetadataPersistence.class) protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
@BeanReference(type=DLFileEntryTypePersistence.class) protected DLFileEntryTypePersistence dlFileEntryTypePersistence
@BeanReference(type=DLFileRankPersistence.class) protected DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=DLFileShortcutPersistence.class) protected DLFileShortcutPersistence dlFileShortcutPersistence
@BeanReference(type=DLFileVersionPersistence.class) protected DLFileVersionPersistence dlFileVersionPersistence
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=DLSyncPersistence.class) protected DLSyncPersistence dlSyncPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=WorkflowDefinitionLinkPersistence.class) protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
protected DLFileEntryTypePersistenceImpl.ContainsDLFolder containsDLFolder
protected DLFileEntryTypePersistenceImpl.AddDLFolder addDLFolder
protected DLFileEntryTypePersistenceImpl.ClearDLFolders clearDLFolders
protected DLFileEntryTypePersistenceImpl.RemoveDLFolder removeDLFolder
protected DLFileEntryTypePersistenceImpl.ContainsDDMStructure containsDDMStructure
protected DLFileEntryTypePersistenceImpl.AddDDMStructure addDDMStructure
protected DLFileEntryTypePersistenceImpl.ClearDDMStructures clearDDMStructures
protected DLFileEntryTypePersistenceImpl.RemoveDDMStructure removeDDMStructure
Constructor Detail |
---|
public DLFileEntryTypePersistenceImpl()
Method Detail |
---|
public void cacheResult(DLFileEntryType dlFileEntryType)
cacheResult
in interface DLFileEntryTypePersistence
dlFileEntryType
- the document library file entry typepublic void cacheResult(List<DLFileEntryType> dlFileEntryTypes)
cacheResult
in interface DLFileEntryTypePersistence
dlFileEntryTypes
- 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 forprotected void clearUniqueFindersCache(DLFileEntryType dlFileEntryType)
public DLFileEntryType create(long fileEntryTypeId)
create
in interface DLFileEntryTypePersistence
fileEntryTypeId
- the primary key for the new document library file entry type
public DLFileEntryType remove(long fileEntryTypeId) throws NoSuchFileEntryTypeException, SystemException
remove
in interface DLFileEntryTypePersistence
fileEntryTypeId
- 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
SystemException
- if a system exception occurredpublic DLFileEntryType remove(Serializable primaryKey) throws NoSuchFileEntryTypeException, SystemException
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 found
SystemException
- if a system exception occurredprotected DLFileEntryType removeImpl(DLFileEntryType dlFileEntryType) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.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
SystemException
- if a system exception occurredpublic DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface DLFileEntryTypePersistence
updateImpl
in class BasePersistenceImpl<DLFileEntryType>
dlFileEntryType
- the model instance to updatemerge
- whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredprotected DLFileEntryType toUnwrappedModel(DLFileEntryType dlFileEntryType)
public DLFileEntryType findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
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
NoSuchModelException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType findByPrimaryKey(long fileEntryTypeId) throws NoSuchFileEntryTypeException, SystemException
NoSuchFileEntryTypeException
if it could not be found.
findByPrimaryKey
in interface DLFileEntryTypePersistence
fileEntryTypeId
- 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
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByPrimaryKey(Serializable primaryKey) throws SystemException
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 found
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface DLFileEntryTypePersistence
fileEntryTypeId
- 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 found
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByUuid(String uuid) throws SystemException
findByUuid
in interface DLFileEntryTypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByUuid(String uuid, int start, int end) throws SystemException
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.
findByUuid
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByUuid
in interface 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
)
SystemException
- if a system exception occurredpublic DLFileEntryType findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByUuid_First
in interface DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByUuid_Last
in interface DLFileEntryTypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId, String uuid, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByUuid_PrevAndNext
in interface DLFileEntryTypePersistence
fileEntryTypeId
- 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
SystemException
- if a system exception occurredprotected DLFileEntryType getByUuid_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, String uuid, OrderByComparator orderByComparator, boolean previous)
public DLFileEntryType findByUUID_G(String uuid, long groupId) throws NoSuchFileEntryTypeException, SystemException
NoSuchFileEntryTypeException
if it could not be found.
findByUUID_G
in interface DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group ID
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group ID
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface DLFileEntryTypePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByGroupId(long groupId, int start, int end) throws SystemException
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.
findByGroupId
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByGroupId
in interface 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
)
SystemException
- if a system exception occurredpublic DLFileEntryType findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByGroupId_First
in interface DLFileEntryTypePersistence
groupId
- 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
SystemException
- if a system exception occurredpublic DLFileEntryType findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByGroupId_Last
in interface DLFileEntryTypePersistence
groupId
- 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
SystemException
- if a system exception occurredpublic DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
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.
findByGroupId_PrevAndNext
in interface 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
)
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredprotected DLFileEntryType getByGroupId_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<DLFileEntryType> findByGroupId(long[] groupIds) throws SystemException
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.
findByGroupId
in interface DLFileEntryTypePersistence
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end) throws SystemException
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.
findByGroupId
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findByGroupId
in interface 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
)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface DLFileEntryTypePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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.
filterFindByGroupId
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
filterFindByGroupId
in interface 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
)
SystemException
- if a system exception occurredpublic DLFileEntryType[] filterFindByGroupId_PrevAndNext(long fileEntryTypeId, long groupId, OrderByComparator orderByComparator) throws NoSuchFileEntryTypeException, SystemException
filterFindByGroupId_PrevAndNext
in interface 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
)
NoSuchFileEntryTypeException
- if a document library file entry type with the primary key could not be found
SystemException
- if a system exception occurredprotected DLFileEntryType filterGetByGroupId_PrevAndNext(Session session, DLFileEntryType dlFileEntryType, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<DLFileEntryType> filterFindByGroupId(long[] groupIds) throws SystemException
filterFindByGroupId
in interface DLFileEntryTypePersistence
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic List<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end) throws SystemException
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.
filterFindByGroupId
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
filterFindByGroupId
in interface 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
)
SystemException
- if a system exception occurredpublic DLFileEntryType findByG_N(long groupId, String name) throws NoSuchFileEntryTypeException, SystemException
NoSuchFileEntryTypeException
if it could not be found.
findByG_N
in interface DLFileEntryTypePersistence
groupId
- the group IDname
- the name
NoSuchFileEntryTypeException
- if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByG_N(long groupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByG_N
in interface DLFileEntryTypePersistence
groupId
- the group IDname
- the name
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic DLFileEntryType fetchByG_N(long groupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByG_N
in interface DLFileEntryTypePersistence
groupId
- the group IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry type could not be found
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findAll() throws SystemException
findAll
in interface DLFileEntryTypePersistence
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findAll(int start, int end) throws SystemException
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.
findAll
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFileEntryType> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
findAll
in interface 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
)
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface DLFileEntryTypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchFileEntryTypeException, SystemException
removeByUUID_G
in interface DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFileEntryTypeException
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface DLFileEntryTypePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic void removeByG_N(long groupId, String name) throws NoSuchFileEntryTypeException, SystemException
removeByG_N
in interface DLFileEntryTypePersistence
groupId
- the group IDname
- the name
SystemException
- if a system exception occurred
NoSuchFileEntryTypeException
public void removeAll() throws SystemException
removeAll
in interface DLFileEntryTypePersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface DLFileEntryTypePersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface DLFileEntryTypePersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface DLFileEntryTypePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long[] groupIds) throws SystemException
countByGroupId
in interface DLFileEntryTypePersistence
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface DLFileEntryTypePersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long[] groupIds) throws SystemException
filterCountByGroupId
in interface DLFileEntryTypePersistence
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic int countByG_N(long groupId, String name) throws SystemException
countByG_N
in interface DLFileEntryTypePersistence
groupId
- the group IDname
- the name
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface DLFileEntryTypePersistence
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFolders(long pk) throws SystemException
getDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFolders(long pk, int start, int end) throws SystemException
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.
getDLFolders
in interface 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)
SystemException
- if a system exception occurredpublic List<DLFolder> getDLFolders(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getDLFolders
in interface 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
)
SystemException
- if a system exception occurredpublic int getDLFoldersSize(long pk) throws SystemException
getDLFoldersSize
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic boolean containsDLFolder(long pk, long dlFolderPK) throws SystemException
true
if the document library folder is associated with the document library file entry type.
containsDLFolder
in interface DLFileEntryTypePersistence
pk
- 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
otherwise
SystemException
- if a system exception occurredpublic boolean containsDLFolders(long pk) throws SystemException
true
if the document library file entry type has any document library folders associated with it.
containsDLFolders
in interface DLFileEntryTypePersistence
pk
- 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
SystemException
- if a system exception occurredpublic void addDLFolder(long pk, long dlFolderPK) throws SystemException
addDLFolder
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
SystemException
- if a system exception occurredpublic void addDLFolder(long pk, DLFolder dlFolder) throws SystemException
addDLFolder
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolder
- the document library folder
SystemException
- if a system exception occurredpublic void addDLFolders(long pk, long[] dlFolderPKs) throws SystemException
addDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders
SystemException
- if a system exception occurredpublic void addDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
addDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolders
- the document library folders
SystemException
- if a system exception occurredpublic void clearDLFolders(long pk) throws SystemException
clearDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type to clear the associated document library folders from
SystemException
- if a system exception occurredpublic void removeDLFolder(long pk, long dlFolderPK) throws SystemException
removeDLFolder
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPK
- the primary key of the document library folder
SystemException
- if a system exception occurredpublic void removeDLFolder(long pk, DLFolder dlFolder) throws SystemException
removeDLFolder
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolder
- the document library folder
SystemException
- if a system exception occurredpublic void removeDLFolders(long pk, long[] dlFolderPKs) throws SystemException
removeDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolderPKs
- the primary keys of the document library folders
SystemException
- if a system exception occurredpublic void removeDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
removeDLFolders
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typedlFolders
- the document library folders
SystemException
- if a system exception occurredpublic void setDLFolders(long pk, long[] dlFolderPKs) throws SystemException
setDLFolders
in interface 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 type
SystemException
- if a system exception occurredpublic void setDLFolders(long pk, List<DLFolder> dlFolders) throws SystemException
setDLFolders
in interface 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 type
SystemException
- if a system exception occurredpublic List<DDMStructure> getDDMStructures(long pk) throws SystemException
getDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic List<DDMStructure> getDDMStructures(long pk, int start, int end) throws SystemException
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.
getDDMStructures
in interface 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)
SystemException
- if a system exception occurredpublic List<DDMStructure> getDDMStructures(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
getDDMStructures
in interface 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
)
SystemException
- if a system exception occurredpublic int getDDMStructuresSize(long pk) throws SystemException
getDDMStructuresSize
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic boolean containsDDMStructure(long pk, long ddmStructurePK) throws SystemException
true
if the d d m structure is associated with the document library file entry type.
containsDDMStructure
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
true
if the d d m structure is associated with the document library file entry type; false
otherwise
SystemException
- if a system exception occurredpublic boolean containsDDMStructures(long pk) throws SystemException
true
if the document library file entry type has any d d m structures associated with it.
containsDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type to check for associations with d d m structures
true
if the document library file entry type has any d d m structures associated with it; false
otherwise
SystemException
- if a system exception occurredpublic void addDDMStructure(long pk, long ddmStructurePK) throws SystemException
addDDMStructure
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic void addDDMStructure(long pk, DDMStructure ddmStructure) throws SystemException
addDDMStructure
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructure
- the d d m structure
SystemException
- if a system exception occurredpublic void addDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
addDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures
SystemException
- if a system exception occurredpublic void addDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
addDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures
SystemException
- if a system exception occurredpublic void clearDDMStructures(long pk) throws SystemException
clearDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry type to clear the associated d d m structures from
SystemException
- if a system exception occurredpublic void removeDDMStructure(long pk, long ddmStructurePK) throws SystemException
removeDDMStructure
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePK
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic void removeDDMStructure(long pk, DDMStructure ddmStructure) throws SystemException
removeDDMStructure
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructure
- the d d m structure
SystemException
- if a system exception occurredpublic void removeDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
removeDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures
SystemException
- if a system exception occurredpublic void removeDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
removeDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures
SystemException
- if a system exception occurredpublic void setDDMStructures(long pk, long[] ddmStructurePKs) throws SystemException
setDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructurePKs
- the primary keys of the d d m structures to be associated with the document library file entry type
SystemException
- if a system exception occurredpublic void setDDMStructures(long pk, List<DDMStructure> ddmStructures) throws SystemException
setDDMStructures
in interface DLFileEntryTypePersistence
pk
- the primary key of the document library file entry typeddmStructures
- the d d m structures to be associated with the document library file entry type
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |