Liferay 6.2-ce-ga5

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.

Field Summary
protected  TableMapper<DDMStructure,DLFileEntryType> ddmStructureToDLFileEntryTypeTableMapper
           
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_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
           
static FinderPath FINDER_PATH_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_N_D
           
static FinderPath FINDER_PATH_COUNT_BY_G_P
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_PARENTSTRUCTUREID
           
static FinderPath FINDER_PATH_COUNT_BY_STRUCTUREKEY
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_C_S
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID
           
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_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_N_D
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTSTRUCTUREID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
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_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_N_D
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTSTRUCTUREID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREKEY
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
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_C_S(long groupId, long classNameId, String structureKey)
          Returns the number of d d m structures where groupId = ? and classNameId = ? and structureKey = ?.
 int countByG_C(long[] groupIds, long classNameId)
          Returns the number of d d m structures where groupId = any ? and classNameId = ?.
 int countByG_C(long groupId, long classNameId)
          Returns the number of d d m structures where groupId = ? and 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_P(long groupId, long parentStructureId)
          Returns the number of d d m structures where groupId = ? and parentStructureId = ?.
 int countByGroupId(long groupId)
          Returns the number of d d m structures where groupId = ?.
 int countByGroupId(long[] groupIds)
          Returns the number of d d m structures where groupId = any ?.
 int countByParentStructureId(long parentStructureId)
          Returns the number of d d m structures where parentStructureId = ?.
 int countByStructureKey(String structureKey)
          Returns the number of d d m structures where structureKey = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of d d m structures where uuid = ? and companyId = ?.
 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_C_First(long groupId, long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
 DDMStructure fetchByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
 DDMStructure fetchByG_C_S(long groupId, long classNameId, String structureKey)
          Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or returns null if it could not be found.
 DDMStructure fetchByG_C_S(long groupId, long classNameId, String structureKey, boolean retrieveFromCache)
          Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or returns null if it could not be found, optionally using the finder cache.
 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_P_First(long groupId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
 DDMStructure fetchByG_P_Last(long groupId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
 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 fetchByParentStructureId_First(long parentStructureId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where parentStructureId = ?.
 DDMStructure fetchByParentStructureId_Last(long parentStructureId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where parentStructureId = ?.
 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 fetchByStructureKey_First(String structureKey, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where structureKey = ?.
 DDMStructure fetchByStructureKey_Last(String structureKey, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where structureKey = ?.
 DDMStructure fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
 DDMStructure fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
 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_C(long[] groupIds, long classNameId)
          Returns the number of d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
 int filterCountByG_C(long groupId, long classNameId)
          Returns the number of d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
 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 filterCountByG_P(long groupId, long parentStructureId)
          Returns the number of d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of d d m structures that the user has permission to view where groupId = ?.
 int filterCountByGroupId(long[] groupIds)
          Returns the number of d d m structures that the user has permission to view where groupId = any ?.
 DDMStructure[] filterFindByG_C_PrevAndNext(long structureId, long groupId, long classNameId, 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 classNameId = ?.
 List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId)
          Returns all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
 List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
 List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
 List<DDMStructure> filterFindByG_C(long groupId, long classNameId)
          Returns all the d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
 List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
 List<DDMStructure> filterFindByG_C(long groupId, long classNameId, 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 classNameId = ?.
 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[] filterFindByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, 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 parentStructureId = ?.
 List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId)
          Returns all the d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
 List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
 List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, 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 parentStructureId = ?.
 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[] groupIds)
          Returns all the d d m structures that the user has permission to view where groupId = any ?.
 List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the d d m structures that the user has permission to view where groupId = any ?.
 List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ?.
 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_C_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, long classNameId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure filterGetByG_N_D_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, String name, String description, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure filterGetByG_P_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, long parentStructureId, 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_C_First(long groupId, long classNameId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
 DDMStructure findByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
 DDMStructure[] findByG_C_PrevAndNext(long structureId, long groupId, long classNameId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and classNameId = ?.
 DDMStructure findByG_C_S(long groupId, long classNameId, String structureKey)
          Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or throws a NoSuchStructureException if it could not be found.
 List<DDMStructure> findByG_C(long[] groupIds, long classNameId)
          Returns all the d d m structures where groupId = any ? and classNameId = ?.
 List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end)
          Returns a range of all the d d m structures where groupId = any ? and classNameId = ?.
 List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = any ? and classNameId = ?.
 List<DDMStructure> findByG_C(long groupId, long classNameId)
          Returns all the d d m structures where groupId = ? and classNameId = ?.
 List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end)
          Returns a range of all the d d m structures where groupId = ? and classNameId = ?.
 List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and 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_P_First(long groupId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
 DDMStructure findByG_P_Last(long groupId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
 DDMStructure[] findByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
 List<DDMStructure> findByG_P(long groupId, long parentStructureId)
          Returns all the d d m structures where groupId = ? and parentStructureId = ?.
 List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end)
          Returns a range of all the d d m structures where groupId = ? and parentStructureId = ?.
 List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and parentStructureId = ?.
 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[] groupIds)
          Returns all the d d m structures where groupId = any ?.
 List<DDMStructure> findByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the d d m structures where groupId = any ?.
 List<DDMStructure> findByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = any ?.
 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 findByParentStructureId_First(long parentStructureId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where parentStructureId = ?.
 DDMStructure findByParentStructureId_Last(long parentStructureId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where parentStructureId = ?.
 DDMStructure[] findByParentStructureId_PrevAndNext(long structureId, long parentStructureId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = ?.
 List<DDMStructure> findByParentStructureId(long parentStructureId)
          Returns all the d d m structures where parentStructureId = ?.
 List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end)
          Returns a range of all the d d m structures where parentStructureId = ?.
 List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where parentStructureId = ?.
 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 findByStructureKey_First(String structureKey, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where structureKey = ?.
 DDMStructure findByStructureKey_Last(String structureKey, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where structureKey = ?.
 DDMStructure[] findByStructureKey_PrevAndNext(long structureId, String structureKey, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = ?.
 List<DDMStructure> findByStructureKey(String structureKey)
          Returns all the d d m structures where structureKey = ?.
 List<DDMStructure> findByStructureKey(String structureKey, int start, int end)
          Returns a range of all the d d m structures where structureKey = ?.
 List<DDMStructure> findByStructureKey(String structureKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where structureKey = ?.
 DDMStructure findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
 DDMStructure findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
 DDMStructure[] findByUuid_C_PrevAndNext(long structureId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ? and companyId = ?.
 List<DDMStructure> findByUuid_C(String uuid, long companyId)
          Returns all the d d m structures where uuid = ? and companyId = ?.
 List<DDMStructure> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the d d m structures where uuid = ? and companyId = ?.
 List<DDMStructure> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?.
 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  Set<String> getBadColumnNames()
           
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_C_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, 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 getByG_P_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, long parentStructureId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByGroupId_PrevAndNext(Session session, DDMStructure ddmStructure, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByParentStructureId_PrevAndNext(Session session, DDMStructure ddmStructure, long parentStructureId, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByStructureKey_PrevAndNext(Session session, DDMStructure ddmStructure, String structureKey, OrderByComparator orderByComparator, boolean previous)
           
protected  DDMStructure getByUuid_C_PrevAndNext(Session session, DDMStructure ddmStructure, String uuid, long companyId, 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.
 DDMStructure removeByG_C_S(long groupId, long classNameId, String structureKey)
          Removes the d d m structure where groupId = ? and classNameId = ? and structureKey = ? from the database.
 void removeByG_C(long groupId, long classNameId)
          Removes all the d d m structures where groupId = ? and 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.
 void removeByG_P(long groupId, long parentStructureId)
          Removes all the d d m structures where groupId = ? and parentStructureId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the d d m structures where groupId = ? from the database.
 void removeByParentStructureId(long parentStructureId)
          Removes all the d d m structures where parentStructureId = ? from the database.
 void removeByStructureKey(String structureKey)
          Removes all the d d m structures where structureKey = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the d d m structures where uuid = ? and companyId = ? 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)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

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_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_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_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

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_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTSTRUCTUREID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PARENTSTRUCTUREID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTSTRUCTUREID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PARENTSTRUCTUREID

FINDER_PATH_COUNT_BY_PARENTSTRUCTUREID

public static final FinderPath FINDER_PATH_COUNT_BY_PARENTSTRUCTUREID

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_WITH_PAGINATION_FIND_BY_STRUCTUREKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREKEY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREKEY

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREKEY

FINDER_PATH_COUNT_BY_STRUCTUREKEY

public static final FinderPath FINDER_PATH_COUNT_BY_STRUCTUREKEY

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P

FINDER_PATH_COUNT_BY_G_P

public static final FinderPath FINDER_PATH_COUNT_BY_G_P

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

FINDER_PATH_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_C

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C

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_FETCH_BY_G_C_S

public static final FinderPath FINDER_PATH_FETCH_BY_G_C_S

FINDER_PATH_COUNT_BY_G_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S

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

dlFileEntryTypePersistence

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

ddmStructureToDLFileEntryTypeTableMapper

protected TableMapper<DDMStructure,DLFileEntryType> ddmStructureToDLFileEntryTypeTableMapper
Constructor Detail

DDMStructurePersistenceImpl

public DDMStructurePersistenceImpl()
Method Detail

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)

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

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

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

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

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

findByUuid_C

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

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

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C_First

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

Specified by:
findByUuid_C_First in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

fetchByUuid_C_First

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

Specified by:
fetchByUuid_C_First in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C_Last

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

Specified by:
findByUuid_C_Last in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

fetchByUuid_C_Last

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

Specified by:
fetchByUuid_C_Last in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C_PrevAndNext

public DDMStructure[] findByUuid_C_PrevAndNext(long structureId,
                                               String uuid,
                                               long companyId,
                                               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 = ? and companyId = ?.

Specified by:
findByUuid_C_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
uuid - the uuid
companyId - the company 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

getByUuid_C_PrevAndNext

protected DDMStructure getByUuid_C_PrevAndNext(Session session,
                                               DDMStructure ddmStructure,
                                               String uuid,
                                               long companyId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

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

Specified by:
countByUuid_C in interface DDMStructurePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching d d m structures
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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[] groupIds,
                                              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 = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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[] groupIds,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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[] groupIds,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the d d m structures where groupId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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

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

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

countByGroupId

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

Specified by:
countByGroupId in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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

filterCountByGroupId

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

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

findByParentStructureId

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

Specified by:
findByParentStructureId in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure ID
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByParentStructureId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByParentStructureId in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

findByParentStructureId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByParentStructureId in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

findByParentStructureId_First

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

Specified by:
findByParentStructureId_First in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

fetchByParentStructureId_First

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

Specified by:
fetchByParentStructureId_First in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

findByParentStructureId_Last

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

Specified by:
findByParentStructureId_Last in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

fetchByParentStructureId_Last

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

Specified by:
fetchByParentStructureId_Last in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure 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

findByParentStructureId_PrevAndNext

public DDMStructure[] findByParentStructureId_PrevAndNext(long structureId,
                                                          long parentStructureId,
                                                          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 parentStructureId = ?.

Specified by:
findByParentStructureId_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
parentStructureId - the parent structure 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

getByParentStructureId_PrevAndNext

protected DDMStructure getByParentStructureId_PrevAndNext(Session session,
                                                          DDMStructure ddmStructure,
                                                          long parentStructureId,
                                                          OrderByComparator orderByComparator,
                                                          boolean previous)

removeByParentStructureId

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

Specified by:
removeByParentStructureId in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure ID
Throws:
SystemException - if a system exception occurred

countByParentStructureId

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

Specified by:
countByParentStructureId in interface DDMStructurePersistence
Parameters:
parentStructureId - the parent structure ID
Returns:
the number of matching d d m structures
Throws:
SystemException - if a system exception occurred

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)

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

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

findByStructureKey

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

Specified by:
findByStructureKey in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
Returns:
the matching d d m structures
Throws:
SystemException - if a system exception occurred

findByStructureKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByStructureKey in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

findByStructureKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByStructureKey in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

findByStructureKey_First

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

Specified by:
findByStructureKey_First in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

fetchByStructureKey_First

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

Specified by:
fetchByStructureKey_First in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

findByStructureKey_Last

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

Specified by:
findByStructureKey_Last in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

fetchByStructureKey_Last

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

Specified by:
fetchByStructureKey_Last in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
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

findByStructureKey_PrevAndNext

public DDMStructure[] findByStructureKey_PrevAndNext(long structureId,
                                                     String structureKey,
                                                     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 structureKey = ?.

Specified by:
findByStructureKey_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
structureKey - the structure key
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

getByStructureKey_PrevAndNext

protected DDMStructure getByStructureKey_PrevAndNext(Session session,
                                                     DDMStructure ddmStructure,
                                                     String structureKey,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

removeByStructureKey

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

Specified by:
removeByStructureKey in interface DDMStructurePersistence
Parameters:
structureKey - the structure key
Throws:
SystemException - if a system exception occurred

countByStructureKey

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

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

findByG_P

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

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

findByG_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_P in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

findByG_P

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_P in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

findByG_P_First

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

Specified by:
findByG_P_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

fetchByG_P_First

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

Specified by:
fetchByG_P_First in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

findByG_P_Last

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

Specified by:
findByG_P_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

fetchByG_P_Last

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

Specified by:
fetchByG_P_Last in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

findByG_P_PrevAndNext

public DDMStructure[] findByG_P_PrevAndNext(long structureId,
                                            long groupId,
                                            long parentStructureId,
                                            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 parentStructureId = ?.

Specified by:
findByG_P_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
parentStructureId - the parent structure 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

getByG_P_PrevAndNext

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

filterFindByG_P

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

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

filterFindByG_P

public List<DDMStructure> filterFindByG_P(long groupId,
                                          long parentStructureId,
                                          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 parentStructureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_P in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

filterFindByG_P

public List<DDMStructure> filterFindByG_P(long groupId,
                                          long parentStructureId,
                                          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 parentStructureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_P in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure 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

filterFindByG_P_PrevAndNext

public DDMStructure[] filterFindByG_P_PrevAndNext(long structureId,
                                                  long groupId,
                                                  long parentStructureId,
                                                  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 parentStructureId = ?.

Specified by:
filterFindByG_P_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group ID
parentStructureId - the parent structure 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

filterGetByG_P_PrevAndNext

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

removeByG_P

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

Specified by:
removeByG_P in interface DDMStructurePersistence
Parameters:
groupId - the group ID
parentStructureId - the parent structure ID
Throws:
SystemException - if a system exception occurred

countByG_P

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

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

filterCountByG_P

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

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

findByG_C

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

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

findByG_C

public List<DDMStructure> findByG_C(long groupId,
                                    long classNameId,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the d d m structures where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface DDMStructurePersistence
Parameters:
groupId - the group 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

findByG_C

public List<DDMStructure> findByG_C(long groupId,
                                    long classNameId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the d d m structures where groupId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface DDMStructurePersistence
Parameters:
groupId - the group 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

findByG_C_First

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

Specified by:
findByG_C_First in interface DDMStructurePersistence
Parameters:
groupId - the group 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

fetchByG_C_First

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

Specified by:
fetchByG_C_First in interface DDMStructurePersistence
Parameters:
groupId - the group 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

findByG_C_Last

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

Specified by:
findByG_C_Last in interface DDMStructurePersistence
Parameters:
groupId - the group 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

fetchByG_C_Last

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

Specified by:
fetchByG_C_Last in interface DDMStructurePersistence
Parameters:
groupId - the group 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

findByG_C_PrevAndNext

public DDMStructure[] findByG_C_PrevAndNext(long structureId,
                                            long groupId,
                                            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 groupId = ? and classNameId = ?.

Specified by:
findByG_C_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group 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

getByG_C_PrevAndNext

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

filterFindByG_C

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

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

filterFindByG_C

public List<DDMStructure> filterFindByG_C(long groupId,
                                          long classNameId,
                                          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 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface DDMStructurePersistence
Parameters:
groupId - the group 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 that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<DDMStructure> filterFindByG_C(long groupId,
                                          long classNameId,
                                          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 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface DDMStructurePersistence
Parameters:
groupId - the group 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 that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_PrevAndNext

public DDMStructure[] filterFindByG_C_PrevAndNext(long structureId,
                                                  long groupId,
                                                  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 of d d m structures that the user has permission to view where groupId = ? and classNameId = ?.

Specified by:
filterFindByG_C_PrevAndNext in interface DDMStructurePersistence
Parameters:
structureId - the primary key of the current d d m structure
groupId - the group 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

filterGetByG_C_PrevAndNext

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

filterFindByG_C

public List<DDMStructure> filterFindByG_C(long[] groupIds,
                                          long classNameId)
                                   throws SystemException
Returns all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.

Specified by:
filterFindByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
classNameId - the class name ID
Returns:
the matching d d m structures that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<DDMStructure> filterFindByG_C(long[] groupIds,
                                          long classNameId,
                                          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 = any ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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 that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C

public List<DDMStructure> filterFindByG_C(long[] groupIds,
                                          long classNameId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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 that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C

public List<DDMStructure> findByG_C(long[] groupIds,
                                    long classNameId)
                             throws SystemException
Returns all the d d m structures where groupId = any ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_C

public List<DDMStructure> findByG_C(long[] groupIds,
                                    long classNameId,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the d d m structures where groupId = any ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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

findByG_C

public List<DDMStructure> findByG_C(long[] groupIds,
                                    long classNameId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the d d m structures where groupId = any ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
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

removeByG_C

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

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

countByG_C

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

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

countByG_C

public int countByG_C(long[] groupIds,
                      long classNameId)
               throws SystemException
Returns the number of d d m structures where groupId = any ? and classNameId = ?.

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

filterCountByG_C

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

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

filterCountByG_C

public int filterCountByG_C(long[] groupIds,
                            long classNameId)
                     throws SystemException
Returns the number of d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.

Specified by:
filterCountByG_C in interface DDMStructurePersistence
Parameters:
groupIds - the group IDs
classNameId - the class name ID
Returns:
the number of matching d d m structures that the user has permission to view
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)

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

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

findByG_C_S

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

Specified by:
findByG_C_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
classNameId - the class name 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_C_S

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

Specified by:
fetchByG_C_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
classNameId - the class name 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_C_S

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

Specified by:
fetchByG_C_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
classNameId - the class name 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

removeByG_C_S

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

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

countByG_C_S

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

Specified by:
countByG_C_S in interface DDMStructurePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
structureKey - the structure key
Returns:
the number 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)
                               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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)

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

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

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)
                        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
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 NoSuchStructureException,
                                     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:
NoSuchStructureException - 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

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

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

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DDMStructureModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<DDMStructure>

afterPropertiesSet

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


destroy

public void destroy()

Liferay 6.2-ce-ga5