Liferay 7.0-ce-m3

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

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureUtil

@ProviderType
public class DDMStructureUtil
extends Object

The persistence utility for the d d m structure service. This utility wraps DDMStructurePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

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

Constructor Summary
DDMStructureUtil()
           
 
Method Summary
static void addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType)
          Adds an association between the d d m structure and the document library file entry type.
static void addDLFileEntryType(long pk, long dlFileEntryTypePK)
          Adds an association between the d d m structure and the document library file entry type.
static void addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes)
          Adds an association between the d d m structure and the document library file entry types.
static void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
          Adds an association between the d d m structure and the document library file entry types.
static void addJournalFolder(long pk, JournalFolder journalFolder)
          Adds an association between the d d m structure and the journal folder.
static void addJournalFolder(long pk, long journalFolderPK)
          Adds an association between the d d m structure and the journal folder.
static void addJournalFolders(long pk, List<JournalFolder> journalFolders)
          Adds an association between the d d m structure and the journal folders.
static void addJournalFolders(long pk, long[] journalFolderPKs)
          Adds an association between the d d m structure and the journal folders.
static void cacheResult(DDMStructure ddmStructure)
          Caches the d d m structure in the entity cache if it is enabled.
static void cacheResult(List<DDMStructure> ddmStructures)
          Caches the d d m structures in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(DDMStructure ddmStructure)
           
static void clearDLFileEntryTypes(long pk)
          Clears all associations between the d d m structure and its document library file entry types.
static void clearJournalFolders(long pk)
          Clears all associations between the d d m structure and its journal folders.
static boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK)
          Returns true if the document library file entry type is associated with the d d m structure.
static boolean containsDLFileEntryTypes(long pk)
          Returns true if the d d m structure has any document library file entry types associated with it.
static boolean containsJournalFolder(long pk, long journalFolderPK)
          Returns true if the journal folder is associated with the d d m structure.
static boolean containsJournalFolders(long pk)
          Returns true if the d d m structure has any journal folders associated with it.
static int countAll()
          Returns the number of d d m structures.
static int countByC_C(long companyId, long classNameId)
          Returns the number of d d m structures where companyId = ? and classNameId = ?.
static int countByClassNameId(long classNameId)
          Returns the number of d d m structures where classNameId = ?.
static int countByG_C_S(long groupId, long classNameId, String structureKey)
          Returns the number of d d m structures where groupId = ? and classNameId = ? and structureKey = ?.
static int countByG_C(long[] groupIds, long classNameId)
          Returns the number of d d m structures where groupId = any ? and classNameId = ?.
static int countByG_C(long groupId, long classNameId)
          Returns the number of d d m structures where groupId = ? and classNameId = ?.
static int countByG_N_D(long groupId, String name, String description)
          Returns the number of d d m structures where groupId = ? and name = ? and description = ?.
static int countByG_P(long groupId, long parentStructureId)
          Returns the number of d d m structures where groupId = ? and parentStructureId = ?.
static int countByGroupId(long groupId)
          Returns the number of d d m structures where groupId = ?.
static int countByGroupId(long[] groupIds)
          Returns the number of d d m structures where groupId = any ?.
static int countByParentStructureId(long parentStructureId)
          Returns the number of d d m structures where parentStructureId = ?.
static int countByStructureKey(String structureKey)
          Returns the number of d d m structures where structureKey = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of d d m structures where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Returns the number of d d m structures where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Returns the number of d d m structures where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static DDMStructure create(long structureId)
          Creates a new d d m structure with the primary key.
static DDMStructure fetchByC_C_First(long companyId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
static DDMStructure fetchByC_C_Last(long companyId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
static DDMStructure fetchByClassNameId_First(long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where classNameId = ?.
static DDMStructure fetchByClassNameId_Last(long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where classNameId = ?.
static DDMStructure fetchByG_C_First(long groupId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
static DDMStructure fetchByG_C_Last(long groupId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
static 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.
static 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.
static DDMStructure fetchByG_N_D_First(long groupId, String name, String description, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
static DDMStructure fetchByG_N_D_Last(long groupId, String name, String description, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
static DDMStructure fetchByG_P_First(long groupId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
static DDMStructure fetchByG_P_Last(long groupId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
static DDMStructure fetchByGroupId_First(long groupId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ?.
static DDMStructure fetchByGroupId_Last(long groupId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ?.
static DDMStructure fetchByParentStructureId_First(long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where parentStructureId = ?.
static DDMStructure fetchByParentStructureId_Last(long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where parentStructureId = ?.
static DDMStructure fetchByPrimaryKey(long structureId)
          Returns the d d m structure with the primary key or returns null if it could not be found.
static Map<Serializable,DDMStructure> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
static DDMStructure fetchByStructureKey_First(String structureKey, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where structureKey = ?.
static DDMStructure fetchByStructureKey_Last(String structureKey, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where structureKey = ?.
static DDMStructure fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
static DDMStructure fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
static DDMStructure fetchByUuid_First(String uuid, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ?.
static 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.
static 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.
static DDMStructure fetchByUuid_Last(String uuid, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ?.
static 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 = ?.
static 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 = ?.
static 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 = ?.
static 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 = ?.
static int filterCountByGroupId(long groupId)
          Returns the number of d d m structures that the user has permission to view where groupId = ?.
static int filterCountByGroupId(long[] groupIds)
          Returns the number of d d m structures that the user has permission to view where groupId = any ?.
static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId, long groupId, long classNameId, OrderByComparator<DDMStructure> 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 = ?.
static 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 = ?.
static 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 = ?.
static List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
static 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 = ?.
static 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 = ?.
static List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and classNameId = ?.
static DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator<DDMStructure> 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 = ?.
static 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 = ?.
static 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 = ?.
static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator<DDMStructure> 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 = ?.
static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, OrderByComparator<DDMStructure> 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 = ?.
static 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 = ?.
static 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 = ?.
static List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and parentStructureId = ?.
static DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator<DDMStructure> 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 = ?.
static List<DDMStructure> filterFindByGroupId(long groupId)
          Returns all the d d m structures that the user has permission to view where groupId = ?.
static List<DDMStructure> filterFindByGroupId(long[] groupIds)
          Returns all the d d m structures that the user has permission to view where groupId = any ?.
static 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 ?.
static List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ?.
static 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 = ?.
static List<DDMStructure> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?.
static List<DDMStructure> findAll()
          Returns all the d d m structures.
static List<DDMStructure> findAll(int start, int end)
          Returns a range of all the d d m structures.
static List<DDMStructure> findAll(int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures.
static DDMStructure findByC_C_First(long companyId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
static DDMStructure findByC_C_Last(long companyId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
static DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?.
static List<DDMStructure> findByC_C(long companyId, long classNameId)
          Returns all the d d m structures where companyId = ? and classNameId = ?.
static 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 = ?.
static List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?.
static DDMStructure findByClassNameId_First(long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where classNameId = ?.
static DDMStructure findByClassNameId_Last(long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where classNameId = ?.
static DDMStructure[] findByClassNameId_PrevAndNext(long structureId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?.
static List<DDMStructure> findByClassNameId(long classNameId)
          Returns all the d d m structures where classNameId = ?.
static List<DDMStructure> findByClassNameId(long classNameId, int start, int end)
          Returns a range of all the d d m structures where classNameId = ?.
static List<DDMStructure> findByClassNameId(long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where classNameId = ?.
static DDMStructure findByG_C_First(long groupId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
static DDMStructure findByG_C_Last(long groupId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
static DDMStructure[] findByG_C_PrevAndNext(long structureId, long groupId, long classNameId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and classNameId = ?.
static 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.
static List<DDMStructure> findByG_C(long[] groupIds, long classNameId)
          Returns all the d d m structures where groupId = any ? and classNameId = ?.
static 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 = ?.
static List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = any ? and classNameId = ?.
static List<DDMStructure> findByG_C(long groupId, long classNameId)
          Returns all the d d m structures where groupId = ? and classNameId = ?.
static 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 = ?.
static List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and classNameId = ?.
static DDMStructure findByG_N_D_First(long groupId, String name, String description, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
static DDMStructure findByG_N_D_Last(long groupId, String name, String description, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
static DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator<DDMStructure> 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 = ?.
static List<DDMStructure> findByG_N_D(long groupId, String name, String description)
          Returns all the d d m structures where groupId = ? and name = ? and description = ?.
static 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 = ?.
static List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?.
static DDMStructure findByG_P_First(long groupId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
static DDMStructure findByG_P_Last(long groupId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
static DDMStructure[] findByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
static List<DDMStructure> findByG_P(long groupId, long parentStructureId)
          Returns all the d d m structures where groupId = ? and parentStructureId = ?.
static 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 = ?.
static List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ? and parentStructureId = ?.
static DDMStructure findByGroupId_First(long groupId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where groupId = ?.
static DDMStructure findByGroupId_Last(long groupId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where groupId = ?.
static DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?.
static List<DDMStructure> findByGroupId(long groupId)
          Returns all the d d m structures where groupId = ?.
static List<DDMStructure> findByGroupId(long[] groupIds)
          Returns all the d d m structures where groupId = any ?.
static List<DDMStructure> findByGroupId(long[] groupIds, int start, int end)
          Returns a range of all the d d m structures where groupId = any ?.
static List<DDMStructure> findByGroupId(long[] groupIds, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = any ?.
static List<DDMStructure> findByGroupId(long groupId, int start, int end)
          Returns a range of all the d d m structures where groupId = ?.
static List<DDMStructure> findByGroupId(long groupId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where groupId = ?.
static DDMStructure findByParentStructureId_First(long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where parentStructureId = ?.
static DDMStructure findByParentStructureId_Last(long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where parentStructureId = ?.
static DDMStructure[] findByParentStructureId_PrevAndNext(long structureId, long parentStructureId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = ?.
static List<DDMStructure> findByParentStructureId(long parentStructureId)
          Returns all the d d m structures where parentStructureId = ?.
static List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end)
          Returns a range of all the d d m structures where parentStructureId = ?.
static List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where parentStructureId = ?.
static DDMStructure findByPrimaryKey(long structureId)
          Returns the d d m structure with the primary key or throws a NoSuchStructureException if it could not be found.
static DDMStructure findByStructureKey_First(String structureKey, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where structureKey = ?.
static DDMStructure findByStructureKey_Last(String structureKey, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where structureKey = ?.
static DDMStructure[] findByStructureKey_PrevAndNext(long structureId, String structureKey, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = ?.
static List<DDMStructure> findByStructureKey(String structureKey)
          Returns all the d d m structures where structureKey = ?.
static List<DDMStructure> findByStructureKey(String structureKey, int start, int end)
          Returns a range of all the d d m structures where structureKey = ?.
static List<DDMStructure> findByStructureKey(String structureKey, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where structureKey = ?.
static DDMStructure findByUuid_C_First(String uuid, long companyId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
static DDMStructure findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
static DDMStructure[] findByUuid_C_PrevAndNext(long structureId, String uuid, long companyId, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ? and companyId = ?.
static List<DDMStructure> findByUuid_C(String uuid, long companyId)
          Returns all the d d m structures where uuid = ? and companyId = ?.
static 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 = ?.
static List<DDMStructure> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?.
static DDMStructure findByUuid_First(String uuid, OrderByComparator<DDMStructure> orderByComparator)
          Returns the first d d m structure in the ordered set where uuid = ?.
static 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.
static DDMStructure findByUuid_Last(String uuid, OrderByComparator<DDMStructure> orderByComparator)
          Returns the last d d m structure in the ordered set where uuid = ?.
static DDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, OrderByComparator<DDMStructure> orderByComparator)
          Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?.
static List<DDMStructure> findByUuid(String uuid)
          Returns all the d d m structures where uuid = ?.
static List<DDMStructure> findByUuid(String uuid, int start, int end)
          Returns a range of all the d d m structures where uuid = ?.
static List<DDMStructure> findByUuid(String uuid, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
          Returns an ordered range of all the d d m structures where uuid = ?.
static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DDMStructure> orderByComparator)
           
static long[] getDLFileEntryTypePrimaryKeys(long pk)
          Returns the primaryKeys of document library file entry types associated with the d d m structure.
static List<DLFileEntryType> getDLFileEntryTypes(long pk)
          Returns all the document library file entry types associated with the d d m structure.
static 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.
static List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
          Returns an ordered range of all the document library file entry types associated with the d d m structure.
static int getDLFileEntryTypesSize(long pk)
          Returns the number of document library file entry types associated with the d d m structure.
static long[] getJournalFolderPrimaryKeys(long pk)
          Returns the primaryKeys of journal folders associated with the d d m structure.
static List<JournalFolder> getJournalFolders(long pk)
          Returns all the journal folders associated with the d d m structure.
static List<JournalFolder> getJournalFolders(long pk, int start, int end)
          Returns a range of all the journal folders associated with the d d m structure.
static List<JournalFolder> getJournalFolders(long pk, int start, int end, OrderByComparator<JournalFolder> orderByComparator)
          Returns an ordered range of all the journal folders associated with the d d m structure.
static int getJournalFoldersSize(long pk)
          Returns the number of journal folders associated with the d d m structure.
static DDMStructurePersistence getPersistence()
           
static DDMStructure remove(long structureId)
          Removes the d d m structure with the primary key from the database.
static void removeAll()
          Removes all the d d m structures from the database.
static void removeByC_C(long companyId, long classNameId)
          Removes all the d d m structures where companyId = ? and classNameId = ? from the database.
static void removeByClassNameId(long classNameId)
          Removes all the d d m structures where classNameId = ? from the database.
static 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.
static void removeByG_C(long groupId, long classNameId)
          Removes all the d d m structures where groupId = ? and classNameId = ? from the database.
static 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.
static void removeByG_P(long groupId, long parentStructureId)
          Removes all the d d m structures where groupId = ? and parentStructureId = ? from the database.
static void removeByGroupId(long groupId)
          Removes all the d d m structures where groupId = ? from the database.
static void removeByParentStructureId(long parentStructureId)
          Removes all the d d m structures where parentStructureId = ? from the database.
static void removeByStructureKey(String structureKey)
          Removes all the d d m structures where structureKey = ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Removes all the d d m structures where uuid = ? and companyId = ? from the database.
static DDMStructure removeByUUID_G(String uuid, long groupId)
          Removes the d d m structure where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the d d m structures where uuid = ? from the database.
static void removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType)
          Removes the association between the d d m structure and the document library file entry type.
static void removeDLFileEntryType(long pk, long dlFileEntryTypePK)
          Removes the association between the d d m structure and the document library file entry type.
static void removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes)
          Removes the association between the d d m structure and the document library file entry types.
static void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
          Removes the association between the d d m structure and the document library file entry types.
static void removeJournalFolder(long pk, JournalFolder journalFolder)
          Removes the association between the d d m structure and the journal folder.
static void removeJournalFolder(long pk, long journalFolderPK)
          Removes the association between the d d m structure and the journal folder.
static void removeJournalFolders(long pk, List<JournalFolder> journalFolders)
          Removes the association between the d d m structure and the journal folders.
static void removeJournalFolders(long pk, long[] journalFolderPKs)
          Removes the association between the d d m structure and the journal folders.
static 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.
static 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.
static void setJournalFolders(long pk, List<JournalFolder> journalFolders)
          Sets the journal folders associated with the d d m structure, removing and adding associations as necessary.
static void setJournalFolders(long pk, long[] journalFolderPKs)
          Sets the journal folders associated with the d d m structure, removing and adding associations as necessary.
 void setPersistence(DDMStructurePersistence persistence)
          Deprecated. As of 6.2.0
static DDMStructure update(DDMStructure ddmStructure)
           
static DDMStructure update(DDMStructure ddmStructure, ServiceContext serviceContext)
           
static DDMStructure updateImpl(DDMStructure ddmStructure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMStructureUtil

public DDMStructureUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(DDMStructure ddmStructure)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end,
                                                      OrderByComparator<DDMStructure> orderByComparator)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static DDMStructure update(DDMStructure ddmStructure)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static DDMStructure update(DDMStructure ddmStructure,
                                  ServiceContext serviceContext)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByUuid

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

Parameters:
uuid - the uuid
Returns:
the matching d d m structures

findByUuid

public static List<DDMStructure> findByUuid(String uuid,
                                            int start,
                                            int end)
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.

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

findByUuid

public static List<DDMStructure> findByUuid(String uuid,
                                            int start,
                                            int end,
                                            OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByUuid_First

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

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

fetchByUuid_First

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

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

findByUuid_Last

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

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

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

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

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

removeByUuid

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

Parameters:
uuid - the uuid

countByUuid

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

Parameters:
uuid - the uuid
Returns:
the number of matching d d m structures

findByUUID_G

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

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

fetchByUUID_G

public static 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. Uses the finder cache.

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

fetchByUUID_G

public static 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.

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

removeByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the d d m structure that was removed
Throws:
NoSuchStructureException

countByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching d d m structures

findByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching d d m structures

findByUuid_C

public static 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 = ?.

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.

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

findByUuid_C

public static List<DDMStructure> findByUuid_C(String uuid,
                                              long companyId,
                                              int start,
                                              int end,
                                              OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByUuid_C_First

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

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

fetchByUuid_C_First

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

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

findByUuid_C_Last

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

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

fetchByUuid_C_Last

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

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

findByUuid_C_PrevAndNext

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

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

removeByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching d d m structures

findByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching d d m structures

findByGroupId

public static List<DDMStructure> findByGroupId(long groupId,
                                               int start,
                                               int end)
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.

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

findByGroupId

public static List<DDMStructure> findByGroupId(long groupId,
                                               int start,
                                               int end,
                                               OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByGroupId_First

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

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

fetchByGroupId_First

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

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

findByGroupId_Last

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

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

fetchByGroupId_Last

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

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

findByGroupId_PrevAndNext

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

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

filterFindByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching d d m structures that the user has permission to view

filterFindByGroupId

public static 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 = ?.

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.

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

filterFindByGroupId

public static List<DDMStructure> filterFindByGroupId(long groupId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator<DDMStructure> orderByComparator)
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.

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

filterFindByGroupId_PrevAndNext

public static DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId,
                                                             long groupId,
                                                             OrderByComparator<DDMStructure> orderByComparator)
                                                      throws NoSuchStructureException
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 = ?.

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

filterFindByGroupId

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

Parameters:
groupIds - the group IDs
Returns:
the matching d d m structures that the user has permission to view

filterFindByGroupId

public static 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 ?.

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.

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

filterFindByGroupId

public static List<DDMStructure> filterFindByGroupId(long[] groupIds,
                                                     int start,
                                                     int end,
                                                     OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByGroupId

public static List<DDMStructure> findByGroupId(long[] groupIds)
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.

Parameters:
groupIds - the group IDs
Returns:
the matching d d m structures

findByGroupId

public static List<DDMStructure> findByGroupId(long[] groupIds,
                                               int start,
                                               int end)
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.

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

findByGroupId

public static List<DDMStructure> findByGroupId(long[] groupIds,
                                               int start,
                                               int end,
                                               OrderByComparator<DDMStructure> orderByComparator)
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.

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

removeByGroupId

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

Parameters:
groupId - the group ID

countByGroupId

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

Parameters:
groupId - the group ID
Returns:
the number of matching d d m structures

countByGroupId

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

Parameters:
groupIds - the group IDs
Returns:
the number of matching d d m structures

filterCountByGroupId

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

Parameters:
groupId - the group ID
Returns:
the number of matching d d m structures that the user has permission to view

filterCountByGroupId

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

Parameters:
groupIds - the group IDs
Returns:
the number of matching d d m structures that the user has permission to view

findByParentStructureId

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

Parameters:
parentStructureId - the parent structure ID
Returns:
the matching d d m structures

findByParentStructureId

public static List<DDMStructure> findByParentStructureId(long parentStructureId,
                                                         int start,
                                                         int end)
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.

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

findByParentStructureId

public static List<DDMStructure> findByParentStructureId(long parentStructureId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByParentStructureId_First

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

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

fetchByParentStructureId_First

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

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

findByParentStructureId_Last

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

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

fetchByParentStructureId_Last

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

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

findByParentStructureId_PrevAndNext

public static DDMStructure[] findByParentStructureId_PrevAndNext(long structureId,
                                                                 long parentStructureId,
                                                                 OrderByComparator<DDMStructure> orderByComparator)
                                                          throws NoSuchStructureException
Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = ?.

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

removeByParentStructureId

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

Parameters:
parentStructureId - the parent structure ID

countByParentStructureId

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

Parameters:
parentStructureId - the parent structure ID
Returns:
the number of matching d d m structures

findByClassNameId

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

Parameters:
classNameId - the class name ID
Returns:
the matching d d m structures

findByClassNameId

public static List<DDMStructure> findByClassNameId(long classNameId,
                                                   int start,
                                                   int end)
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.

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

findByClassNameId

public static List<DDMStructure> findByClassNameId(long classNameId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByClassNameId_First

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

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

fetchByClassNameId_First

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

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

findByClassNameId_Last

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

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

fetchByClassNameId_Last

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

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

findByClassNameId_PrevAndNext

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

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

removeByClassNameId

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

Parameters:
classNameId - the class name ID

countByClassNameId

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

Parameters:
classNameId - the class name ID
Returns:
the number of matching d d m structures

findByStructureKey

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

Parameters:
structureKey - the structure key
Returns:
the matching d d m structures

findByStructureKey

public static List<DDMStructure> findByStructureKey(String structureKey,
                                                    int start,
                                                    int end)
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.

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

findByStructureKey

public static List<DDMStructure> findByStructureKey(String structureKey,
                                                    int start,
                                                    int end,
                                                    OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByStructureKey_First

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

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

fetchByStructureKey_First

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

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

findByStructureKey_Last

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

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

fetchByStructureKey_Last

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

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

findByStructureKey_PrevAndNext

public static DDMStructure[] findByStructureKey_PrevAndNext(long structureId,
                                                            String structureKey,
                                                            OrderByComparator<DDMStructure> orderByComparator)
                                                     throws NoSuchStructureException
Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = ?.

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

removeByStructureKey

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

Parameters:
structureKey - the structure key

countByStructureKey

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

Parameters:
structureKey - the structure key
Returns:
the number of matching d d m structures

findByG_P

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

Parameters:
groupId - the group ID
parentStructureId - the parent structure ID
Returns:
the matching d d m structures

findByG_P

public static 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 = ?.

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.

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

findByG_P

public static List<DDMStructure> findByG_P(long groupId,
                                           long parentStructureId,
                                           int start,
                                           int end,
                                           OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByG_P_First

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

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

fetchByG_P_First

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

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

findByG_P_Last

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

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

fetchByG_P_Last

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

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

findByG_P_PrevAndNext

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

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

filterFindByG_P

public static 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 = ?.

Parameters:
groupId - the group ID
parentStructureId - the parent structure ID
Returns:
the matching d d m structures that the user has permission to view

filterFindByG_P

public static 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 = ?.

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.

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

filterFindByG_P

public static List<DDMStructure> filterFindByG_P(long groupId,
                                                 long parentStructureId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<DDMStructure> orderByComparator)
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.

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

filterFindByG_P_PrevAndNext

public static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId,
                                                         long groupId,
                                                         long parentStructureId,
                                                         OrderByComparator<DDMStructure> orderByComparator)
                                                  throws NoSuchStructureException
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 = ?.

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

removeByG_P

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

Parameters:
groupId - the group ID
parentStructureId - the parent structure ID

countByG_P

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

Parameters:
groupId - the group ID
parentStructureId - the parent structure ID
Returns:
the number of matching d d m structures

filterCountByG_P

public static 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 = ?.

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

findByG_C

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

Parameters:
groupId - the group ID
classNameId - the class name ID
Returns:
the matching d d m structures

findByG_C

public static 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 = ?.

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.

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

findByG_C

public static List<DDMStructure> findByG_C(long groupId,
                                           long classNameId,
                                           int start,
                                           int end,
                                           OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByG_C_First

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

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

fetchByG_C_First

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

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

findByG_C_Last

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

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

fetchByG_C_Last

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

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

findByG_C_PrevAndNext

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

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

filterFindByG_C

public static 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 = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
Returns:
the matching d d m structures that the user has permission to view

filterFindByG_C

public static 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 = ?.

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.

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

filterFindByG_C

public static List<DDMStructure> filterFindByG_C(long groupId,
                                                 long classNameId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<DDMStructure> orderByComparator)
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.

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

filterFindByG_C_PrevAndNext

public static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId,
                                                         long groupId,
                                                         long classNameId,
                                                         OrderByComparator<DDMStructure> orderByComparator)
                                                  throws NoSuchStructureException
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 = ?.

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

filterFindByG_C

public static 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 = ?.

Parameters:
groupIds - the group IDs
classNameId - the class name ID
Returns:
the matching d d m structures that the user has permission to view

filterFindByG_C

public static 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 = ?.

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.

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

filterFindByG_C

public static List<DDMStructure> filterFindByG_C(long[] groupIds,
                                                 long classNameId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByG_C

public static List<DDMStructure> findByG_C(long[] groupIds,
                                           long classNameId)
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.

Parameters:
groupIds - the group IDs
classNameId - the class name ID
Returns:
the matching d d m structures

findByG_C

public static 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 = ?.

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.

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

findByG_C

public static List<DDMStructure> findByG_C(long[] groupIds,
                                           long classNameId,
                                           int start,
                                           int end,
                                           OrderByComparator<DDMStructure> orderByComparator)
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.

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

removeByG_C

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

Parameters:
groupId - the group ID
classNameId - the class name ID

countByG_C

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

Parameters:
groupId - the group ID
classNameId - the class name ID
Returns:
the number of matching d d m structures

countByG_C

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

Parameters:
groupIds - the group IDs
classNameId - the class name ID
Returns:
the number of matching d d m structures

filterCountByG_C

public static 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 = ?.

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

filterCountByG_C

public static 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 = ?.

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

findByC_C

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

Parameters:
companyId - the company ID
classNameId - the class name ID
Returns:
the matching d d m structures

findByC_C

public static 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 = ?.

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.

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

findByC_C

public static List<DDMStructure> findByC_C(long companyId,
                                           long classNameId,
                                           int start,
                                           int end,
                                           OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByC_C_First

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

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

fetchByC_C_First

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

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

findByC_C_Last

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

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

fetchByC_C_Last

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

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

findByC_C_PrevAndNext

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

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

removeByC_C

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

Parameters:
companyId - the company ID
classNameId - the class name ID

countByC_C

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

Parameters:
companyId - the company ID
classNameId - the class name ID
Returns:
the number of matching d d m structures

findByG_C_S

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

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

fetchByG_C_S

public static 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. Uses the finder cache.

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

fetchByG_C_S

public static 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.

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

removeByG_C_S

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

Parameters:
groupId - the group ID
classNameId - the class name ID
structureKey - the structure key
Returns:
the d d m structure that was removed
Throws:
NoSuchStructureException

countByG_C_S

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

Parameters:
groupId - the group ID
classNameId - the class name ID
structureKey - the structure key
Returns:
the number of matching d d m structures

findByG_N_D

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

Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the matching d d m structures

findByG_N_D

public static 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 = ?.

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.

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

findByG_N_D

public static List<DDMStructure> findByG_N_D(long groupId,
                                             String name,
                                             String description,
                                             int start,
                                             int end,
                                             OrderByComparator<DDMStructure> orderByComparator)
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.

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

findByG_N_D_First

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

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

fetchByG_N_D_First

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

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

findByG_N_D_Last

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

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

fetchByG_N_D_Last

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

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

findByG_N_D_PrevAndNext

public static DDMStructure[] findByG_N_D_PrevAndNext(long structureId,
                                                     long groupId,
                                                     String name,
                                                     String description,
                                                     OrderByComparator<DDMStructure> orderByComparator)
                                              throws NoSuchStructureException
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 = ?.

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

filterFindByG_N_D

public static 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 = ?.

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

filterFindByG_N_D

public static 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 = ?.

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.

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

filterFindByG_N_D

public static List<DDMStructure> filterFindByG_N_D(long groupId,
                                                   String name,
                                                   String description,
                                                   int start,
                                                   int end,
                                                   OrderByComparator<DDMStructure> 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 = ?.

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.

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

filterFindByG_N_D_PrevAndNext

public static DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId,
                                                           long groupId,
                                                           String name,
                                                           String description,
                                                           OrderByComparator<DDMStructure> orderByComparator)
                                                    throws NoSuchStructureException
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 = ?.

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

removeByG_N_D

public static 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.

Parameters:
groupId - the group ID
name - the name
description - the description

countByG_N_D

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

Parameters:
groupId - the group ID
name - the name
description - the description
Returns:
the number of matching d d m structures

filterCountByG_N_D

public static 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 = ?.

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

cacheResult

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

Parameters:
ddmStructure - the d d m structure

cacheResult

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

Parameters:
ddmStructures - the d d m structures

create

public static 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.

Parameters:
structureId - the primary key for the new d d m structure
Returns:
the new d d m structure

remove

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

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

updateImpl

public static DDMStructure updateImpl(DDMStructure ddmStructure)

findByPrimaryKey

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

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

fetchByPrimaryKey

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

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

fetchByPrimaryKeys

public static Map<Serializable,DDMStructure> fetchByPrimaryKeys(Set<Serializable> primaryKeys)

findAll

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

Returns:
the d d m structures

findAll

public static List<DDMStructure> findAll(int start,
                                         int end)
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.

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

findAll

public static List<DDMStructure> findAll(int start,
                                         int end,
                                         OrderByComparator<DDMStructure> orderByComparator)
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.

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

removeAll

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


countAll

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

Returns:
the number of d d m structures

getDLFileEntryTypePrimaryKeys

public static long[] getDLFileEntryTypePrimaryKeys(long pk)
Returns the primaryKeys of document library file entry types associated with the d d m structure.

Parameters:
pk - the primary key of the d d m structure
Returns:
long[] of the primaryKeys of document library file entry types associated with the d d m structure

getDLFileEntryTypes

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

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

getDLFileEntryTypes

public static 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.

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.

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

getDLFileEntryTypes

public static List<DLFileEntryType> getDLFileEntryTypes(long pk,
                                                        int start,
                                                        int end,
                                                        OrderByComparator<DLFileEntryType> orderByComparator)
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.

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

getDLFileEntryTypesSize

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

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

containsDLFileEntryType

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

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

containsDLFileEntryTypes

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

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

addDLFileEntryType

public static void addDLFileEntryType(long pk,
                                      long dlFileEntryTypePK)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePK - the primary key of the document library file entry type

addDLFileEntryType

public static void addDLFileEntryType(long pk,
                                      DLFileEntryType dlFileEntryType)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryType - the document library file entry type

addDLFileEntryTypes

public static void addDLFileEntryTypes(long pk,
                                       long[] dlFileEntryTypePKs)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePKs - the primary keys of the document library file entry types

addDLFileEntryTypes

public static void addDLFileEntryTypes(long pk,
                                       List<DLFileEntryType> dlFileEntryTypes)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypes - the document library file entry types

clearDLFileEntryTypes

public static void clearDLFileEntryTypes(long pk)
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.

Parameters:
pk - the primary key of the d d m structure to clear the associated document library file entry types from

removeDLFileEntryType

public static void removeDLFileEntryType(long pk,
                                         long dlFileEntryTypePK)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePK - the primary key of the document library file entry type

removeDLFileEntryType

public static void removeDLFileEntryType(long pk,
                                         DLFileEntryType dlFileEntryType)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryType - the document library file entry type

removeDLFileEntryTypes

public static void removeDLFileEntryTypes(long pk,
                                          long[] dlFileEntryTypePKs)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypePKs - the primary keys of the document library file entry types

removeDLFileEntryTypes

public static void removeDLFileEntryTypes(long pk,
                                          List<DLFileEntryType> dlFileEntryTypes)
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.

Parameters:
pk - the primary key of the d d m structure
dlFileEntryTypes - the document library file entry types

setDLFileEntryTypes

public static 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. Also notifies the appropriate model listeners and clears the mapping table finder cache.

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

setDLFileEntryTypes

public static 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. Also notifies the appropriate model listeners and clears the mapping table finder cache.

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

getJournalFolderPrimaryKeys

public static long[] getJournalFolderPrimaryKeys(long pk)
Returns the primaryKeys of journal folders associated with the d d m structure.

Parameters:
pk - the primary key of the d d m structure
Returns:
long[] of the primaryKeys of journal folders associated with the d d m structure

getJournalFolders

public static List<JournalFolder> getJournalFolders(long pk)
Returns all the journal folders associated with the d d m structure.

Parameters:
pk - the primary key of the d d m structure
Returns:
the journal folders associated with the d d m structure

getJournalFolders

public static List<JournalFolder> getJournalFolders(long pk,
                                                    int start,
                                                    int end)
Returns a range of all the journal folders 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.

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 journal folders associated with the d d m structure

getJournalFolders

public static List<JournalFolder> getJournalFolders(long pk,
                                                    int start,
                                                    int end,
                                                    OrderByComparator<JournalFolder> orderByComparator)
Returns an ordered range of all the journal folders 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.

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 journal folders associated with the d d m structure

getJournalFoldersSize

public static int getJournalFoldersSize(long pk)
Returns the number of journal folders associated with the d d m structure.

Parameters:
pk - the primary key of the d d m structure
Returns:
the number of journal folders associated with the d d m structure

containsJournalFolder

public static boolean containsJournalFolder(long pk,
                                            long journalFolderPK)
Returns true if the journal folder is associated with the d d m structure.

Parameters:
pk - the primary key of the d d m structure
journalFolderPK - the primary key of the journal folder
Returns:
true if the journal folder is associated with the d d m structure; false otherwise

containsJournalFolders

public static boolean containsJournalFolders(long pk)
Returns true if the d d m structure has any journal folders associated with it.

Parameters:
pk - the primary key of the d d m structure to check for associations with journal folders
Returns:
true if the d d m structure has any journal folders associated with it; false otherwise

addJournalFolder

public static void addJournalFolder(long pk,
                                    long journalFolderPK)
Adds an association between the d d m structure and the journal folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolderPK - the primary key of the journal folder

addJournalFolder

public static void addJournalFolder(long pk,
                                    JournalFolder journalFolder)
Adds an association between the d d m structure and the journal folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolder - the journal folder

addJournalFolders

public static void addJournalFolders(long pk,
                                     long[] journalFolderPKs)
Adds an association between the d d m structure and the journal folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolderPKs - the primary keys of the journal folders

addJournalFolders

public static void addJournalFolders(long pk,
                                     List<JournalFolder> journalFolders)
Adds an association between the d d m structure and the journal folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolders - the journal folders

clearJournalFolders

public static void clearJournalFolders(long pk)
Clears all associations between the d d m structure and its journal folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure to clear the associated journal folders from

removeJournalFolder

public static void removeJournalFolder(long pk,
                                       long journalFolderPK)
Removes the association between the d d m structure and the journal folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolderPK - the primary key of the journal folder

removeJournalFolder

public static void removeJournalFolder(long pk,
                                       JournalFolder journalFolder)
Removes the association between the d d m structure and the journal folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolder - the journal folder

removeJournalFolders

public static void removeJournalFolders(long pk,
                                        long[] journalFolderPKs)
Removes the association between the d d m structure and the journal folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolderPKs - the primary keys of the journal folders

removeJournalFolders

public static void removeJournalFolders(long pk,
                                        List<JournalFolder> journalFolders)
Removes the association between the d d m structure and the journal folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Parameters:
pk - the primary key of the d d m structure
journalFolders - the journal folders

setJournalFolders

public static void setJournalFolders(long pk,
                                     long[] journalFolderPKs)
Sets the journal folders 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.

Parameters:
pk - the primary key of the d d m structure
journalFolderPKs - the primary keys of the journal folders to be associated with the d d m structure

setJournalFolders

public static void setJournalFolders(long pk,
                                     List<JournalFolder> journalFolders)
Sets the journal folders 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.

Parameters:
pk - the primary key of the d d m structure
journalFolders - the journal folders to be associated with the d d m structure

getPersistence

public static DDMStructurePersistence getPersistence()

setPersistence

@Deprecated
public void setPersistence(DDMStructurePersistence persistence)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m3