public class DDMStructureUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.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
Constructor and Description |
---|
DDMStructureUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMStructure ddmStructure)
Caches the ddm structure in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMStructure> ddmStructures)
Caches the ddm structures in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMStructure ddmStructure) |
static int |
countAll()
Returns the number of ddm structures.
|
static int |
countByC_C(long companyId,
long classNameId)
Returns the number of ddm structures where companyId = ? and classNameId = ?.
|
static int |
countByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static int |
countByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static int |
countByG_C_S(long groupId,
long classNameId,
java.lang.String structureKey)
Returns the number of ddm structures where groupId = ? and classNameId = ? and structureKey = ?.
|
static int |
countByG_C(long[] groupIds,
long classNameId)
Returns the number of ddm structures where groupId = any ? and classNameId = ?.
|
static int |
countByG_C(long groupId,
long classNameId)
Returns the number of ddm structures where groupId = ? and classNameId = ?.
|
static int |
countByG_N_D(long groupId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm structures where groupId = ? and name = ? and description = ?.
|
static int |
countByG_P(long groupId,
long parentStructureId)
Returns the number of ddm structures where groupId = ? and parentStructureId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of ddm structures where groupId = ?.
|
static int |
countByGroupId(long[] groupIds)
Returns the number of ddm structures where groupId = any ?.
|
static int |
countByParentStructureId(long parentStructureId)
Returns the number of ddm structures where parentStructureId = ?.
|
static int |
countByStructureKey(java.lang.String structureKey)
Returns the number of ddm structures where structureKey = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm structures where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm structures where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ddm structures where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMStructure |
create(long structureId)
Creates a new ddm structure with the primary key.
|
static DDMStructure |
fetchByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where companyId = ? and classNameId = ?.
|
static DDMStructure |
fetchByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where companyId = ? and classNameId = ?.
|
static DDMStructure |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructure |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructure |
fetchByG_C_N_D_First(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure |
fetchByG_C_N_D_Last(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure |
fetchByG_C_S(long groupId,
long classNameId,
java.lang.String structureKey)
Returns the ddm 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,
java.lang.String structureKey,
boolean useFinderCache)
Returns the ddm 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,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and name = ? and description = ?.
|
static DDMStructure |
fetchByG_N_D_Last(long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and name = ? and description = ?.
|
static DDMStructure |
fetchByG_P_First(long groupId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and parentStructureId = ?.
|
static DDMStructure |
fetchByG_P_Last(long groupId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and parentStructureId = ?.
|
static DDMStructure |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ?.
|
static DDMStructure |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ?.
|
static DDMStructure |
fetchByParentStructureId_First(long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where parentStructureId = ?.
|
static DDMStructure |
fetchByParentStructureId_Last(long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where parentStructureId = ?.
|
static DDMStructure |
fetchByPrimaryKey(long structureId)
Returns the ddm structure with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMStructure> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMStructure |
fetchByStructureKey_First(java.lang.String structureKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where structureKey = ?.
|
static DDMStructure |
fetchByStructureKey_Last(java.lang.String structureKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where structureKey = ?.
|
static DDMStructure |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructure |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructure |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where uuid = ?.
|
static DDMStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm structure where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DDMStructure |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the ddm structure where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMStructure |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where uuid = ?.
|
static int |
filterCountByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static int |
filterCountByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static int |
filterCountByG_C(long[] groupIds,
long classNameId)
Returns the number of ddm 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 ddm structures that the user has permission to view where groupId = ? and classNameId = ?.
|
static int |
filterCountByG_N_D(long groupId,
java.lang.String name,
java.lang.String description)
Returns the number of ddm 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 ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of ddm structures that the user has permission to view where groupId = ?.
|
static int |
filterCountByGroupId(long[] groupIds)
Returns the number of ddm structures that the user has permission to view where groupId = any ?.
|
static DDMStructure[] |
filterFindByG_C_N_D_PrevAndNext(long structureId,
long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set of ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permissions to view where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure[] |
filterFindByG_C_PrevAndNext(long structureId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set of ddm structures that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long[] groupIds,
long classNameId)
Returns all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long[] groupIds,
long classNameId,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long[] groupIds,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long groupId,
long classNameId)
Returns all the ddm structures that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permissions to view where groupId = ? and classNameId = ?.
|
static DDMStructure[] |
filterFindByG_N_D_PrevAndNext(long structureId,
long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set of ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_N_D(long groupId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_N_D(long groupId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_N_D(long groupId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm 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,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set of ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_P(long groupId,
long parentStructureId)
Returns all the ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_P(long groupId,
long parentStructureId,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
filterFindByG_P(long groupId,
long parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permissions to view where groupId = ? and parentStructureId = ?.
|
static DDMStructure[] |
filterFindByGroupId_PrevAndNext(long structureId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set of ddm structures that the user has permission to view where groupId = ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long groupId)
Returns all the ddm structures that the user has permission to view where groupId = ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long[] groupIds)
Returns all the ddm structures that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm structures that the user has permission to view where groupId = ?.
|
static java.util.List<DDMStructure> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures that the user has permissions to view where groupId = ?.
|
static java.util.List<DDMStructure> |
findAll()
Returns all the ddm structures.
|
static java.util.List<DDMStructure> |
findAll(int start,
int end)
Returns a range of all the ddm structures.
|
static java.util.List<DDMStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures.
|
static java.util.List<DDMStructure> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures.
|
static DDMStructure |
findByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where companyId = ? and classNameId = ?.
|
static DDMStructure |
findByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where companyId = ? and classNameId = ?.
|
static DDMStructure[] |
findByC_C_PrevAndNext(long structureId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where companyId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByC_C(long companyId,
long classNameId)
Returns all the ddm structures where companyId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the ddm structures where companyId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where companyId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where companyId = ? and classNameId = ?.
|
static DDMStructure |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructure |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructure |
findByG_C_N_D_First(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure |
findByG_C_N_D_Last(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure[] |
findByG_C_N_D_PrevAndNext(long structureId,
long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long[] groupIds,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?, optionally using the finder cache.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.
|
static DDMStructure[] |
findByG_C_PrevAndNext(long structureId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructure |
findByG_C_S(long groupId,
long classNameId,
java.lang.String structureKey)
Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or throws a
NoSuchStructureException if it could not be found. |
static java.util.List<DDMStructure> |
findByG_C(long[] groupIds,
long classNameId)
Returns all the ddm structures where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long[] groupIds,
long classNameId,
int start,
int end)
Returns a range of all the ddm structures where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long[] groupIds,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = any ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long[] groupIds,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ?, optionally using the finder cache.
|
static java.util.List<DDMStructure> |
findByG_C(long groupId,
long classNameId)
Returns all the ddm structures where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the ddm structures where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructure> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and classNameId = ?.
|
static DDMStructure |
findByG_N_D_First(long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and name = ? and description = ?.
|
static DDMStructure |
findByG_N_D_Last(long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and name = ? and description = ?.
|
static DDMStructure[] |
findByG_N_D_PrevAndNext(long structureId,
long groupId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_N_D(long groupId,
java.lang.String name,
java.lang.String description)
Returns all the ddm structures where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_N_D(long groupId,
java.lang.String name,
java.lang.String description,
int start,
int end)
Returns a range of all the ddm structures where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_N_D(long groupId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = ? and name = ? and description = ?.
|
static java.util.List<DDMStructure> |
findByG_N_D(long groupId,
java.lang.String name,
java.lang.String description,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and name = ? and description = ?.
|
static DDMStructure |
findByG_P_First(long groupId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ? and parentStructureId = ?.
|
static DDMStructure |
findByG_P_Last(long groupId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ? and parentStructureId = ?.
|
static DDMStructure[] |
findByG_P_PrevAndNext(long structureId,
long groupId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByG_P(long groupId,
long parentStructureId)
Returns all the ddm structures where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByG_P(long groupId,
long parentStructureId,
int start,
int end)
Returns a range of all the ddm structures where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByG_P(long groupId,
long parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = ? and parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByG_P(long groupId,
long parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ? and parentStructureId = ?.
|
static DDMStructure |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where groupId = ?.
|
static DDMStructure |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where groupId = ?.
|
static DDMStructure[] |
findByGroupId_PrevAndNext(long structureId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long groupId)
Returns all the ddm structures where groupId = ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long[] groupIds)
Returns all the ddm structures where groupId = any ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm structures where groupId = any ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = any ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ?, optionally using the finder cache.
|
static java.util.List<DDMStructure> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm structures where groupId = ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where groupId = ?.
|
static java.util.List<DDMStructure> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where groupId = ?.
|
static DDMStructure |
findByParentStructureId_First(long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where parentStructureId = ?.
|
static DDMStructure |
findByParentStructureId_Last(long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where parentStructureId = ?.
|
static DDMStructure[] |
findByParentStructureId_PrevAndNext(long structureId,
long parentStructureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByParentStructureId(long parentStructureId)
Returns all the ddm structures where parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByParentStructureId(long parentStructureId,
int start,
int end)
Returns a range of all the ddm structures where parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByParentStructureId(long parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where parentStructureId = ?.
|
static java.util.List<DDMStructure> |
findByParentStructureId(long parentStructureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where parentStructureId = ?.
|
static DDMStructure |
findByPrimaryKey(long structureId)
Returns the ddm structure with the primary key or throws a
NoSuchStructureException if it could not be found. |
static DDMStructure |
findByStructureKey_First(java.lang.String structureKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where structureKey = ?.
|
static DDMStructure |
findByStructureKey_Last(java.lang.String structureKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where structureKey = ?.
|
static DDMStructure[] |
findByStructureKey_PrevAndNext(long structureId,
java.lang.String structureKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where structureKey = ?.
|
static java.util.List<DDMStructure> |
findByStructureKey(java.lang.String structureKey)
Returns all the ddm structures where structureKey = ?.
|
static java.util.List<DDMStructure> |
findByStructureKey(java.lang.String structureKey,
int start,
int end)
Returns a range of all the ddm structures where structureKey = ?.
|
static java.util.List<DDMStructure> |
findByStructureKey(java.lang.String structureKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where structureKey = ?.
|
static java.util.List<DDMStructure> |
findByStructureKey(java.lang.String structureKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where structureKey = ?.
|
static DDMStructure |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructure |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructure[] |
findByUuid_C_PrevAndNext(long structureId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructure> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm structures where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm structures where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructure> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where uuid = ? and companyId = ?.
|
static DDMStructure |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the first ddm structure in the ordered set where uuid = ?.
|
static DDMStructure |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm structure where uuid = ? and groupId = ? or throws a
NoSuchStructureException if it could not be found. |
static DDMStructure |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the last ddm structure in the ordered set where uuid = ?.
|
static DDMStructure[] |
findByUuid_PrevAndNext(long structureId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns the ddm structures before and after the current ddm structure in the ordered set where uuid = ?.
|
static java.util.List<DDMStructure> |
findByUuid(java.lang.String uuid)
Returns all the ddm structures where uuid = ?.
|
static java.util.List<DDMStructure> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm structures where uuid = ?.
|
static java.util.List<DDMStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the ddm structures where uuid = ?.
|
static java.util.List<DDMStructure> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structures where uuid = ?.
|
static java.util.List<DDMStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMStructure> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) |
static DDMStructurePersistence |
getPersistence() |
static DDMStructure |
remove(long structureId)
Removes the ddm structure with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm structures from the database.
|
static void |
removeByC_C(long companyId,
long classNameId)
Removes all the ddm structures where companyId = ? and classNameId = ? from the database.
|
static void |
removeByG_C_N_D(long groupId,
long classNameId,
java.lang.String name,
java.lang.String description)
Removes all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ? from the database.
|
static DDMStructure |
removeByG_C_S(long groupId,
long classNameId,
java.lang.String structureKey)
Removes the ddm structure where groupId = ? and classNameId = ? and structureKey = ? from the database.
|
static void |
removeByG_C(long groupId,
long classNameId)
Removes all the ddm structures where groupId = ? and classNameId = ? from the database.
|
static void |
removeByG_N_D(long groupId,
java.lang.String name,
java.lang.String description)
Removes all the ddm structures where groupId = ? and name = ? and description = ? from the database.
|
static void |
removeByG_P(long groupId,
long parentStructureId)
Removes all the ddm structures where groupId = ? and parentStructureId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the ddm structures where groupId = ? from the database.
|
static void |
removeByParentStructureId(long parentStructureId)
Removes all the ddm structures where parentStructureId = ? from the database.
|
static void |
removeByStructureKey(java.lang.String structureKey)
Removes all the ddm structures where structureKey = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm structures where uuid = ? and companyId = ? from the database.
|
static DDMStructure |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm structure where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ddm structures where uuid = ? from the database.
|
static DDMStructure |
update(DDMStructure ddmStructure) |
static DDMStructure |
update(DDMStructure ddmStructure,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMStructure |
updateImpl(DDMStructure ddmStructure) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMStructure ddmStructure)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMStructure> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMStructure update(DDMStructure ddmStructure)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMStructure update(DDMStructure ddmStructure, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMStructure> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMStructure> findByUuid(java.lang.String uuid, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByUuid_PrevAndNext(long structureId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structureuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static DDMStructure findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchStructureException
NoSuchStructureException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching ddm structure could not be foundpublic static DDMStructure fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm structure could not be foundpublic static DDMStructure removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchStructureException
uuid
- the uuidgroupId
- the group IDNoSuchStructureException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<DDMStructure> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByUuid_C_PrevAndNext(long structureId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structureuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMStructure> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMStructure> findByGroupId(long groupId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMStructure> filterFindByGroupId(long groupId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByGroupId(long[] groupIds)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDspublic static java.util.List<DDMStructure> findByGroupId(long[] groupIds, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<DDMStructure> findByParentStructureId(long parentStructureId)
parentStructureId
- the parent structure IDpublic static java.util.List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
parentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
parentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
parentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByParentStructureId_First(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByParentStructureId_First(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByParentStructureId_Last(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByParentStructureId_Last(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
parentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByParentStructureId_PrevAndNext(long structureId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structureparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByParentStructureId(long parentStructureId)
parentStructureId
- the parent structure IDpublic static int countByParentStructureId(long parentStructureId)
parentStructureId
- the parent structure IDpublic static java.util.List<DDMStructure> findByStructureKey(java.lang.String structureKey)
structureKey
- the structure keypublic static java.util.List<DDMStructure> findByStructureKey(java.lang.String structureKey, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
structureKey
- the structure keystart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByStructureKey(java.lang.String structureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
structureKey
- the structure keystart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByStructureKey(java.lang.String structureKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
structureKey
- the structure keystart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByStructureKey_First(java.lang.String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByStructureKey_First(java.lang.String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByStructureKey_Last(java.lang.String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByStructureKey_Last(java.lang.String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
structureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByStructureKey_PrevAndNext(long structureId, java.lang.String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structurestructureKey
- the structure keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByStructureKey(java.lang.String structureKey)
structureKey
- the structure keypublic static int countByStructureKey(java.lang.String structureKey)
structureKey
- the structure keypublic static java.util.List<DDMStructure> findByG_P(long groupId, long parentStructureId)
groupId
- the group IDparentStructureId
- the parent structure IDpublic static java.util.List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByG_P_First(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_P_First(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByG_P_Last(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_P_Last(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId)
groupId
- the group IDparentStructureId
- the parent structure IDpublic static java.util.List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDparentStructureId
- the parent structure IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDparentStructureId
- the parent structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByG_P(long groupId, long parentStructureId)
groupId
- the group IDparentStructureId
- the parent structure IDpublic static int countByG_P(long groupId, long parentStructureId)
groupId
- the group IDparentStructureId
- the parent structure IDpublic static int filterCountByG_P(long groupId, long parentStructureId)
groupId
- the group IDparentStructureId
- the parent structure IDpublic static java.util.List<DDMStructure> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static java.util.List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByG_C_PrevAndNext(long structureId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static java.util.List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId)
groupIds
- the group IDsclassNameId
- the class name IDpublic static java.util.List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C(long[] groupIds, long classNameId)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDpublic static java.util.List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C(long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static int countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static int countByG_C(long[] groupIds, long classNameId)
groupIds
- the group IDsclassNameId
- the class name IDpublic static int filterCountByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static int filterCountByG_C(long[] groupIds, long classNameId)
groupIds
- the group IDsclassNameId
- the class name IDpublic static java.util.List<DDMStructure> findByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static java.util.List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structurecompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static int countByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static DDMStructure findByG_C_S(long groupId, long classNameId, java.lang.String structureKey) throws NoSuchStructureException
NoSuchStructureException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keyNoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_S(long groupId, long classNameId, java.lang.String structureKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keynull
if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_S(long groupId, long classNameId, java.lang.String structureKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keyuseFinderCache
- whether to use the finder cachenull
if a matching ddm structure could not be foundpublic static DDMStructure removeByG_C_S(long groupId, long classNameId, java.lang.String structureKey) throws NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keyNoSuchStructureException
public static int countByG_C_S(long groupId, long classNameId, java.lang.String structureKey)
groupId
- the group IDclassNameId
- the class name IDstructureKey
- the structure keypublic static java.util.List<DDMStructure> findByG_N_D(long groupId, java.lang.String name, java.lang.String description)
groupId
- the group IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> findByG_N_D(long groupId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_N_D(long groupId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_N_D(long groupId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByG_N_D_First(long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_N_D_First(long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByG_N_D_Last(long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_N_D_Last(long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_N_D(long groupId, java.lang.String name, java.lang.String description)
groupId
- the group IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> filterFindByG_N_D(long groupId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_N_D(long groupId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static void removeByG_N_D(long groupId, java.lang.String name, java.lang.String description)
groupId
- the group IDname
- the namedescription
- the descriptionpublic static int countByG_N_D(long groupId, java.lang.String name, java.lang.String description)
groupId
- the group IDname
- the namedescription
- the descriptionpublic static int filterCountByG_N_D(long groupId, java.lang.String name, java.lang.String description)
groupId
- the group IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructure findByG_C_N_D_First(long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_N_D_First(long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure findByG_C_N_D_Last(long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a matching ddm structure could not be foundpublic static DDMStructure fetchByG_C_N_D_Last(long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure could not be foundpublic static DDMStructure[] findByG_C_N_D_PrevAndNext(long structureId, long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMStructure[] filterFindByG_C_N_D_PrevAndNext(long structureId, long groupId, long classNameId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException
structureId
- the primary key of the current ddm structuregroupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description)
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static java.util.List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description, int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionstart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static int countByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static int countByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description)
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static int filterCountByG_C_N_D(long groupId, long classNameId, java.lang.String name, java.lang.String description)
groupId
- the group IDclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static int filterCountByG_C_N_D(long[] groupIds, long classNameId, java.lang.String name, java.lang.String description)
groupIds
- the group IDsclassNameId
- the class name IDname
- the namedescription
- the descriptionpublic static void cacheResult(DDMStructure ddmStructure)
ddmStructure
- the ddm structurepublic static void cacheResult(java.util.List<DDMStructure> ddmStructures)
ddmStructures
- the ddm structurespublic static DDMStructure create(long structureId)
structureId
- the primary key for the new ddm structurepublic static DDMStructure remove(long structureId) throws NoSuchStructureException
structureId
- the primary key of the ddm structureNoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static DDMStructure updateImpl(DDMStructure ddmStructure)
public static DDMStructure findByPrimaryKey(long structureId) throws NoSuchStructureException
NoSuchStructureException
if it could not be found.structureId
- the primary key of the ddm structureNoSuchStructureException
- if a ddm structure with the primary key could not be foundpublic static DDMStructure fetchByPrimaryKey(long structureId)
null
if it could not be found.structureId
- the primary key of the ddm structurenull
if a ddm structure with the primary key could not be foundpublic static java.util.List<DDMStructure> findAll()
public static java.util.List<DDMStructure> findAll(int start, int end)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
start
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)public static java.util.List<DDMStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
start
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from DDMStructureModelImpl
.
start
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMStructurePersistence getPersistence()