
com.liferay.dynamic.data.mapping.service.persistence.DDMStructureUtil Maven / Gradle / Ivy
Show all versions of com.liferay.dynamic.data.mapping.api Show documentation
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.dynamic.data.mapping.service.persistence;
import aQute.bnd.annotation.ProviderType;
import com.liferay.dynamic.data.mapping.model.DDMStructure;
import com.liferay.osgi.util.ServiceTrackerFactory;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;
import org.osgi.util.tracker.ServiceTracker;
import java.util.List;
/**
* The persistence utility for the d d m structure service. This utility wraps {@link 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
*
*
* @author Brian Wing Shun Chan
* @see DDMStructurePersistence
* @see com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStructurePersistenceImpl
* @generated
*/
@ProviderType
public class DDMStructureUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
*/
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache()
*/
public static void clearCache() {
getPersistence().clearCache();
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel)
*/
public static void clearCache(DDMStructure ddmStructure) {
getPersistence().clearCache(ddmStructure);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
*/
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) {
return getPersistence().countWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery) {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end) {
return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findWithDynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel)
*/
public static DDMStructure update(DDMStructure ddmStructure) {
return getPersistence().update(ddmStructure);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
*/
public static DDMStructure update(DDMStructure ddmStructure,
ServiceContext serviceContext) {
return getPersistence().update(ddmStructure, serviceContext);
}
/**
* Returns all the d d m structures where uuid = ?.
*
* @param uuid the uuid
* @return the matching d d m structures
*/
public static List findByUuid(java.lang.String uuid) {
return getPersistence().findByUuid(uuid);
}
/**
* Returns a range of all the d d m structures where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByUuid(java.lang.String uuid,
int start, int end) {
return getPersistence().findByUuid(uuid, start, end);
}
/**
* Returns an ordered range of all the d d m structures where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByUuid(java.lang.String uuid,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence().findByUuid(uuid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByUuid(java.lang.String uuid,
int start, int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByUuid(uuid, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByUuid_First(uuid, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_First(uuid, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ?.
*
* @param structureId the primary key of the current d d m structure
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByUuid_PrevAndNext(long structureId,
java.lang.String uuid, OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByUuid_PrevAndNext(structureId, uuid, orderByComparator);
}
/**
* Removes all the d d m structures where uuid = ? from the database.
*
* @param uuid the uuid
*/
public static void removeByUuid(java.lang.String uuid) {
getPersistence().removeByUuid(uuid);
}
/**
* Returns the number of d d m structures where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching d d m structures
*/
public static int countByUuid(java.lang.String uuid) {
return getPersistence().countByUuid(uuid);
}
/**
* Returns the d d m structure where uuid = ? and groupId = ? or throws a {@link NoSuchStructureException} if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByUUID_G(java.lang.String uuid, long groupId)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByUUID_G(uuid, groupId);
}
/**
* Returns the d d m structure where uuid = ? and groupId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUUID_G(java.lang.String uuid, long groupId) {
return getPersistence().fetchByUUID_G(uuid, groupId);
}
/**
* Returns the d d m structure where uuid = ? and groupId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param uuid the uuid
* @param groupId the group ID
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUUID_G(java.lang.String uuid,
long groupId, boolean retrieveFromCache) {
return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
}
/**
* Removes the d d m structure where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the d d m structure that was removed
*/
public static DDMStructure removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().removeByUUID_G(uuid, groupId);
}
/**
* Returns the number of d d m structures where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching d d m structures
*/
public static int countByUUID_G(java.lang.String uuid, long groupId) {
return getPersistence().countByUUID_G(uuid, groupId);
}
/**
* Returns all the d d m structures where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching d d m structures
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId) {
return getPersistence().findByUuid_C(uuid, companyId);
}
/**
* Returns a range of all the d d m structures where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end) {
return getPersistence().findByUuid_C(uuid, companyId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByUuid_C(uuid, companyId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByUuid_C(uuid, companyId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByUuid_C_First(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByUuid_C_First(uuid, companyId, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUuid_C_First(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByUuid_C_First(uuid, companyId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByUuid_C_Last(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByUuid_C_Last(uuid, companyId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByUuid_C_Last(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByUuid_C_Last(uuid, companyId, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = ? and companyId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByUuid_C_PrevAndNext(long structureId,
java.lang.String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByUuid_C_PrevAndNext(structureId, uuid, companyId,
orderByComparator);
}
/**
* Removes all the d d m structures where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public static void removeByUuid_C(java.lang.String uuid, long companyId) {
getPersistence().removeByUuid_C(uuid, companyId);
}
/**
* Returns the number of d d m structures where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching d d m structures
*/
public static int countByUuid_C(java.lang.String uuid, long companyId) {
return getPersistence().countByUuid_C(uuid, companyId);
}
/**
* Returns all the d d m structures where groupId = ?.
*
* @param groupId the group ID
* @return the matching d d m structures
*/
public static List findByGroupId(long groupId) {
return getPersistence().findByGroupId(groupId);
}
/**
* Returns a range of all the d d m structures where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByGroupId(long groupId, int start,
int end) {
return getPersistence().findByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByGroupId(long groupId, int start,
int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByGroupId(groupId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByGroupId(long groupId, int start,
int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByGroupId(groupId, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByGroupId_PrevAndNext(long structureId,
long groupId, OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByGroupId_PrevAndNext(structureId, groupId,
orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long groupId) {
return getPersistence().filterFindByGroupId(groupId);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long groupId,
int start, int end) {
return getPersistence().filterFindByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long groupId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByGroupId(groupId, start, end, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] filterFindByGroupId_PrevAndNext(
long structureId, long groupId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.filterFindByGroupId_PrevAndNext(structureId, groupId,
orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = any ?.
*
* @param groupIds the group IDs
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long[] groupIds) {
return getPersistence().filterFindByGroupId(groupIds);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = any ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long[] groupIds,
int start, int end) {
return getPersistence().filterFindByGroupId(groupIds, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByGroupId(long[] groupIds,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByGroupId(groupIds, start, end, orderByComparator);
}
/**
* Returns all the d d m structures where groupId = any ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @return the matching d d m structures
*/
public static List findByGroupId(long[] groupIds) {
return getPersistence().findByGroupId(groupIds);
}
/**
* Returns a range of all the d d m structures where groupId = any ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByGroupId(long[] groupIds, int start,
int end) {
return getPersistence().findByGroupId(groupIds, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = any ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByGroupId(long[] groupIds, int start,
int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByGroupId(groupIds, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ?, optionally using the finder cache.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByGroupId(long[] groupIds, int start,
int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByGroupId(groupIds, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Removes all the d d m structures where groupId = ? from the database.
*
* @param groupId the group ID
*/
public static void removeByGroupId(long groupId) {
getPersistence().removeByGroupId(groupId);
}
/**
* Returns the number of d d m structures where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching d d m structures
*/
public static int countByGroupId(long groupId) {
return getPersistence().countByGroupId(groupId);
}
/**
* Returns the number of d d m structures where groupId = any ?.
*
* @param groupIds the group IDs
* @return the number of matching d d m structures
*/
public static int countByGroupId(long[] groupIds) {
return getPersistence().countByGroupId(groupIds);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByGroupId(long groupId) {
return getPersistence().filterCountByGroupId(groupId);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = any ?.
*
* @param groupIds the group IDs
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByGroupId(long[] groupIds) {
return getPersistence().filterCountByGroupId(groupIds);
}
/**
* Returns all the d d m structures where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @return the matching d d m structures
*/
public static List findByParentStructureId(
long parentStructureId) {
return getPersistence().findByParentStructureId(parentStructureId);
}
/**
* Returns a range of all the d d m structures where parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByParentStructureId(
long parentStructureId, int start, int end) {
return getPersistence()
.findByParentStructureId(parentStructureId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByParentStructureId(
long parentStructureId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByParentStructureId(parentStructureId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByParentStructureId(
long parentStructureId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByParentStructureId(parentStructureId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByParentStructureId_First(
long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByParentStructureId_First(parentStructureId,
orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByParentStructureId_First(
long parentStructureId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByParentStructureId_First(parentStructureId,
orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByParentStructureId_Last(
long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByParentStructureId_Last(parentStructureId,
orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByParentStructureId_Last(
long parentStructureId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByParentStructureId_Last(parentStructureId,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByParentStructureId_PrevAndNext(
long structureId, long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByParentStructureId_PrevAndNext(structureId,
parentStructureId, orderByComparator);
}
/**
* Removes all the d d m structures where parentStructureId = ? from the database.
*
* @param parentStructureId the parent structure ID
*/
public static void removeByParentStructureId(long parentStructureId) {
getPersistence().removeByParentStructureId(parentStructureId);
}
/**
* Returns the number of d d m structures where parentStructureId = ?.
*
* @param parentStructureId the parent structure ID
* @return the number of matching d d m structures
*/
public static int countByParentStructureId(long parentStructureId) {
return getPersistence().countByParentStructureId(parentStructureId);
}
/**
* Returns all the d d m structures where classNameId = ?.
*
* @param classNameId the class name ID
* @return the matching d d m structures
*/
public static List findByClassNameId(long classNameId) {
return getPersistence().findByClassNameId(classNameId);
}
/**
* Returns a range of all the d d m structures where classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByClassNameId(long classNameId,
int start, int end) {
return getPersistence().findByClassNameId(classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByClassNameId(long classNameId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByClassNameId(classNameId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByClassNameId(long classNameId,
int start, int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByClassNameId(classNameId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where classNameId = ?.
*
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByClassNameId_First(classNameId, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where classNameId = ?.
*
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByClassNameId_First(long classNameId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByClassNameId_First(classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where classNameId = ?.
*
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByClassNameId_Last(classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where classNameId = ?.
*
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByClassNameId_Last(classNameId, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByClassNameId_PrevAndNext(
long structureId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByClassNameId_PrevAndNext(structureId, classNameId,
orderByComparator);
}
/**
* Removes all the d d m structures where classNameId = ? from the database.
*
* @param classNameId the class name ID
*/
public static void removeByClassNameId(long classNameId) {
getPersistence().removeByClassNameId(classNameId);
}
/**
* Returns the number of d d m structures where classNameId = ?.
*
* @param classNameId the class name ID
* @return the number of matching d d m structures
*/
public static int countByClassNameId(long classNameId) {
return getPersistence().countByClassNameId(classNameId);
}
/**
* Returns all the d d m structures where structureKey = ?.
*
* @param structureKey the structure key
* @return the matching d d m structures
*/
public static List findByStructureKey(
java.lang.String structureKey) {
return getPersistence().findByStructureKey(structureKey);
}
/**
* Returns a range of all the d d m structures where structureKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param structureKey the structure key
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByStructureKey(
java.lang.String structureKey, int start, int end) {
return getPersistence().findByStructureKey(structureKey, start, end);
}
/**
* Returns an ordered range of all the d d m structures where structureKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param structureKey the structure key
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByStructureKey(
java.lang.String structureKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByStructureKey(structureKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where structureKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param structureKey the structure key
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByStructureKey(
java.lang.String structureKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByStructureKey(structureKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where structureKey = ?.
*
* @param structureKey the structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByStructureKey_First(
java.lang.String structureKey,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByStructureKey_First(structureKey, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where structureKey = ?.
*
* @param structureKey the structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByStructureKey_First(
java.lang.String structureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByStructureKey_First(structureKey, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where structureKey = ?.
*
* @param structureKey the structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByStructureKey_Last(
java.lang.String structureKey,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByStructureKey_Last(structureKey, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where structureKey = ?.
*
* @param structureKey the structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByStructureKey_Last(
java.lang.String structureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByStructureKey_Last(structureKey, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = ?.
*
* @param structureId the primary key of the current d d m structure
* @param structureKey the structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByStructureKey_PrevAndNext(
long structureId, java.lang.String structureKey,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByStructureKey_PrevAndNext(structureId, structureKey,
orderByComparator);
}
/**
* Removes all the d d m structures where structureKey = ? from the database.
*
* @param structureKey the structure key
*/
public static void removeByStructureKey(java.lang.String structureKey) {
getPersistence().removeByStructureKey(structureKey);
}
/**
* Returns the number of d d m structures where structureKey = ?.
*
* @param structureKey the structure key
* @return the number of matching d d m structures
*/
public static int countByStructureKey(java.lang.String structureKey) {
return getPersistence().countByStructureKey(structureKey);
}
/**
* Returns all the d d m structures where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @return the matching d d m structures
*/
public static List findByG_P(long groupId,
long parentStructureId) {
return getPersistence().findByG_P(groupId, parentStructureId);
}
/**
* Returns a range of all the d d m structures where groupId = ? and parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByG_P(long groupId,
long parentStructureId, int start, int end) {
return getPersistence().findByG_P(groupId, parentStructureId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByG_P(long groupId,
long parentStructureId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_P(groupId, parentStructureId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByG_P(long groupId,
long parentStructureId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_P(groupId, parentStructureId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_P_First(long groupId,
long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_P_First(groupId, parentStructureId,
orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_P_First(long groupId,
long parentStructureId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_P_First(groupId, parentStructureId,
orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_P_Last(long groupId,
long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_P_Last(groupId, parentStructureId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_P_Last(long groupId,
long parentStructureId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_P_Last(groupId, parentStructureId,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and parentStructureId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByG_P_PrevAndNext(long structureId,
long groupId, long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_P_PrevAndNext(structureId, groupId,
parentStructureId, orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByG_P(long groupId,
long parentStructureId) {
return getPersistence().filterFindByG_P(groupId, parentStructureId);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_P(long groupId,
long parentStructureId, int start, int end) {
return getPersistence()
.filterFindByG_P(groupId, parentStructureId, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and parentStructureId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_P(long groupId,
long parentStructureId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_P(groupId, parentStructureId, start, end,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] filterFindByG_P_PrevAndNext(long structureId,
long groupId, long parentStructureId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.filterFindByG_P_PrevAndNext(structureId, groupId,
parentStructureId, orderByComparator);
}
/**
* Removes all the d d m structures where groupId = ? and parentStructureId = ? from the database.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
*/
public static void removeByG_P(long groupId, long parentStructureId) {
getPersistence().removeByG_P(groupId, parentStructureId);
}
/**
* Returns the number of d d m structures where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @return the number of matching d d m structures
*/
public static int countByG_P(long groupId, long parentStructureId) {
return getPersistence().countByG_P(groupId, parentStructureId);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = ? and parentStructureId = ?.
*
* @param groupId the group ID
* @param parentStructureId the parent structure ID
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByG_P(long groupId, long parentStructureId) {
return getPersistence().filterCountByG_P(groupId, parentStructureId);
}
/**
* Returns all the d d m structures where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @return the matching d d m structures
*/
public static List findByG_C(long groupId, long classNameId) {
return getPersistence().findByG_C(groupId, classNameId);
}
/**
* Returns a range of all the d d m structures where groupId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByG_C(long groupId, long classNameId,
int start, int end) {
return getPersistence().findByG_C(groupId, classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByG_C(long groupId, long classNameId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByG_C(groupId, classNameId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByG_C(long groupId, long classNameId,
int start, int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_C(groupId, classNameId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_C_First(long groupId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_C_First(groupId, classNameId, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_C_First(long groupId, long classNameId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_C_First(groupId, classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_C_Last(long groupId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_C_Last(groupId, classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_C_Last(long groupId, long classNameId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_C_Last(groupId, classNameId, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and classNameId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByG_C_PrevAndNext(long structureId,
long groupId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_C_PrevAndNext(structureId, groupId, classNameId,
orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long groupId,
long classNameId) {
return getPersistence().filterFindByG_C(groupId, classNameId);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long groupId,
long classNameId, int start, int end) {
return getPersistence().filterFindByG_C(groupId, classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long groupId,
long classNameId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_C(groupId, classNameId, start, end,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] filterFindByG_C_PrevAndNext(long structureId,
long groupId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.filterFindByG_C_PrevAndNext(structureId, groupId,
classNameId, orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long[] groupIds,
long classNameId) {
return getPersistence().filterFindByG_C(groupIds, classNameId);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long[] groupIds,
long classNameId, int start, int end) {
return getPersistence()
.filterFindByG_C(groupIds, classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_C(long[] groupIds,
long classNameId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_C(groupIds, classNameId, start, end,
orderByComparator);
}
/**
* Returns all the d d m structures where groupId = any ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @return the matching d d m structures
*/
public static List findByG_C(long[] groupIds, long classNameId) {
return getPersistence().findByG_C(groupIds, classNameId);
}
/**
* Returns a range of all the d d m structures where groupId = any ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByG_C(long[] groupIds,
long classNameId, int start, int end) {
return getPersistence().findByG_C(groupIds, classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = any ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByG_C(long[] groupIds,
long classNameId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_C(groupIds, classNameId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and classNameId = ?, optionally using the finder cache.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByG_C(long[] groupIds,
long classNameId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_C(groupIds, classNameId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Removes all the d d m structures where groupId = ? and classNameId = ? from the database.
*
* @param groupId the group ID
* @param classNameId the class name ID
*/
public static void removeByG_C(long groupId, long classNameId) {
getPersistence().removeByG_C(groupId, classNameId);
}
/**
* Returns the number of d d m structures where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @return the number of matching d d m structures
*/
public static int countByG_C(long groupId, long classNameId) {
return getPersistence().countByG_C(groupId, classNameId);
}
/**
* Returns the number of d d m structures where groupId = any ? and classNameId = ?.
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @return the number of matching d d m structures
*/
public static int countByG_C(long[] groupIds, long classNameId) {
return getPersistence().countByG_C(groupIds, classNameId);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = ? and classNameId = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByG_C(long groupId, long classNameId) {
return getPersistence().filterCountByG_C(groupId, classNameId);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = any ? and classNameId = ?.
*
* @param groupIds the group IDs
* @param classNameId the class name ID
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByG_C(long[] groupIds, long classNameId) {
return getPersistence().filterCountByG_C(groupIds, classNameId);
}
/**
* Returns all the d d m structures where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @return the matching d d m structures
*/
public static List findByC_C(long companyId, long classNameId) {
return getPersistence().findByC_C(companyId, classNameId);
}
/**
* Returns a range of all the d d m structures where companyId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByC_C(long companyId,
long classNameId, int start, int end) {
return getPersistence().findByC_C(companyId, classNameId, start, end);
}
/**
* Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByC_C(long companyId,
long classNameId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByC_C(companyId, classNameId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where companyId = ? and classNameId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByC_C(long companyId,
long classNameId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByC_C(companyId, classNameId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByC_C_First(long companyId,
long classNameId, OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByC_C_First(companyId, classNameId, orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByC_C_First(long companyId,
long classNameId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByC_C_First(companyId, classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByC_C_Last(long companyId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByC_C_Last(companyId, classNameId, orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByC_C_Last(long companyId,
long classNameId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByC_C_Last(companyId, classNameId, orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = ? and classNameId = ?.
*
* @param structureId the primary key of the current d d m structure
* @param companyId the company ID
* @param classNameId the class name ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByC_C_PrevAndNext(long structureId,
long companyId, long classNameId,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByC_C_PrevAndNext(structureId, companyId, classNameId,
orderByComparator);
}
/**
* Removes all the d d m structures where companyId = ? and classNameId = ? from the database.
*
* @param companyId the company ID
* @param classNameId the class name ID
*/
public static void removeByC_C(long companyId, long classNameId) {
getPersistence().removeByC_C(companyId, classNameId);
}
/**
* Returns the number of d d m structures where companyId = ? and classNameId = ?.
*
* @param companyId the company ID
* @param classNameId the class name ID
* @return the number of matching d d m structures
*/
public static int countByC_C(long companyId, long classNameId) {
return getPersistence().countByC_C(companyId, classNameId);
}
/**
* Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or throws a {@link NoSuchStructureException} if it could not be found.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param structureKey the structure key
* @return the matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_C_S(long groupId, long classNameId,
java.lang.String structureKey)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByG_C_S(groupId, classNameId, structureKey);
}
/**
* Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param structureKey the structure key
* @return the matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_C_S(long groupId, long classNameId,
java.lang.String structureKey) {
return getPersistence().fetchByG_C_S(groupId, classNameId, structureKey);
}
/**
* Returns the d d m structure where groupId = ? and classNameId = ? and structureKey = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param structureKey the structure key
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_C_S(long groupId, long classNameId,
java.lang.String structureKey, boolean retrieveFromCache) {
return getPersistence()
.fetchByG_C_S(groupId, classNameId, structureKey,
retrieveFromCache);
}
/**
* Removes the d d m structure where groupId = ? and classNameId = ? and structureKey = ? from the database.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param structureKey the structure key
* @return the d d m structure that was removed
*/
public static DDMStructure removeByG_C_S(long groupId, long classNameId,
java.lang.String structureKey)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().removeByG_C_S(groupId, classNameId, structureKey);
}
/**
* Returns the number of d d m structures where groupId = ? and classNameId = ? and structureKey = ?.
*
* @param groupId the group ID
* @param classNameId the class name ID
* @param structureKey the structure key
* @return the number of matching d d m structures
*/
public static int countByG_C_S(long groupId, long classNameId,
java.lang.String structureKey) {
return getPersistence().countByG_C_S(groupId, classNameId, structureKey);
}
/**
* Returns all the d d m structures where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @return the matching d d m structures
*/
public static List findByG_N_D(long groupId,
java.lang.String name, java.lang.String description) {
return getPersistence().findByG_N_D(groupId, name, description);
}
/**
* Returns a range of all the d d m structures where groupId = ? and name = ? and description = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures
*/
public static List findByG_N_D(long groupId,
java.lang.String name, java.lang.String description, int start, int end) {
return getPersistence()
.findByG_N_D(groupId, name, description, start, end);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures
*/
public static List findByG_N_D(long groupId,
java.lang.String name, java.lang.String description, int start,
int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByG_N_D(groupId, name, description, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures where groupId = ? and name = ? and description = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching d d m structures
*/
public static List findByG_N_D(long groupId,
java.lang.String name, java.lang.String description, int start,
int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_N_D(groupId, name, description, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_N_D_First(long groupId,
java.lang.String name, java.lang.String description,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_N_D_First(groupId, name, description,
orderByComparator);
}
/**
* Returns the first d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_N_D_First(long groupId,
java.lang.String name, java.lang.String description,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_N_D_First(groupId, name, description,
orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure
* @throws NoSuchStructureException if a matching d d m structure could not be found
*/
public static DDMStructure findByG_N_D_Last(long groupId,
java.lang.String name, java.lang.String description,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_N_D_Last(groupId, name, description,
orderByComparator);
}
/**
* Returns the last d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching d d m structure, or null
if a matching d d m structure could not be found
*/
public static DDMStructure fetchByG_N_D_Last(long groupId,
java.lang.String name, java.lang.String description,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_N_D_Last(groupId, name, description,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = ? and name = ? and description = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] findByG_N_D_PrevAndNext(long structureId,
long groupId, java.lang.String name, java.lang.String description,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.findByG_N_D_PrevAndNext(structureId, groupId, name,
description, orderByComparator);
}
/**
* Returns all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @return the matching d d m structures that the user has permission to view
*/
public static List filterFindByG_N_D(long groupId,
java.lang.String name, java.lang.String description) {
return getPersistence().filterFindByG_N_D(groupId, name, description);
}
/**
* Returns a range of all the d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_N_D(long groupId,
java.lang.String name, java.lang.String description, int start, int end) {
return getPersistence()
.filterFindByG_N_D(groupId, name, description, start, end);
}
/**
* Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = ? and name = ? and description = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching d d m structures that the user has permission to view
*/
public static List filterFindByG_N_D(long groupId,
java.lang.String name, java.lang.String description, int start,
int end, OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_N_D(groupId, name, description, start, end,
orderByComparator);
}
/**
* Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
*
* @param structureId the primary key of the current d d m structure
* @param groupId the group ID
* @param name the name
* @param description the description
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure[] filterFindByG_N_D_PrevAndNext(
long structureId, long groupId, java.lang.String name,
java.lang.String description,
OrderByComparator orderByComparator)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence()
.filterFindByG_N_D_PrevAndNext(structureId, groupId, name,
description, orderByComparator);
}
/**
* Removes all the d d m structures where groupId = ? and name = ? and description = ? from the database.
*
* @param groupId the group ID
* @param name the name
* @param description the description
*/
public static void removeByG_N_D(long groupId, java.lang.String name,
java.lang.String description) {
getPersistence().removeByG_N_D(groupId, name, description);
}
/**
* Returns the number of d d m structures where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @return the number of matching d d m structures
*/
public static int countByG_N_D(long groupId, java.lang.String name,
java.lang.String description) {
return getPersistence().countByG_N_D(groupId, name, description);
}
/**
* Returns the number of d d m structures that the user has permission to view where groupId = ? and name = ? and description = ?.
*
* @param groupId the group ID
* @param name the name
* @param description the description
* @return the number of matching d d m structures that the user has permission to view
*/
public static int filterCountByG_N_D(long groupId, java.lang.String name,
java.lang.String description) {
return getPersistence().filterCountByG_N_D(groupId, name, description);
}
/**
* Caches the d d m structure in the entity cache if it is enabled.
*
* @param ddmStructure the d d m structure
*/
public static void cacheResult(DDMStructure ddmStructure) {
getPersistence().cacheResult(ddmStructure);
}
/**
* Caches the d d m structures in the entity cache if it is enabled.
*
* @param ddmStructures the d d m structures
*/
public static void cacheResult(List ddmStructures) {
getPersistence().cacheResult(ddmStructures);
}
/**
* Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.
*
* @param structureId the primary key for the new d d m structure
* @return the new d d m structure
*/
public static DDMStructure create(long structureId) {
return getPersistence().create(structureId);
}
/**
* Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param structureId the primary key of the d d m structure
* @return the d d m structure that was removed
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure remove(long structureId)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().remove(structureId);
}
public static DDMStructure updateImpl(DDMStructure ddmStructure) {
return getPersistence().updateImpl(ddmStructure);
}
/**
* Returns the d d m structure with the primary key or throws a {@link NoSuchStructureException} if it could not be found.
*
* @param structureId the primary key of the d d m structure
* @return the d d m structure
* @throws NoSuchStructureException if a d d m structure with the primary key could not be found
*/
public static DDMStructure findByPrimaryKey(long structureId)
throws com.liferay.dynamic.data.mapping.exception.NoSuchStructureException {
return getPersistence().findByPrimaryKey(structureId);
}
/**
* Returns the d d m structure with the primary key or returns null
if it could not be found.
*
* @param structureId the primary key of the d d m structure
* @return the d d m structure, or null
if a d d m structure with the primary key could not be found
*/
public static DDMStructure fetchByPrimaryKey(long structureId) {
return getPersistence().fetchByPrimaryKey(structureId);
}
public static java.util.Map fetchByPrimaryKeys(
java.util.Set primaryKeys) {
return getPersistence().fetchByPrimaryKeys(primaryKeys);
}
/**
* Returns all the d d m structures.
*
* @return the d d m structures
*/
public static List findAll() {
return getPersistence().findAll();
}
/**
* Returns a range of all the d d m structures.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @return the range of d d m structures
*/
public static List findAll(int start, int end) {
return getPersistence().findAll(start, end);
}
/**
* Returns an ordered range of all the d d m structures.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of d d m structures
*/
public static List findAll(int start, int end,
OrderByComparator orderByComparator) {
return getPersistence().findAll(start, end, orderByComparator);
}
/**
* Returns an ordered range of all the d d m structures.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param start the lower bound of the range of d d m structures
* @param end the upper bound of the range of d d m structures (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of d d m structures
*/
public static List findAll(int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findAll(start, end, orderByComparator, retrieveFromCache);
}
/**
* Removes all the d d m structures from the database.
*/
public static void removeAll() {
getPersistence().removeAll();
}
/**
* Returns the number of d d m structures.
*
* @return the number of d d m structures
*/
public static int countAll() {
return getPersistence().countAll();
}
public static java.util.Set getBadColumnNames() {
return getPersistence().getBadColumnNames();
}
public static DDMStructurePersistence getPersistence() {
return _serviceTracker.getService();
}
private static ServiceTracker _serviceTracker =
ServiceTrackerFactory.open(DDMStructurePersistence.class);
}