|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureUtil
@ProviderType public class DDMStructureUtil
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
DDMStructurePersistence
,
DDMStructurePersistenceImpl
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 |
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 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 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 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 orderByComparator)
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. |
static DDMStructure |
fetchByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where classNameId = ?. |
static DDMStructure |
fetchByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where classNameId = ?. |
static DDMStructure |
fetchByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?. |
static DDMStructure |
fetchByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?. |
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 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 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 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 orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?. |
static DDMStructure |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ?. |
static DDMStructure |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ?. |
static DDMStructure |
fetchByParentStructureId_First(long parentStructureId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where parentStructureId = ?. |
static DDMStructure |
fetchByParentStructureId_Last(long parentStructureId,
OrderByComparator 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 DDMStructure |
fetchByStructureKey_First(String structureKey,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where structureKey = ?. |
static DDMStructure |
fetchByStructureKey_Last(String structureKey,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where structureKey = ?. |
static DDMStructure |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?. |
static DDMStructure |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?. |
static DDMStructure |
fetchByUuid_First(String uuid,
OrderByComparator 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 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 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 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 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 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 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 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 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 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 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 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 orderByComparator)
Returns an ordered range of all the d d m structures. |
static DDMStructure |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?. |
static DDMStructure |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?. |
static DDMStructure[] |
findByC_C_PrevAndNext(long structureId,
long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?. |
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 orderByComparator)
Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?. |
static DDMStructure |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where classNameId = ?. |
static DDMStructure |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where classNameId = ?. |
static DDMStructure[] |
findByClassNameId_PrevAndNext(long structureId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?. |
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 orderByComparator)
Returns an ordered range of all the d d m structures where classNameId = ?. |
static DDMStructure |
findByG_C_First(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?. |
static DDMStructure |
findByG_C_Last(long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?. |
static DDMStructure[] |
findByG_C_PrevAndNext(long structureId,
long groupId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and classNameId = ?. |
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 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 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 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 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 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 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 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 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 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 orderByComparator)
Returns an ordered range of all the d d m structures where groupId = ? and parentStructureId = ?. |
static DDMStructure |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where groupId = ?. |
static DDMStructure |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where groupId = ?. |
static DDMStructure[] |
findByGroupId_PrevAndNext(long structureId,
long groupId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?. |
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 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 orderByComparator)
Returns an ordered range of all the d d m structures where groupId = ?. |
static DDMStructure |
findByParentStructureId_First(long parentStructureId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where parentStructureId = ?. |
static DDMStructure |
findByParentStructureId_Last(long parentStructureId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where parentStructureId = ?. |
static DDMStructure[] |
findByParentStructureId_PrevAndNext(long structureId,
long parentStructureId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = ?. |
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 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 orderByComparator)
Returns the first d d m structure in the ordered set where structureKey = ?. |
static DDMStructure |
findByStructureKey_Last(String structureKey,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where structureKey = ?. |
static DDMStructure[] |
findByStructureKey_PrevAndNext(long structureId,
String structureKey,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = ?. |
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 orderByComparator)
Returns an ordered range of all the d d m structures where structureKey = ?. |
static DDMStructure |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?. |
static DDMStructure |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?. |
static DDMStructure[] |
findByUuid_C_PrevAndNext(long structureId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ? and companyId = ?. |
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 orderByComparator)
Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?. |
static DDMStructure |
findByUuid_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last d d m structure in the ordered set where uuid = ?. |
static DDMStructure[] |
findByUuid_PrevAndNext(long structureId,
String uuid,
OrderByComparator orderByComparator)
Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?. |
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 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 orderByComparator)
|
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 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 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 |
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. |
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 |
---|
public DDMStructureUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMStructure ddmStructure)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DDMStructure> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMStructure update(DDMStructure ddmStructure) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel)
public static DDMStructure update(DDMStructure ddmStructure, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<DDMStructure> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
uuid
- the uuidstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
uuid
- the uuidstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static DDMStructure findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchStructureException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchStructureException
public static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByUuid_C_PrevAndNext(long structureId, String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long[] groupIds) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long[] groupIds, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByGroupId(long[] groupIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long[] groupIds) throws SystemException
groupIds
- the group IDs
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByParentStructureId(long parentStructureId) throws SystemException
parentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
parentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
parentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByParentStructureId_First(long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByParentStructureId_First(long parentStructureId, OrderByComparator orderByComparator) throws SystemException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByParentStructureId_Last(long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByParentStructureId_Last(long parentStructureId, OrderByComparator orderByComparator) throws SystemException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByParentStructureId_PrevAndNext(long structureId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structureparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByParentStructureId(long parentStructureId) throws SystemException
parentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static int countByParentStructureId(long parentStructureId) throws SystemException
parentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByClassNameId(long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
classNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByClassNameId(long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
classNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
classNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByClassNameId_PrevAndNext(long structureId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structureclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int countByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByStructureKey(String structureKey) throws SystemException
structureKey
- the structure key
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByStructureKey(String structureKey, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
structureKey
- the structure keystart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByStructureKey(String structureKey, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
structureKey
- the structure keystart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByStructureKey_First(String structureKey, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByStructureKey_First(String structureKey, OrderByComparator orderByComparator) throws SystemException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByStructureKey_Last(String structureKey, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByStructureKey_Last(String structureKey, OrderByComparator orderByComparator) throws SystemException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByStructureKey_PrevAndNext(long structureId, String structureKey, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structurestructureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByStructureKey(String structureKey) throws SystemException
structureKey
- the structure key
SystemException
- if a system exception occurredpublic static int countByStructureKey(String structureKey) throws SystemException
structureKey
- the structure key
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_P(long groupId, long parentStructureId) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByG_P_First(long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_P_First(long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByG_P_Last(long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_P_Last(long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P(long groupId, long parentStructureId) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static int countByG_P(long groupId, long parentStructureId) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static int filterCountByG_P(long groupId, long parentStructureId) throws SystemException
groupId
- the group IDparentStructureId
- the parent structure ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long groupId, long classNameId) throws SystemException
groupId
- the group IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByG_C_First(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_C_First(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByG_C_PrevAndNext(long structureId, long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long groupId, long classNameId) throws SystemException
groupId
- the group IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId, long groupId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId) throws SystemException
groupIds
- the group IDsclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long[] groupIds, long classNameId) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeByG_C(long groupId, long classNameId) throws SystemException
groupId
- the group IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int countByG_C(long groupId, long classNameId) throws SystemException
groupId
- the group IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int countByG_C(long[] groupIds, long classNameId) throws SystemException
groupIds
- the group IDsclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int filterCountByG_C(long groupId, long classNameId) throws SystemException
groupId
- the group IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int filterCountByG_C(long[] groupIds, long classNameId) throws SystemException
groupIds
- the group IDsclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structurecompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static int countByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredpublic static DDMStructure findByG_C_S(long groupId, long classNameId, String structureKey) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure key
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_C_S(long groupId, long classNameId, String structureKey) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure key
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_C_S(long groupId, long classNameId, String structureKey, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keyretrieveFromCache
- whether to use the finder cache
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure removeByG_C_S(long groupId, long classNameId, String structureKey) throws SystemException, NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure key
SystemException
- if a system exception occurred
NoSuchStructureException
public static int countByG_C_S(long groupId, long classNameId, String structureKey) throws SystemException
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure key
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure findByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_N_D_First(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure findByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByG_N_D_Last(long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m structure could not be found
SystemException
- if a system exception occurredpublic static DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, OrderByComparator orderByComparator) throws SystemException, NoSuchStructureException
structureId
- the primary key of the current d d m structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic static int countByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic static int filterCountByG_N_D(long groupId, String name, String description) throws SystemException
groupId
- the group IDname
- the namedescription
- the description
SystemException
- if a system exception occurredpublic static void cacheResult(DDMStructure ddmStructure)
ddmStructure
- the d d m structurepublic static void cacheResult(List<DDMStructure> ddmStructures)
ddmStructures
- the d d m structurespublic static DDMStructure create(long structureId)
structureId
- the primary key for the new d d m structure
public static DDMStructure remove(long structureId) throws SystemException, NoSuchStructureException
structureId
- the primary key of the d d m structure
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static DDMStructure updateImpl(DDMStructure ddmStructure) throws SystemException
SystemException
public static DDMStructure findByPrimaryKey(long structureId) throws SystemException, NoSuchStructureException
NoSuchStructureException
if it could not be found.
structureId
- the primary key of the d d m structure
NoSuchStructureException
- if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static DDMStructure fetchByPrimaryKey(long structureId) throws SystemException
null
if it could not be found.
structureId
- the primary key of the d d m structure
null
if a d d m structure with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DDMStructure> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DDMStructure> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
start
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DDMStructure> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
start
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk) throws SystemException
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
pk
- the primary key of the d d m structurestart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntryType> getDLFileEntryTypes(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. 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.
pk
- the primary key of the d d m structurestart
- the lower bound of the range of d d m structuresend
- the upper bound of the range of d d m structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static int getDLFileEntryTypesSize(long pk) throws SystemException
pk
- the primary key of the d d m structure
SystemException
- if a system exception occurredpublic static boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
true
if the document library file entry type is associated with the d d m structure.
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
true
if the document library file entry type is associated with the d d m structure; false
otherwise
SystemException
- if a system exception occurredpublic static boolean containsDLFileEntryTypes(long pk) throws SystemException
true
if the d d m structure has any document library file entry types associated with it.
pk
- the primary key of the d d m structure to check for associations with document library file entry types
true
if the d d m structure has any document library file entry types associated with it; false
otherwise
SystemException
- if a system exception occurredpublic static void addDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic static void addDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic static void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic static void addDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic static void clearDLFileEntryTypes(long pk) throws SystemException
pk
- the primary key of the d d m structure to clear the associated document library file entry types from
SystemException
- if a system exception occurredpublic static void removeDLFileEntryType(long pk, long dlFileEntryTypePK) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypePK
- the primary key of the document library file entry type
SystemException
- if a system exception occurredpublic static void removeDLFileEntryType(long pk, DLFileEntryType dlFileEntryType) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryType
- the document library file entry type
SystemException
- if a system exception occurredpublic static void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types
SystemException
- if a system exception occurredpublic static void removeDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types
SystemException
- if a system exception occurredpublic static void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypePKs
- the primary keys of the document library file entry types to be associated with the d d m structure
SystemException
- if a system exception occurredpublic static void setDLFileEntryTypes(long pk, List<DLFileEntryType> dlFileEntryTypes) throws SystemException
pk
- the primary key of the d d m structuredlFileEntryTypes
- the document library file entry types to be associated with the d d m structure
SystemException
- if a system exception occurredpublic static DDMStructurePersistence getPersistence()
public void setPersistence(DDMStructurePersistence persistence)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |