Class DDMStructureUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DDMStructure ddmStructure) Caches the ddm structure in the entity cache if it is enabled.static voidcacheResult(List<DDMStructure> ddmStructures) Caches the ddm structures in the entity cache if it is enabled.static voidstatic voidclearCache(DDMStructure ddmStructure) static intcountAll()Returns the number of ddm structures.static intcountByC_C(long companyId, long classNameId) Returns the number of ddm structures where companyId = ? and classNameId = ?.static intcountByERC_G_C(String externalReferenceCode, long groupId, long classNameId) Returns the number of ddm structures where externalReferenceCode = ? and groupId = ? and classNameId = ?.static intcountByG_C(long[] groupIds, long classNameId) Returns the number of ddm structures where groupId = any ? and classNameId = ?.static intcountByG_C(long groupId, long classNameId) Returns the number of ddm structures where groupId = ? and classNameId = ?.static intcountByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns the number of ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.static intcountByG_C_N_D(long groupId, long classNameId, String name, String description) Returns the number of ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.static intcountByG_C_S(long groupId, long classNameId, String structureKey) Returns the number of ddm structures where groupId = ? and classNameId = ? and structureKey = ?.static intcountByG_N_D(long groupId, String name, String description) Returns the number of ddm structures where groupId = ? and name = ? and description = ?.static intcountByG_P(long groupId, long parentStructureId) Returns the number of ddm structures where groupId = ? and parentStructureId = ?.static intcountByGroupId(long groupId) Returns the number of ddm structures where groupId = ?.static intcountByGroupId(long[] groupIds) Returns the number of ddm structures where groupId = any ?.static intcountByParentStructureId(long parentStructureId) Returns the number of ddm structures where parentStructureId = ?.static intcountByStructureKey(String structureKey) Returns the number of ddm structures where structureKey = ?.static intcountByUuid(String uuid) Returns the number of ddm structures where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ddm structures where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of ddm structures where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMStructurecreate(long structureId) Creates a new ddm structure with the primary key.static DDMStructurefetchByC_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 DDMStructurefetchByC_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 DDMStructurefetchByERC_G_C(String externalReferenceCode, long groupId, long classNameId) Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or returnsnullif it could not be found.static DDMStructurefetchByERC_G_C(String externalReferenceCode, long groupId, long classNameId, boolean useFinderCache) Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMStructurefetchByG_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 DDMStructurefetchByG_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 DDMStructurefetchByG_C_N_D_First(long groupId, long classNameId, String name, 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 DDMStructurefetchByG_C_N_D_Last(long groupId, long classNameId, String name, 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 DDMStructurefetchByG_C_S(long groupId, long classNameId, String structureKey) Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or returnsnullif it could not be found.static DDMStructurefetchByG_C_S(long groupId, long classNameId, String structureKey, boolean useFinderCache) Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMStructurefetchByG_N_D_First(long groupId, String name, 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 DDMStructurefetchByG_N_D_Last(long groupId, String name, 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 DDMStructurefetchByG_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 DDMStructurefetchByG_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 DDMStructurefetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where groupId = ?.static DDMStructurefetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where groupId = ?.static DDMStructurefetchByParentStructureId_First(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where parentStructureId = ?.static DDMStructurefetchByParentStructureId_Last(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where parentStructureId = ?.static DDMStructurefetchByPrimaryKey(long structureId) Returns the ddm structure with the primary key or returnsnullif it could not be found.static Map<Serializable,DDMStructure> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMStructurefetchByStructureKey_First(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where structureKey = ?.static DDMStructurefetchByStructureKey_Last(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where structureKey = ?.static DDMStructurefetchByUuid_C_First(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 DDMStructurefetchByUuid_C_Last(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 DDMStructurefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where uuid = ?.static DDMStructurefetchByUUID_G(String uuid, long groupId) Returns the ddm structure where uuid = ? and groupId = ? or returnsnullif it could not be found.static DDMStructurefetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm structure where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMStructurefetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where uuid = ?.static intfilterCountByG_C(long[] groupIds, long classNameId) Returns the number of ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.static intfilterCountByG_C(long groupId, long classNameId) Returns the number of ddm structures that the user has permission to view where groupId = ? and classNameId = ?.static intfilterCountByG_C_N_D(long[] groupIds, long classNameId, String name, 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 intfilterCountByG_C_N_D(long groupId, long classNameId, String name, String description) Returns the number of ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.static intfilterCountByG_N_D(long groupId, String name, String description) Returns the number of ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.static intfilterCountByG_P(long groupId, long parentStructureId) Returns the number of ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.static intfilterCountByGroupId(long groupId) Returns the number of ddm structures that the user has permission to view where groupId = ?.static intfilterCountByGroupId(long[] groupIds) Returns the number of ddm structures that the user has permission to view where groupId = any ?.static 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 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 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 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 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 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 List<DDMStructure>filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, 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 List<DDMStructure>filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, 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 List<DDMStructure>filterFindByG_C_N_D(long groupId, long classNameId, String name, String description) Returns all the ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>filterFindByG_C_N_D(long groupId, long classNameId, String name, 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 List<DDMStructure>filterFindByG_C_N_D(long groupId, long classNameId, String name, 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_N_D_PrevAndNext(long structureId, long groupId, long classNameId, String name, 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 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 List<DDMStructure>filterFindByG_N_D(long groupId, String name, String description) Returns all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.static List<DDMStructure>filterFindByG_N_D(long groupId, String name, String description, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.static List<DDMStructure>filterFindByG_N_D(long groupId, String name, String description, int start, int end, 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_N_D_PrevAndNext(long structureId, long groupId, String name, 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 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 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 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[]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 List<DDMStructure>filterFindByGroupId(long groupId) Returns all the ddm structures that the user has permission to view where groupId = ?.static List<DDMStructure>filterFindByGroupId(long[] groupIds) Returns all the ddm structures that the user has permission to view where groupId = any ?.static List<DDMStructure>filterFindByGroupId(long[] groupIds, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = any ?.static 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 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 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 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 List<DDMStructure>findAll()Returns all the ddm structures.static List<DDMStructure>findAll(int start, int end) Returns a range of all the ddm structures.static 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 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 List<DDMStructure>findByC_C(long companyId, long classNameId) Returns all the ddm structures where companyId = ? and classNameId = ?.static 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 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 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 DDMStructurefindByC_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 DDMStructurefindByC_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 DDMStructurefindByERC_G_C(String externalReferenceCode, long groupId, long classNameId) Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or throws aNoSuchStructureExceptionif it could not be found.static List<DDMStructure>findByG_C(long[] groupIds, long classNameId) Returns all the ddm structures where groupId = any ? and classNameId = ?.static List<DDMStructure>findByG_C(long[] groupIds, long classNameId, int start, int end) Returns a range of all the ddm structures where groupId = any ? and classNameId = ?.static 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 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 List<DDMStructure>findByG_C(long groupId, long classNameId) Returns all the ddm structures where groupId = ? and classNameId = ?.static 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 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 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 DDMStructurefindByG_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 DDMStructurefindByG_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 List<DDMStructure>findByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>findByG_C_N_D(long[] groupIds, long classNameId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>findByG_C_N_D(long[] groupIds, long classNameId, String name, 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 List<DDMStructure>findByG_C_N_D(long[] groupIds, long classNameId, String name, 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 List<DDMStructure>findByG_C_N_D(long groupId, long classNameId, String name, String description) Returns all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>findByG_C_N_D(long groupId, long classNameId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.static List<DDMStructure>findByG_C_N_D(long groupId, long classNameId, String name, 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 List<DDMStructure>findByG_C_N_D(long groupId, long classNameId, String name, 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 DDMStructurefindByG_C_N_D_First(long groupId, long classNameId, String name, 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 DDMStructurefindByG_C_N_D_Last(long groupId, long classNameId, String name, 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, String name, 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 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 DDMStructurefindByG_C_S(long groupId, long classNameId, String structureKey) Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or throws aNoSuchStructureExceptionif it could not be found.static List<DDMStructure>findByG_N_D(long groupId, String name, String description) Returns all the ddm structures where groupId = ? and name = ? and description = ?.static List<DDMStructure>findByG_N_D(long groupId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = ? and name = ? and description = ?.static List<DDMStructure>findByG_N_D(long groupId, String name, 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 List<DDMStructure>findByG_N_D(long groupId, String name, 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 DDMStructurefindByG_N_D_First(long groupId, String name, 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 DDMStructurefindByG_N_D_Last(long groupId, String name, 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, String name, 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 List<DDMStructure>findByG_P(long groupId, long parentStructureId) Returns all the ddm structures where groupId = ? and parentStructureId = ?.static 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 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 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 DDMStructurefindByG_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 DDMStructurefindByG_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 List<DDMStructure>findByGroupId(long groupId) Returns all the ddm structures where groupId = ?.static List<DDMStructure>findByGroupId(long[] groupIds) Returns all the ddm structures where groupId = any ?.static List<DDMStructure>findByGroupId(long[] groupIds, int start, int end) Returns a range of all the ddm structures where groupId = any ?.static 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 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 List<DDMStructure>findByGroupId(long groupId, int start, int end) Returns a range of all the ddm structures where groupId = ?.static 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 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 DDMStructurefindByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where groupId = ?.static DDMStructurefindByGroupId_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 List<DDMStructure>findByParentStructureId(long parentStructureId) Returns all the ddm structures where parentStructureId = ?.static List<DDMStructure>findByParentStructureId(long parentStructureId, int start, int end) Returns a range of all the ddm structures where parentStructureId = ?.static 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 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 DDMStructurefindByParentStructureId_First(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where parentStructureId = ?.static DDMStructurefindByParentStructureId_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 DDMStructurefindByPrimaryKey(long structureId) Returns the ddm structure with the primary key or throws aNoSuchStructureExceptionif it could not be found.static List<DDMStructure>findByStructureKey(String structureKey) Returns all the ddm structures where structureKey = ?.static List<DDMStructure>findByStructureKey(String structureKey, int start, int end) Returns a range of all the ddm structures where structureKey = ?.static List<DDMStructure>findByStructureKey(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 List<DDMStructure>findByStructureKey(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 DDMStructurefindByStructureKey_First(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where structureKey = ?.static DDMStructurefindByStructureKey_Last(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, 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 List<DDMStructure>findByUuid(String uuid) Returns all the ddm structures where uuid = ?.static List<DDMStructure>findByUuid(String uuid, int start, int end) Returns a range of all the ddm structures where uuid = ?.static List<DDMStructure>findByUuid(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 List<DDMStructure>findByUuid(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 List<DDMStructure>findByUuid_C(String uuid, long companyId) Returns all the ddm structures where uuid = ? and companyId = ?.static List<DDMStructure>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm structures where uuid = ? and companyId = ?.static List<DDMStructure>findByUuid_C(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 List<DDMStructure>findByUuid_C(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 DDMStructurefindByUuid_C_First(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 DDMStructurefindByUuid_C_Last(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, 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 DDMStructurefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where uuid = ?.static DDMStructurefindByUUID_G(String uuid, long groupId) Returns the ddm structure where uuid = ? and groupId = ? or throws aNoSuchStructureExceptionif it could not be found.static DDMStructurefindByUuid_Last(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, 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 List<DDMStructure>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMStructure>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMStructure>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) static DDMStructurePersistencestatic DDMStructureremove(long structureId) Removes the ddm structure with the primary key from the database.static voidRemoves all the ddm structures from the database.static voidremoveByC_C(long companyId, long classNameId) Removes all the ddm structures where companyId = ? and classNameId = ? from the database.static DDMStructureremoveByERC_G_C(String externalReferenceCode, long groupId, long classNameId) Removes the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? from the database.static voidremoveByG_C(long groupId, long classNameId) Removes all the ddm structures where groupId = ? and classNameId = ? from the database.static voidremoveByG_C_N_D(long groupId, long classNameId, String name, String description) Removes all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ? from the database.static DDMStructureremoveByG_C_S(long groupId, long classNameId, String structureKey) Removes the ddm structure where groupId = ? and classNameId = ? and structureKey = ? from the database.static voidremoveByG_N_D(long groupId, String name, String description) Removes all the ddm structures where groupId = ? and name = ? and description = ? from the database.static voidremoveByG_P(long groupId, long parentStructureId) Removes all the ddm structures where groupId = ? and parentStructureId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the ddm structures where groupId = ? from the database.static voidremoveByParentStructureId(long parentStructureId) Removes all the ddm structures where parentStructureId = ? from the database.static voidremoveByStructureKey(String structureKey) Removes all the ddm structures where structureKey = ? from the database.static voidremoveByUuid(String uuid) Removes all the ddm structures where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ddm structures where uuid = ? and companyId = ? from the database.static DDMStructureremoveByUUID_G(String uuid, long groupId) Removes the ddm structure where uuid = ? and groupId = ? from the database.static voidsetPersistence(DDMStructurePersistence persistence) static DDMStructureupdate(DDMStructure ddmStructure) static DDMStructureupdate(DDMStructure ddmStructure, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMStructureupdateImpl(DDMStructure ddmStructure)
-
Constructor Details
-
DDMStructureUtil
public DDMStructureUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMStructure> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMStructure update(DDMStructure ddmStructure, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the ddm structures where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching ddm structures
-
findByUuid
Returns a range of all the ddm structures where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures
-
findByUuid
public static List<DDMStructure> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByUuid
public static List<DDMStructure> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByUuid_First
public static DDMStructure findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByUuid_First
public static DDMStructure fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByUuid_Last
public static DDMStructure findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByUuid_Last
public static DDMStructure fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByUuid_PrevAndNext
public static DDMStructure[] findByUuid_PrevAndNext(long structureId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where uuid = ?.- Parameters:
structureId- the primary key of the current ddm structureuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByUuid
Removes all the ddm structures where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of ddm structures where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching ddm structures
-
findByUUID_G
Returns the ddm structure where uuid = ? and groupId = ? or throws aNoSuchStructureExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByUUID_G
Returns the ddm structure where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
fetchByUUID_G
Returns the ddm structure where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
removeByUUID_G
public static DDMStructure removeByUUID_G(String uuid, long groupId) throws NoSuchStructureException Removes the ddm structure where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the ddm structure that was removed
- Throws:
NoSuchStructureException
-
countByUUID_G
Returns the number of ddm structures where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching ddm structures
-
findByUuid_C
Returns all the ddm structures where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching ddm structures
-
findByUuid_C
Returns a range of all the ddm structures where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByUuid_C
public static List<DDMStructure> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByUuid_C
public static List<DDMStructure> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByUuid_C_First
public static DDMStructure findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByUuid_C_First
public static DDMStructure fetchByUuid_C_First(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByUuid_C_Last
public static DDMStructure findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByUuid_C_Last
public static DDMStructure fetchByUuid_C_Last(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByUuid_C_PrevAndNext
public static DDMStructure[] findByUuid_C_PrevAndNext(long structureId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where uuid = ? and companyId = ?.- Parameters:
structureId- the primary key of the current ddm structureuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByUuid_C
Removes all the ddm structures where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of ddm structures where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching ddm structures
-
findByGroupId
Returns all the ddm structures where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching ddm structures
-
findByGroupId
Returns a range of all the ddm structures where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByGroupId_First
public static DDMStructure findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByGroupId_Last
public static DDMStructure findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByGroupId_PrevAndNext
public static DDMStructure[] findByGroupId_PrevAndNext(long structureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByGroupId
Returns all the ddm structures that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByGroupId
Returns a range of all the ddm structures that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupId- the group IDstart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static DDMStructure[] filterFindByGroupId_PrevAndNext(long structureId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException 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 = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByGroupId
Returns all the ddm structures that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByGroupId
Returns a range of all the ddm structures that the user has permission to view where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByGroupId
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
findByGroupId
Returns all the ddm structures where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupIds- the group IDs- Returns:
- the matching ddm structures
-
findByGroupId
Returns a range of all the ddm structures where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupIds- the group IDsstart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures
-
findByGroupId
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByGroupId
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the ddm structures where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of ddm structures where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching ddm structures
-
countByGroupId
public static int countByGroupId(long[] groupIds) Returns the number of ddm structures where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching ddm structures
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of ddm structures that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching ddm structures that the user has permission to view
-
filterCountByGroupId
public static int filterCountByGroupId(long[] groupIds) Returns the number of ddm structures that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching ddm structures that the user has permission to view
-
findByParentStructureId
Returns all the ddm structures where parentStructureId = ?.- Parameters:
parentStructureId- the parent structure ID- Returns:
- the matching ddm structures
-
findByParentStructureId
public static List<DDMStructure> findByParentStructureId(long parentStructureId, int start, int end) Returns a range of all the ddm structures where parentStructureId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByParentStructureId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByParentStructureId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByParentStructureId_First
public static DDMStructure findByParentStructureId_First(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where parentStructureId = ?.- Parameters:
parentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByParentStructureId_First
public 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 = ?.- Parameters:
parentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByParentStructureId_Last
public static DDMStructure findByParentStructureId_Last(long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where parentStructureId = ?.- Parameters:
parentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByParentStructureId_Last
public 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 = ?.- Parameters:
parentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByParentStructureId_PrevAndNext
public static DDMStructure[] findByParentStructureId_PrevAndNext(long structureId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where parentStructureId = ?.- Parameters:
structureId- the primary key of the current ddm structureparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByParentStructureId
public static void removeByParentStructureId(long parentStructureId) Removes all the ddm structures where parentStructureId = ? from the database.- Parameters:
parentStructureId- the parent structure ID
-
countByParentStructureId
public static int countByParentStructureId(long parentStructureId) Returns the number of ddm structures where parentStructureId = ?.- Parameters:
parentStructureId- the parent structure ID- Returns:
- the number of matching ddm structures
-
findByStructureKey
Returns all the ddm structures where structureKey = ?.- Parameters:
structureKey- the structure key- Returns:
- the matching ddm structures
-
findByStructureKey
Returns a range of all the ddm structures where structureKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
structureKey- the structure keystart- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of matching ddm structures
-
findByStructureKey
public static List<DDMStructure> findByStructureKey(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByStructureKey
public static List<DDMStructure> findByStructureKey(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByStructureKey_First
public static DDMStructure findByStructureKey_First(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where structureKey = ?.- Parameters:
structureKey- the structure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByStructureKey_First
public static DDMStructure fetchByStructureKey_First(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the first ddm structure in the ordered set where structureKey = ?.- Parameters:
structureKey- the structure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByStructureKey_Last
public static DDMStructure findByStructureKey_Last(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where structureKey = ?.- Parameters:
structureKey- the structure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByStructureKey_Last
public static DDMStructure fetchByStructureKey_Last(String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns the last ddm structure in the ordered set where structureKey = ?.- Parameters:
structureKey- the structure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByStructureKey_PrevAndNext
public static DDMStructure[] findByStructureKey_PrevAndNext(long structureId, String structureKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where structureKey = ?.- Parameters:
structureId- the primary key of the current ddm structurestructureKey- the structure keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByStructureKey
Removes all the ddm structures where structureKey = ? from the database.- Parameters:
structureKey- the structure key
-
countByStructureKey
Returns the number of ddm structures where structureKey = ?.- Parameters:
structureKey- the structure key- Returns:
- the number of matching ddm structures
-
findByG_P
Returns all the ddm structures where groupId = ? and parentStructureId = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure ID- Returns:
- the matching ddm structures
-
findByG_P
public static List<DDMStructure> findByG_P(long groupId, long parentStructureId, int start, int end) Returns a range of all the ddm structures where groupId = ? and parentStructureId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_P
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_P
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByG_P_First
public static DDMStructure findByG_P_First(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where groupId = ? and parentStructureId = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_P_First
public 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 = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_P_Last
public static DDMStructure findByG_P_Last(long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where groupId = ? and parentStructureId = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_P_Last
public 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 = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_P_PrevAndNext
public static DDMStructure[] findByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and parentStructureId = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_P
Returns all the ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure ID- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_P
public static List<DDMStructure> filterFindByG_P(long groupId, long parentStructureId, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = ? and parentStructureId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_P
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
filterFindByG_P_PrevAndNext
public static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId, long groupId, long parentStructureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException 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 = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDparentStructureId- the parent structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByG_P
public static void removeByG_P(long groupId, long parentStructureId) Removes all the ddm structures where groupId = ? and parentStructureId = ? from the database.- Parameters:
groupId- the group IDparentStructureId- the parent structure ID
-
countByG_P
public static int countByG_P(long groupId, long parentStructureId) Returns the number of ddm structures where groupId = ? and parentStructureId = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure ID- Returns:
- the number of matching ddm structures
-
filterCountByG_P
public 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 = ?.- Parameters:
groupId- the group IDparentStructureId- the parent structure ID- Returns:
- the number of matching ddm structures that the user has permission to view
-
findByG_C
Returns all the ddm structures where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching ddm structures
-
findByG_C
Returns a range of all the ddm structures where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByG_C_First
public static DDMStructure findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_C_First
public 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_C_Last
public static DDMStructure findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_C_Last
public 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_C_PrevAndNext
public static DDMStructure[] findByG_C_PrevAndNext(long structureId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and classNameId = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_C
Returns all the ddm structures that the user has permission to view where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_C
public static List<DDMStructure> filterFindByG_C(long groupId, long classNameId, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
filterFindByG_C_PrevAndNext
public static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException 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 = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_C
Returns all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name ID- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_C
public static List<DDMStructure> filterFindByG_C(long[] groupIds, long classNameId, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
findByG_C
Returns all the ddm structures where groupId = any ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupIds- the group IDsclassNameId- the class name ID- Returns:
- the matching ddm structures
-
findByG_C
Returns a range of all the ddm structures where groupId = any ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_C
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
removeByG_C
public static void removeByG_C(long groupId, long classNameId) Removes all the ddm structures where groupId = ? and classNameId = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name ID
-
countByG_C
public static int countByG_C(long groupId, long classNameId) Returns the number of ddm structures where groupId = ? and classNameId = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching ddm structures
-
countByG_C
public static int countByG_C(long[] groupIds, long classNameId) Returns the number of ddm structures where groupId = any ? and classNameId = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name ID- Returns:
- the number of matching ddm structures
-
filterCountByG_C
public 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching ddm structures that the user has permission to view
-
filterCountByG_C
public 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 = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name ID- Returns:
- the number of matching ddm structures that the user has permission to view
-
findByC_C
Returns all the ddm structures where companyId = ? and classNameId = ?.- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the matching ddm structures
-
findByC_C
Returns a range of all the ddm structures where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByC_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByC_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByC_C_First
public static DDMStructure findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByC_C_First
public 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 = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByC_C_Last
public static DDMStructure findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where companyId = ? and classNameId = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByC_C_Last
public 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 = ?.- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByC_C_PrevAndNext
public static DDMStructure[] findByC_C_PrevAndNext(long structureId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where companyId = ? and classNameId = ?.- Parameters:
structureId- the primary key of the current ddm structurecompanyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByC_C
public static void removeByC_C(long companyId, long classNameId) Removes all the ddm structures where companyId = ? and classNameId = ? from the database.- Parameters:
companyId- the company IDclassNameId- the class name ID
-
countByC_C
public static int countByC_C(long companyId, long classNameId) Returns the number of ddm structures where companyId = ? and classNameId = ?.- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the number of matching ddm structures
-
findByERC_G_C
public static DDMStructure findByERC_G_C(String externalReferenceCode, long groupId, long classNameId) throws NoSuchStructureException Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or throws aNoSuchStructureExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDclassNameId- the class name ID- Returns:
- the matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByERC_G_C
public static DDMStructure fetchByERC_G_C(String externalReferenceCode, long groupId, long classNameId) Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDclassNameId- the class name ID- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
fetchByERC_G_C
public static DDMStructure fetchByERC_G_C(String externalReferenceCode, long groupId, long classNameId, boolean useFinderCache) Returns the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDclassNameId- the class name IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
removeByERC_G_C
public static DDMStructure removeByERC_G_C(String externalReferenceCode, long groupId, long classNameId) throws NoSuchStructureException Removes the ddm structure where externalReferenceCode = ? and groupId = ? and classNameId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDclassNameId- the class name ID- Returns:
- the ddm structure that was removed
- Throws:
NoSuchStructureException
-
countByERC_G_C
Returns the number of ddm structures where externalReferenceCode = ? and groupId = ? and classNameId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDclassNameId- the class name ID- Returns:
- the number of matching ddm structures
-
findByG_C_S
public static DDMStructure findByG_C_S(long groupId, long classNameId, String structureKey) throws NoSuchStructureException Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or throws aNoSuchStructureExceptionif it could not be found.- Parameters:
groupId- the group IDclassNameId- the class name IDstructureKey- the structure key- Returns:
- the matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_C_S
Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
groupId- the group IDclassNameId- the class name IDstructureKey- the structure key- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
fetchByG_C_S
public static DDMStructure fetchByG_C_S(long groupId, long classNameId, String structureKey, boolean useFinderCache) Returns the ddm structure where groupId = ? and classNameId = ? and structureKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
groupId- the group IDclassNameId- the class name IDstructureKey- the structure keyuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm structure, or
nullif a matching ddm structure could not be found
-
removeByG_C_S
public static DDMStructure removeByG_C_S(long groupId, long classNameId, String structureKey) throws NoSuchStructureException Removes the ddm structure where groupId = ? and classNameId = ? and structureKey = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name IDstructureKey- the structure key- Returns:
- the ddm structure that was removed
- Throws:
NoSuchStructureException
-
countByG_C_S
Returns the number of ddm structures where groupId = ? and classNameId = ? and structureKey = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDstructureKey- the structure key- Returns:
- the number of matching ddm structures
-
findByG_N_D
Returns all the ddm structures where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the description- Returns:
- the matching ddm structures
-
findByG_N_D
public static List<DDMStructure> findByG_N_D(long groupId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = ? and name = ? and description = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_N_D
public static List<DDMStructure> findByG_N_D(long groupId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_N_D
public static List<DDMStructure> findByG_N_D(long groupId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByG_N_D_First
public static DDMStructure findByG_N_D_First(long groupId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_N_D_First
public static DDMStructure fetchByG_N_D_First(long groupId, String name, 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 = ?.- Parameters:
groupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_N_D_Last
public static DDMStructure findByG_N_D_Last(long groupId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_N_D_Last
public static DDMStructure fetchByG_N_D_Last(long groupId, String name, 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 = ?.- Parameters:
groupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_N_D_PrevAndNext
public static DDMStructure[] findByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and name = ? and description = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_N_D
Returns all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the description- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_N_D
public static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end) Returns a range of all the ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_N_D
public static List<DDMStructure> filterFindByG_N_D(long groupId, String name, String description, int start, int end, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
filterFindByG_N_D_PrevAndNext
public static DDMStructure[] filterFindByG_N_D_PrevAndNext(long structureId, long groupId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException 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 = ?.- Parameters:
structureId- the primary key of the current ddm structuregroupId- the group IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
removeByG_N_D
Removes all the ddm structures where groupId = ? and name = ? and description = ? from the database.- Parameters:
groupId- the group IDname- the namedescription- the description
-
countByG_N_D
Returns the number of ddm structures where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the description- Returns:
- the number of matching ddm structures
-
filterCountByG_N_D
Returns the number of ddm structures that the user has permission to view where groupId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDname- the namedescription- the description- Returns:
- the number of matching ddm structures that the user has permission to view
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, String name, String description) Returns all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the description- Returns:
- the matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long groupId, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
findByG_C_N_D_First
public static DDMStructure findByG_C_N_D_First(long groupId, long classNameId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the first ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_C_N_D_First
public static DDMStructure fetchByG_C_N_D_First(long groupId, long classNameId, String name, 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_C_N_D_Last
public static DDMStructure findByG_C_N_D_Last(long groupId, long classNameId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the last ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure
- Throws:
NoSuchStructureException- if a matching ddm structure could not be foundNoSuchStructureException
-
fetchByG_C_N_D_Last
public static DDMStructure fetchByG_C_N_D_Last(long groupId, long classNameId, String name, 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 = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the descriptionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm structure, or
nullif a matching ddm structure could not be found
-
findByG_C_N_D_PrevAndNext
public static DDMStructure[] findByG_C_N_D_PrevAndNext(long structureId, long groupId, long classNameId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException Returns the ddm structures before and after the current ddm structure in the ordered set where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
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 (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, String name, String description) Returns all the ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the description- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long groupId, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
filterFindByG_C_N_D_PrevAndNext
public static DDMStructure[] filterFindByG_C_N_D_PrevAndNext(long structureId, long groupId, long classNameId, String name, String description, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws NoSuchStructureException 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 = ?.- Parameters:
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 (optionallynull)- Returns:
- the previous, current, and next ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns all the ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name IDname- the namedescription- the description- Returns:
- the matching ddm structures that the user has permission to view
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures that the user has permission to view
-
filterFindByG_C_N_D
public static List<DDMStructure> filterFindByG_C_N_D(long[] groupIds, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures that the user has permission to view
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
groupIds- the group IDsclassNameId- the class name IDname- the namedescription- the description- Returns:
- the matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, String name, String description, int start, int end) Returns a range of all the ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, String name, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm structures
-
findByG_C_N_D
public static List<DDMStructure> findByG_C_N_D(long[] groupIds, long classNameId, String name, 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm structures
-
removeByG_C_N_D
Removes all the ddm structures where groupId = ? and classNameId = ? and name = ? and description = ? from the database.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the description
-
countByG_C_N_D
Returns the number of ddm structures where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the description- Returns:
- the number of matching ddm structures
-
countByG_C_N_D
public static int countByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns the number of ddm structures where groupId = any ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name IDname- the namedescription- the description- Returns:
- the number of matching ddm structures
-
filterCountByG_C_N_D
public static int filterCountByG_C_N_D(long groupId, long classNameId, String name, String description) Returns the number of ddm structures that the user has permission to view where groupId = ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupId- the group IDclassNameId- the class name IDname- the namedescription- the description- Returns:
- the number of matching ddm structures that the user has permission to view
-
filterCountByG_C_N_D
public static int filterCountByG_C_N_D(long[] groupIds, long classNameId, String name, String description) Returns the number of ddm structures that the user has permission to view where groupId = any ? and classNameId = ? and name = ? and description = ?.- Parameters:
groupIds- the group IDsclassNameId- the class name IDname- the namedescription- the description- Returns:
- the number of matching ddm structures that the user has permission to view
-
cacheResult
Caches the ddm structure in the entity cache if it is enabled.- Parameters:
ddmStructure- the ddm structure
-
cacheResult
Caches the ddm structures in the entity cache if it is enabled.- Parameters:
ddmStructures- the ddm structures
-
create
Creates a new ddm structure with the primary key. Does not add the ddm structure to the database.- Parameters:
structureId- the primary key for the new ddm structure- Returns:
- the new ddm structure
-
remove
Removes the ddm structure with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
structureId- the primary key of the ddm structure- Returns:
- the ddm structure that was removed
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
updateImpl
-
findByPrimaryKey
Returns the ddm structure with the primary key or throws aNoSuchStructureExceptionif it could not be found.- Parameters:
structureId- the primary key of the ddm structure- Returns:
- the ddm structure
- Throws:
NoSuchStructureException- if a ddm structure with the primary key could not be foundNoSuchStructureException
-
fetchByPrimaryKey
Returns the ddm structure with the primary key or returnsnullif it could not be found.- Parameters:
structureId- the primary key of the ddm structure- Returns:
- the ddm structure, or
nullif a ddm structure with the primary key could not be found
-
findAll
Returns all the ddm structures.- Returns:
- the ddm structures
-
findAll
Returns a range of all the ddm structures.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
start- the lower bound of the range of ddm structuresend- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of ddm structures
-
findAll
public static List<DDMStructure> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the ddm structures.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of ddm structures
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMStructureModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of ddm structures
-
removeAll
public static void removeAll()Removes all the ddm structures from the database. -
countAll
public static int countAll()Returns the number of ddm structures.- Returns:
- the number of ddm structures
-
getPersistence
-
setPersistence
-