Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.service.persistence
Class DDMStructurePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DDMStructure>
      extended by com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DDMStructure>, DDMStructurePersistence

public class DDMStructurePersistenceImpl
extends BasePersistenceImpl<DDMStructure>
implements DDMStructurePersistence

The persistence implementation for the d d m structure service.

Caching information and settings can be found in portal.properties

See Also:
DDMStructurePersistence, DDMStructureUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Nested Class Summary
protected  class DDMStructurePersistenceImpl.AddDLFileEntryType
           
protected  class DDMStructurePersistenceImpl.ClearDLFileEntryTypes
           
protected  class DDMStructurePersistenceImpl.ContainsDLFileEntryType
           
protected  class DDMStructurePersistenceImpl.RemoveDLFileEntryType
           
 
Field Summary
protected  DDMStructurePersistenceImpl.AddDLFileEntryType addDLFileEntryType
           
protected  DDMStructurePersistenceImpl.ClearDLFileEntryTypes clearDLFileEntryTypes
           
protected  DDMStructurePersistenceImpl.ContainsDLFileEntryType containsDLFileEntryType
           
protected  DDMContentPersistence ddmContentPersistence
           
protected  DDMStorageLinkPersistence ddmStorageLinkPersistence
           
protected  DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  DDMStructurePersistence ddmStructurePersistence
           
protected  DDMTemplatePersistence ddmTemplatePersistence
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_CONTAINS_DLFILEENTRYTYPE
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_D
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_S
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES
           
static FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES_SIZE
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_D
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_D
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  DDMStructurePersistenceImpl.RemoveDLFileEntryType removeDLFileEntryType
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
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
DDMStructurePersistenceImpl()
           
 
Method Summary
 void addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType)
          Adds an association between the d d m structure and the document library file entry type.
 void addDLFileEntryType(long pk, long dlFileEntryTypePK)
          Adds an association between the d d m structure and the document library file entry type.
 void addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes)
          Adds an association between the d d m structure and the document library file entry types.
 void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
          Adds an association between the d d m structure and the document library file entry types.
 void afterPropertiesSet()
          Initializes the d d m structure persistence.
 void cacheResult(DDMStructure ddmStructure)
          Caches the d d m structure in the entity cache if it is enabled.
 void cacheResult(List<DDMStructure> ddmStructures)
          Caches the d d m structures in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(DDMStructure ddmStructure)
           
 void clearCache()
          Clears the cache for all d d m structures.
 void clearCache(DDMStructure ddmStructure)
          Clears the cache for the d d m structure.
 void clearCache(List<DDMStructure> ddmStructures)
          Clears the cache for a List instances of this model.
 void clearDLFileEntryTypes(long pk)
          Clears all associations between the d d m structure and its document library file entry types.
protected  void clearUniqueFindersCache(DDMStructure ddmStructure)
           
 boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK)
          Returns true if the document library file entry type is associated with the d d m structure.
 boolean containsDLFileEntryTypes(long pk)
          Returns true if the d d m structure has any document library file entry types associated with it.
 int countAll()
          Returns the number of d d m structures.
 int countByC_C(long companyId, long classNameId)
          Returns the number of d d m structures where companyId = ? and classNameId = ?.
 int countByClassNameId(long classNameId)
          Returns the number of d d m structures where classNameId = ?.
 int countByG_N_D(long groupId, String name, String description)
          Returns the number of d d m structures where groupId = ? and name = ? and description = ?.
 int countByG_S(long groupId, String structureKey)
          Returns the number of d d m structures where groupId = ? and structureKey = ?.
 int countByGroupId(long groupId)
          Returns the number of d d m structures where groupId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of d d m structures where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of d d m structures where uuid = ?.
 DDMStructure create(long structureId)
          Creates a new d d m structure with the primary key.
 void destroy()
           
 DDMStructure fetchByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
 DDMStructure fetchByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
 DDMStructure fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where classNameId = ?.
 DDMStructure fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where classNameId = ?.
 DDMStructure fetchByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
 DDMStructure fetchByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
 DDMStructure fetchByG_S(long groupId, String structureKey)
          Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found.
 DDMStructure fetchByG_S(long groupId, String structureKey, boolean retrieveFromCache)
          Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found, optionally using the finder cache.
 DDMStructure fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ?.
 DDMStructure fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ?.
 DDMStructure fetchByPrimaryKey(long structureId)
          Returns the d d m structure with the primary key or returns null if it could not be found.
 DDMStructure fetchByPrimaryKey(Serializable primaryKey)
          Returns the d d m structure with the primary key or returns null if it could not be found.
 DDMStructure fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ?.
 DDMStructure fetchByUUID_G(String uuid, long groupId)
          Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found.
 DDMStructure fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 DDMStructure fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ?.
 int filterCountByG_N_D(long groupId, String name, String description)
          Returns the number of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of d d m structures that the user has permission to view where groupId = ?.
 DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
 List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description)
          Returns all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
 List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
 List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and name = ? and description = ?.
 DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ?.
 List<DDMStructure> filterFindByGroupId(long groupId)
          Returns all the d d m structures that the user has permission to view where groupId = ?.
 List<DDMStructure> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = ?.
 List<DDMStructure> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?.
protected  DDMStructure filterGetByG_N_D_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, String name, String description, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure filterGetByGroupId_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<DDMStructure> findAll()
          Returns all the d d m structures.
 List<DDMStructure> findAll(int start, int end)
          Returns a range of all the d d m structures.
 List<DDMStructure> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures.
 DDMStructure findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
 DDMStructure findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
 DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?.
 List<DDMStructure> findByC_C(long companyId, long classNameId)
          Returns all the d d m structures where companyId = ? and classNameId = ?.
 List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end)
          Returns a range of all the d d m structures where companyId = ? and classNameId = ?.
 List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?.
 DDMStructure findByClassNameId_First(long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where classNameId = ?.
 DDMStructure findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where classNameId = ?.
 DDMStructure[] findByClassNameId_PrevAndNext(long structureId, long classNameId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?.
 List<DDMStructure> findByClassNameId(long classNameId)
          Returns all the d d m structures where classNameId = ?.
 List<DDMStructure> findByClassNameId(long classNameId, int start, int end)
          Returns a range of all the d d m structures where classNameId = ?.
 List<DDMStructure> findByClassNameId(long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where classNameId = ?.
 DDMStructure findByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
 DDMStructure findByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
 DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
 List<DDMStructure> findByG_N_D(long groupId, String name, String description)
          Returns all the d d m structures where groupId = ? and name = ? and description = ?.
 List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end)
          Returns a range of all the d d m structures where groupId = ? and name = ? and description = ?.
 List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?.
 DDMStructure findByG_S(long groupId, String structureKey)
          Returns the d d m structure where groupId = ? and structureKey = ? or throws a NoSuchStructureException if it could not be found.
 DDMStructure findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ?.
 DDMStructure findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ?.
 DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?.
 List<DDMStructure> findByGroupId(long groupId)
          Returns all the d d m structures where groupId = ?.
 List<DDMStructure> findByGroupId(long groupId, int start, int end)
          Returns a range of all the d d m structures where groupId = ?.
 List<DDMStructure> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ?.
 DDMStructure findByPrimaryKey(long structureId)
          Returns the d d m structure with the primary key or throws a NoSuchStructureException if it could not be found.
 DDMStructure findByPrimaryKey(Serializable primaryKey)
          Returns the d d m structure with the primary key or throws a NoSuchModelException if it could not be found.
 DDMStructure findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ?.
 DDMStructure findByUUID_G(String uuid, long groupId)
          Returns the d d m structure where uuid = ? and groupId = ? or throws a NoSuchStructureException if it could not be found.
 DDMStructure findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ?.
 DDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?.
 List<DDMStructure> findByUuid(String uuid)
          Returns all the d d m structures where uuid = ?.
 List<DDMStructure> findByUuid(String uuid, int start, int end)
          Returns a range of all the d d m structures where uuid = ?.
 List<DDMStructure> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where uuid = ?.
protected  DDMStructure getByC_C_PrevAndNext(Session session, DDMStructure ddmStructure, long companyId, long classNameId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByClassNameId_PrevAndNext(Session session, DDMStructure ddmStructure, long classNameId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByG_N_D_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, String name, String description, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByGroupId_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByUuid_PrevAndNext(Session session, DDMStructure ddmStructure, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 List<DLFileEntryType> getDLFileEntryTypes(long pk)
          Returns all the document library file entry types associated with the d d m structure.
 List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end)
          Returns a range of all the document library file entry types associated with the d d m structure.
 List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entry types associated with the d d m structure.
 int getDLFileEntryTypesSize(long pk)
          Returns the number of document library file entry types associated with the d d m structure.
 DDMStructure remove(long structureId)
          Removes the d d m structure with the primary key from the database.
 DDMStructure remove(Serializable primaryKey)
          Removes the d d m structure with the primary key from the database.
 void removeAll()
          Removes all the d d m structures from the database.
 void removeByC_C(long companyId, long classNameId)
          Removes all the d d m structures where companyId = ? and classNameId = ? from the database.
 void removeByClassNameId(long classNameId)
          Removes all the d d m structures where classNameId = ? from the database.
 void removeByG_N_D(long groupId, String name, String description)
          Removes all the d d m structures where groupId = ? and name = ? and description = ? from the database.
 DDMStructure removeByG_S(long groupId, String structureKey)
          Removes the d d m structure where groupId = ? and structureKey = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the d d m structures where groupId = ? from the database.
 DDMStructure removeByUUID_G(String uuid, long groupId)
          Removes the d d m structure where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the d d m structures where uuid = ? from the database.
 void removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType)
          Removes the association between the d d m structure and the document library file entry type.
 void removeDLFileEntryType(long pk, long dlFileEntryTypePK)
          Removes the association between the d d m structure and the document library file entry type.
 void removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes)
          Removes the association between the d d m structure and the document library file entry types.
 void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
          Removes the association between the d d m structure and the document library file entry types.
protected  DDMStructure removeImpl(DDMStructure ddmStructure)
          Removes the model instance from the database.
 void setDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes)
          Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary.
 void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
          Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary.
protected  DDMStructure toUnwrappedModel(DDMStructure ddmStructure)
           
 DDMStructure updateImpl(DDMStructure ddmStructure, 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, getClassLoader, 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

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID

FINDER_PATH_COUNT_BY_CLASSNAMEID

public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID

FINDER_PATH_FETCH_BY_G_S

public static final FinderPath FINDER_PATH_FETCH_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_C_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_D

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_D

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_D

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_D

FINDER_PATH_COUNT_BY_G_N_D

public static final FinderPath FINDER_PATH_COUNT_BY_G_N_D

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_DLFILEENTRYTYPES

public static final FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES

FINDER_PATH_GET_DLFILEENTRYTYPES_SIZE

public static final FinderPath FINDER_PATH_GET_DLFILEENTRYTYPES_SIZE

FINDER_PATH_CONTAINS_DLFILEENTRYTYPE

public static final FinderPath FINDER_PATH_CONTAINS_DLFILEENTRYTYPE

ddmContentPersistence

@BeanReference(type=DDMContentPersistence.class)
protected DDMContentPersistence ddmContentPersistence

ddmStorageLinkPersistence

@BeanReference(type=DDMStorageLinkPersistence.class)
protected DDMStorageLinkPersistence ddmStorageLinkPersistence

ddmStructurePersistence

@BeanReference(type=DDMStructurePersistence.class)
protected DDMStructurePersistence ddmStructurePersistence

ddmStructureLinkPersistence

@BeanReference(type=DDMStructureLinkPersistence.class)
protected DDMStructureLinkPersistence ddmStructureLinkPersistence

ddmTemplatePersistence

@BeanReference(type=DDMTemplatePersistence.class)
protected DDMTemplatePersistence ddmTemplatePersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

dlFileEntryTypePersistence

@BeanReference(type=DLFileEntryTypePersistence.class)
protected DLFileEntryTypePersistence dlFileEntryTypePersistence

containsDLFileEntryType

protected DDMStructurePersistenceImpl.ContainsDLFileEntryType containsDLFileEntryType

addDLFileEntryType

protected DDMStructurePersistenceImpl.AddDLFileEntryType addDLFileEntryType

clearDLFileEntryTypes

protected DDMStructurePersistenceImpl.ClearDLFileEntryTypes clearDLFileEntryTypes

removeDLFileEntryType

protected DDMStructurePersistenceImpl.RemoveDLFileEntryType removeDLFileEntryType
Constructor Detail

DDMStructurePersistenceImpl

public DDMStructurePersistenceImpl()
Method Detail

cacheResult

public void cacheResult(DDMStructure ddmStructure)
Caches the d d m structure in the entity cache if it is enabled.

Specified by:
cacheResult in interface DDMStructurePersistence
Parameters:
ddmStructure - the d d m structure

cacheResult

public void cacheResult(List<DDMStructure> ddmStructures)
Caches the d d m structures in the entity cache if it is enabled.

Specified by:
cacheResult in interface DDMStructurePersistence
Parameters:
ddmStructures - the d d m structures

clearCache

public void clearCache()
Clears the cache for all d d m structures.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DDMStructure>
Overrides:
clearCache in class BasePersistenceImpl<DDMStructure>

clearCache

public void clearCache(DDMStructure ddmStructure)
Clears the cache for the d d m structure.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DDMStructure>
Overrides:
clearCache in class BasePersistenceImpl<DDMStructure>
Parameters:
ddmStructure - the instance of this model to clear the cache for

clearCache

public void clearCache(List<DDMStructure> ddmStructures)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DDMStructure>
Overrides:
clearCache in class BasePersistenceImpl<DDMStructure>
Parameters:
ddmStructures - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(DDMStructure ddmStructure)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DDMStructure ddmStructure)

create

public DDMStructure create(long structureId)
Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.

Specified by:
create in interface DDMStructurePersistence
Parameters:
structureId - the primary key for the new d d m structure
Returns:
the new d d m structure

remove

public DDMStructure remove(long structureId)
                    throws NoSuchStructureException,
                           SystemException
Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the d d m structure
Returns:
the d d m structure that was removed
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

remove

public DDMStructure remove(Serializable primaryKey)
                    throws NoSuchStructureException,
                           SystemException
Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<DDMStructure>
Overrides:
remove in class BasePersistenceImpl<DDMStructure>
Parameters:
primaryKey - the primary key of the d d m structure
Returns:
the d d m structure that was removed
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected DDMStructure removeImpl(DDMStructure ddmStructure)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<DDMStructure>
Parameters:
ddmStructure - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public DDMStructure updateImpl(DDMStructure ddmStructure,
                               boolean merge)
                        throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface DDMStructurePersistence
Overrides:
updateImpl in class BasePersistenceImpl<DDMStructure>
Parameters:
ddmStructure - the model instance to update
merge - 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.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected DDMStructure toUnwrappedModel(DDMStructure ddmStructure)

findByPrimaryKey

public DDMStructure findByPrimaryKey(Serializable primaryKey)
                              throws NoSuchModelException,
                                     SystemException
Returns the d d m structure with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<DDMStructure>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DDMStructure>
Parameters:
primaryKey - the primary key of the d d m structure
Returns:
the d d m structure
Throws:
NoSuchModelException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public DDMStructure findByPrimaryKey(long structureId)
                              throws NoSuchStructureException,
                                     SystemException
Returns the d d m structure with the primary key or throws a NoSuchStructureException if it could not be found.

Specified by:
findByPrimaryKey in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the d d m structure
Returns:
the d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public DDMStructure fetchByPrimaryKey(Serializable primaryKey)
                               throws SystemException
Returns the d d m structure with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DDMStructure>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DDMStructure>
Parameters:
primaryKey - the primary key of the d d m structure
Returns:
the d d m structure, or null if a d d m structure with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public DDMStructure fetchByPrimaryKey(long structureId)
                               throws SystemException
Returns the d d m structure with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the d d m structure
Returns:
the d d m structure, or null if a d d m structure with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DDMStructure> findByUuid(String uuid)
                              throws SystemException
Returns all the d d m structures where uuid = ?.

Specified by:
findByUuid in interface DDMStructurePersistence
Parameters:
uuid - the uuid
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DDMStructure> findByUuid(String uuid,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the d d m structures where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface DDMStructurePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DDMStructure> findByUuid(String uuid,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the d d m structures where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByUuid in interface DDMStructurePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByUuid_First

public DDMStructure findByUuid_First(String uuid,
                                     OrderByComparator orderByComparator)
                              throws NoSuchStructureException,
                                     SystemException
Returns the first d d m structure in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface DDMStructurePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public DDMStructure fetchByUuid_First(String uuid,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the first d d m structure in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface DDMStructurePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public DDMStructure findByUuid_Last(String uuid,
                                    OrderByComparator orderByComparator)
                             throws NoSuchStructureException,
                                    SystemException
Returns the last d d m structure in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface DDMStructurePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public DDMStructure fetchByUuid_Last(String uuid,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the last d d m structure in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface DDMStructurePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public DDMStructure[] findByUuid_PrevAndNext(long structureId,
                                             String uuid,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchStructureException,
                                             SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected DDMStructure getByUuid_PrevAndNext(Session session,
                                             DDMStructure ddmStructure,
                                             String uuid,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

findByUUID_G

public DDMStructure findByUUID_G(String uuid,
                                 long groupId)
                          throws NoSuchStructureException,
                                 SystemException
Returns the d d m structure where uuid = ? and groupId = ? or throws a NoSuchStructureException if it could not be found.

Specified by:
findByUUID_G in interface DDMStructurePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public DDMStructure fetchByUUID_G(String uuid,
                                  long groupId)
                           throws SystemException
Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface DDMStructurePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public DDMStructure fetchByUUID_G(String uuid,
                                  long groupId,
                                  boolean retrieveFromCache)
                           throws SystemException
Returns the d d m structure where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByUUID_G in interface DDMStructurePersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<DDMStructure> findByGroupId(long groupId)
                                 throws SystemException
Returns all the d d m structures where groupId = ?.

Specified by:
findByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<DDMStructure> findByGroupId(long groupId,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the d d m structures where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<DDMStructure> findByGroupId(long groupId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the d d m structures where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public DDMStructure findByGroupId_First(long groupId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchStructureException,
                                        SystemException
Returns the first d d m structure in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public DDMStructure fetchByGroupId_First(long groupId,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first d d m structure in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public DDMStructure findByGroupId_Last(long groupId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchStructureException,
                                       SystemException
Returns the last d d m structure in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public DDMStructure fetchByGroupId_Last(long groupId,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last d d m structure in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public DDMStructure[] findByGroupId_PrevAndNext(long structureId,
                                                long groupId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchStructureException,
                                                SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected DDMStructure getByGroupId_PrevAndNext(Session session,
                                                DDMStructure ddmStructure,
                                                long groupId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByGroupId

public List<DDMStructure> filterFindByGroupId(long groupId)
                                       throws SystemException
Returns all the d d m structures that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
Returns:
the matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<DDMStructure> filterFindByGroupId(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the d d m structures that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<DDMStructure> filterFindByGroupId(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId,
                                                      long groupId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchStructureException,
                                                      SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected DDMStructure filterGetByGroupId_PrevAndNext(Session session,
                                                      DDMStructure ddmStructure,
                                                      long groupId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByClassNameId

public List<DDMStructure> findByClassNameId(long classNameId)
                                     throws SystemException
Returns all the d d m structures where classNameId = ?.

Specified by:
findByClassNameId in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByClassNameId

public List<DDMStructure> findByClassNameId(long classNameId,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the d d m structures where classNameId = ?.

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.

Specified by:
findByClassNameId in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByClassNameId

public List<DDMStructure> findByClassNameId(long classNameId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the d d m structures where classNameId = ?.

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.

Specified by:
findByClassNameId in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByClassNameId_First

public DDMStructure findByClassNameId_First(long classNameId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchStructureException,
                                            SystemException
Returns the first d d m structure in the ordered set where classNameId = ?.

Specified by:
findByClassNameId_First in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByClassNameId_First

public DDMStructure fetchByClassNameId_First(long classNameId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first d d m structure in the ordered set where classNameId = ?.

Specified by:
fetchByClassNameId_First in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByClassNameId_Last

public DDMStructure findByClassNameId_Last(long classNameId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchStructureException,
                                           SystemException
Returns the last d d m structure in the ordered set where classNameId = ?.

Specified by:
findByClassNameId_Last in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByClassNameId_Last

public DDMStructure fetchByClassNameId_Last(long classNameId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last d d m structure in the ordered set where classNameId = ?.

Specified by:
fetchByClassNameId_Last in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByClassNameId_PrevAndNext

public DDMStructure[] findByClassNameId_PrevAndNext(long structureId,
                                                    long classNameId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchStructureException,
                                                    SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?.

Specified by:
findByClassNameId_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

getByClassNameId_PrevAndNext

protected DDMStructure getByClassNameId_PrevAndNext(Session session,
                                                    DDMStructure ddmStructure,
                                                    long classNameId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_S

public DDMStructure findByG_S(long groupId,
                              String structureKey)
                       throws NoSuchStructureException,
                              SystemException
Returns the d d m structure where groupId = ? and structureKey = ? or throws a NoSuchStructureException if it could not be found.

Specified by:
findByG_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
structureKey - the structure key
Returns:
the matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByG_S

public DDMStructure fetchByG_S(long groupId,
                               String structureKey)
                        throws SystemException
Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
structureKey - the structure key
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_S

public DDMStructure fetchByG_S(long groupId,
                               String structureKey,
                               boolean retrieveFromCache)
                        throws SystemException
Returns the d d m structure where groupId = ? and structureKey = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
structureKey - the structure key
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByC_C

public List<DDMStructure> findByC_C(long companyId,
                                    long classNameId)
                             throws SystemException
Returns all the d d m structures where companyId = ? and classNameId = ?.

Specified by:
findByC_C in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByC_C

public List<DDMStructure> findByC_C(long companyId,
                                    long classNameId,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the d d m structures where companyId = ? and classNameId = ?.

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.

Specified by:
findByC_C in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByC_C

public List<DDMStructure> findByC_C(long companyId,
                                    long classNameId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?.

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.

Specified by:
findByC_C in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByC_C_First

public DDMStructure findByC_C_First(long companyId,
                                    long classNameId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchStructureException,
                                    SystemException
Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.

Specified by:
findByC_C_First in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByC_C_First

public DDMStructure fetchByC_C_First(long companyId,
                                     long classNameId,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.

Specified by:
fetchByC_C_First in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_Last

public DDMStructure findByC_C_Last(long companyId,
                                   long classNameId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchStructureException,
                                   SystemException
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.

Specified by:
findByC_C_Last in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByC_C_Last

public DDMStructure fetchByC_C_Last(long companyId,
                                    long classNameId,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.

Specified by:
fetchByC_C_Last in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByC_C_PrevAndNext

public DDMStructure[] findByC_C_PrevAndNext(long structureId,
                                            long companyId,
                                            long classNameId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchStructureException,
                                            SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?.

Specified by:
findByC_C_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
companyId - the company ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

getByC_C_PrevAndNext

protected DDMStructure getByC_C_PrevAndNext(Session session,
                                            DDMStructure ddmStructure,
                                            long companyId,
                                            long classNameId,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByG_N_D

public List<DDMStructure> findByG_N_D(long groupId,
                                      String name,
                                      String description)
                               throws SystemException
Returns all the d d m structures where groupId = ? and name = ? and description = ?.

Specified by:
findByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByG_N_D

public List<DDMStructure> findByG_N_D(long groupId,
                                      String name,
                                      String description,
                                      int start,
                                      int end)
                               throws SystemException
Returns a range of all the d d m structures where groupId = ? and name = ? and description = ?.

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.

Specified by:
findByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByG_N_D

public List<DDMStructure> findByG_N_D(long groupId,
                                      String name,
                                      String description,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?.

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.

Specified by:
findByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures
Throws:
SystemException - if a system exception occurred

findByG_N_D_First

public DDMStructure findByG_N_D_First(long groupId,
                                      String name,
                                      String description,
                                      OrderByComparator orderByComparator)
                               throws NoSuchStructureException,
                                      SystemException
Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.

Specified by:
findByG_N_D_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByG_N_D_First

public DDMStructure fetchByG_N_D_First(long groupId,
                                       String name,
                                       String description,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.

Specified by:
fetchByG_N_D_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_D_Last

public DDMStructure findByG_N_D_Last(long groupId,
                                     String name,
                                     String description,
                                     OrderByComparator orderByComparator)
                              throws NoSuchStructureException,
                                     SystemException
Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.

Specified by:
findByG_N_D_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure
Throws:
NoSuchStructureException - if a matching d d m structure could not be found
SystemException - if a system exception occurred

fetchByG_N_D_Last

public DDMStructure fetchByG_N_D_Last(long groupId,
                                      String name,
                                      String description,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.

Specified by:
fetchByG_N_D_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m structure, or null if a matching d d m structure could not be found
Throws:
SystemException - if a system exception occurred

findByG_N_D_PrevAndNext

public DDMStructure[] findByG_N_D_PrevAndNext(long structureId,
                                              long groupId,
                                              String name,
                                              String description,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchStructureException,
                                              SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and name = ? and description = ?.

Specified by:
findByG_N_D_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

getByG_N_D_PrevAndNext

protected DDMStructure getByG_N_D_PrevAndNext(Session session,
                                              DDMStructure ddmStructure,
                                              long groupId,
                                              String name,
                                              String description,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_N_D

public List<DDMStructure> filterFindByG_N_D(long groupId,
                                            String name,
                                            String description)
                                     throws SystemException
Returns all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.

Specified by:
filterFindByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_D

public List<DDMStructure> filterFindByG_N_D(long groupId,
                                            String name,
                                            String description,
                                            int start,
                                            int end)
                                     throws SystemException
Returns a range of all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.

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.

Specified by:
filterFindByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_D

public List<DDMStructure> filterFindByG_N_D(long groupId,
                                            String name,
                                            String description,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and name = ? and description = ?.

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.

Specified by:
filterFindByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_N_D_PrevAndNext

public DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId,
                                                    long groupId,
                                                    String name,
                                                    String description,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchStructureException,
                                                    SystemException
Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.

Specified by:
filterFindByG_N_D_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
name - the name
description - the description
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m structure
Throws:
NoSuchStructureException - if a d d m structure with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_N_D_PrevAndNext

protected DDMStructure filterGetByG_N_D_PrevAndNext(Session session,
                                                    DDMStructure ddmStructure,
                                                    long groupId,
                                                    String name,
                                                    String description,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findAll

public List<DDMStructure> findAll()
                           throws SystemException
Returns all the d d m structures.

Specified by:
findAll in interface DDMStructurePersistence
Returns:
the d d m structures
Throws:
SystemException - if a system exception occurred

findAll

public List<DDMStructure> findAll(int start,
                                  int end)
                           throws SystemException
Returns a range of all the d d m structures.

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.

Specified by:
findAll in interface DDMStructurePersistence
Parameters:
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of d d m structures
Throws:
SystemException - if a system exception occurred

findAll

public List<DDMStructure> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                           throws SystemException
Returns an ordered range of all the d d m structures.

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.

Specified by:
findAll in interface DDMStructurePersistence
Parameters:
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d m structures
Throws:
SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the d d m structures where uuid = ? from the database.

Specified by:
removeByUuid in interface DDMStructurePersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public DDMStructure removeByUUID_G(String uuid,
                                   long groupId)
                            throws NoSuchStructureException,
                                   SystemException
Removes the d d m structure where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface DDMStructurePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the d d m structure that was removed
Throws:
SystemException - if a system exception occurred
NoSuchStructureException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the d d m structures where groupId = ? from the database.

Specified by:
removeByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

removeByClassNameId

public void removeByClassNameId(long classNameId)
                         throws SystemException
Removes all the d d m structures where classNameId = ? from the database.

Specified by:
removeByClassNameId in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
Throws:
SystemException - if a system exception occurred

removeByG_S

public DDMStructure removeByG_S(long groupId,
                                String structureKey)
                         throws NoSuchStructureException,
                                SystemException
Removes the d d m structure where groupId = ? and structureKey = ? from the database.

Specified by:
removeByG_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
structureKey - the structure key
Returns:
the d d m structure that was removed
Throws:
SystemException - if a system exception occurred
NoSuchStructureException

removeByC_C

public void removeByC_C(long companyId,
                        long classNameId)
                 throws SystemException
Removes all the d d m structures where companyId = ? and classNameId = ? from the database.

Specified by:
removeByC_C in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
Throws:
SystemException - if a system exception occurred

removeByG_N_D

public void removeByG_N_D(long groupId,
                          String name,
                          String description)
                   throws SystemException
Removes all the d d m structures where groupId = ? and name = ? and description = ? from the database.

Specified by:
removeByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the d d m structures from the database.

Specified by:
removeAll in interface DDMStructurePersistence
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Returns the number of d d m structures where uuid = ?.

Specified by:
countByUuid in interface DDMStructurePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of d d m structures where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface DDMStructurePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of d d m structures where groupId = ?.

Specified by:
countByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of d d m structures that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface DDMStructurePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByClassNameId

public int countByClassNameId(long classNameId)
                       throws SystemException
Returns the number of d d m structures where classNameId = ?.

Specified by:
countByClassNameId in interface DDMStructurePersistence
Parameters:
classNameId - the class name ID
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

countByG_S

public int countByG_S(long groupId,
                      String structureKey)
               throws SystemException
Returns the number of d d m structures where groupId = ? and structureKey = ?.

Specified by:
countByG_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
structureKey - the structure key
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

countByC_C

public int countByC_C(long companyId,
                      long classNameId)
               throws SystemException
Returns the number of d d m structures where companyId = ? and classNameId = ?.

Specified by:
countByC_C in interface DDMStructurePersistence
Parameters:
companyId - the company ID
classNameId - the class name ID
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

countByG_N_D

public int countByG_N_D(long groupId,
                        String name,
                        String description)
                 throws SystemException
Returns the number of d d m structures where groupId = ? and name = ? and description = ?.

Specified by:
countByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

filterCountByG_N_D

public int filterCountByG_N_D(long groupId,
                              String name,
                              String description)
                       throws SystemException
Returns the number of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.

Specified by:
filterCountByG_N_D in interface DDMStructurePersistence
Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the number of matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of d d m structures.

Specified by:
countAll in interface DDMStructurePersistence
Returns:
the number of d d m structures
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypes

public List<DLFileEntryType> getDLFileEntryTypes(long pk)
                                          throws SystemException
Returns all the document library file entry types associated with the d d m structure.

Specified by:
getDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
Returns:
the document library file entry types associated with the d d m structure
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypes

public List<DLFileEntryType> getDLFileEntryTypes(long pk,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the document library file entry types associated with the d d m structure.

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.

Specified by:
getDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
Returns:
the range of document library file entry types associated with the d d m structure
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypes

public List<DLFileEntryType> getDLFileEntryTypes(long pk,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the document library file entry types associated with the d d m structure.

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.

Specified by:
getDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
start - the lower bound of the range of d d m structures
end - the upper bound of the range of d d m structures (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of document library file entry types associated with the d d m structure
Throws:
SystemException - if a system exception occurred

getDLFileEntryTypesSize

public int getDLFileEntryTypesSize(long pk)
                            throws SystemException
Returns the number of document library file entry types associated with the d d m structure.

Specified by:
getDLFileEntryTypesSize in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
Returns:
the number of document library file entry types associated with the d d m structure
Throws:
SystemException - if a system exception occurred

containsDLFileEntryType

public boolean containsDLFileEntryType(long pk,
                                       long dlFileEntryTypePK)
                                throws SystemException
Returns true if the document library file entry type is associated with the d d m structure.

Specified by:
containsDLFileEntryType in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePK - the primary key of the document library file entry type
Returns:
true if the document library file entry type is associated with the d d m structure; false otherwise
Throws:
SystemException - if a system exception occurred

containsDLFileEntryTypes

public boolean containsDLFileEntryTypes(long pk)
                                 throws SystemException
Returns true if the d d m structure has any document library file entry types associated with it.

Specified by:
containsDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure to check for associations with document library file entry types
Returns:
true if the d d m structure has any document library file entry types associated with it; false otherwise
Throws:
SystemException - if a system exception occurred

addDLFileEntryType

public void addDLFileEntryType(long pk,
                               long dlFileEntryTypePK)
                        throws SystemException
Adds an association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addDLFileEntryType in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePK - the primary key of the document library file entry type
Throws:
SystemException - if a system exception occurred

addDLFileEntryType

public void addDLFileEntryType(long pk,
                               DLFileEntryType dlFileEntryType)
                        throws SystemException
Adds an association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addDLFileEntryType in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryType - the document library file entry type
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypes

public void addDLFileEntryTypes(long pk,
                                long[] dlFileEntryTypePKs)
                         throws SystemException
Adds an association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePKs - the primary keys of the document library file entry types
Throws:
SystemException - if a system exception occurred

addDLFileEntryTypes

public void addDLFileEntryTypes(long pk,
                                List<DLFileEntryType> dlFileEntryTypes)
                         throws SystemException
Adds an association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypes - the document library file entry types
Throws:
SystemException - if a system exception occurred

clearDLFileEntryTypes

public void clearDLFileEntryTypes(long pk)
                           throws SystemException
Clears all associations between the d d m structure and its document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure to clear the associated document library file entry types from
Throws:
SystemException - if a system exception occurred

removeDLFileEntryType

public void removeDLFileEntryType(long pk,
                                  long dlFileEntryTypePK)
                           throws SystemException
Removes the association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeDLFileEntryType in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePK - the primary key of the document library file entry type
Throws:
SystemException - if a system exception occurred

removeDLFileEntryType

public void removeDLFileEntryType(long pk,
                                  DLFileEntryType dlFileEntryType)
                           throws SystemException
Removes the association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeDLFileEntryType in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryType - the document library file entry type
Throws:
SystemException - if a system exception occurred

removeDLFileEntryTypes

public void removeDLFileEntryTypes(long pk,
                                   long[] dlFileEntryTypePKs)
                            throws SystemException
Removes the association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePKs - the primary keys of the document library file entry types
Throws:
SystemException - if a system exception occurred

removeDLFileEntryTypes

public void removeDLFileEntryTypes(long pk,
                                   List<DLFileEntryType> dlFileEntryTypes)
                            throws SystemException
Removes the association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypes - the document library file entry types
Throws:
SystemException - if a system exception occurred

setDLFileEntryTypes

public void setDLFileEntryTypes(long pk,
                                long[] dlFileEntryTypePKs)
                         throws SystemException
Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePKs - the primary keys of the document library file entry types to be associated with the d d m structure
Throws:
SystemException - if a system exception occurred

setDLFileEntryTypes

public void setDLFileEntryTypes(long pk,
                                List<DLFileEntryType> dlFileEntryTypes)
                         throws SystemException
Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setDLFileEntryTypes in interface DDMStructurePersistence
Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypes - the document library file entry types to be associated with the d d m structure
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the d d m structure persistence.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3