public class DDMStructureLayoutUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStructureLayoutPersistenceImpl
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
DDMStructureLayoutPersistence
Constructor and Description |
---|
DDMStructureLayoutUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMStructureLayout ddmStructureLayout)
Caches the ddm structure layout in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMStructureLayout> ddmStructureLayouts)
Caches the ddm structure layouts in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMStructureLayout ddmStructureLayout) |
static int |
countAll()
Returns the number of ddm structure layouts.
|
static int |
countByG_C_S(long groupId,
long classNameId,
java.lang.String structureLayoutKey)
Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureLayoutKey = ?.
|
static int |
countByG_C_SV(long groupId,
long classNameId,
long structureVersionId)
Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static int |
countByG_C(long groupId,
long classNameId)
Returns the number of ddm structure layouts where groupId = ? and classNameId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of ddm structure layouts where groupId = ?.
|
static int |
countByStructureLayoutKey(java.lang.String structureLayoutKey)
Returns the number of ddm structure layouts where structureLayoutKey = ?.
|
static int |
countByStructureVersionId(long structureVersionId)
Returns the number of ddm structure layouts where structureVersionId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm structure layouts where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm structure layouts where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ddm structure layouts where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMStructureLayout |
create(long structureLayoutId)
Creates a new ddm structure layout with the primary key.
|
static DDMStructureLayout |
fetchByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructureLayout |
fetchByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructureLayout |
fetchByG_C_S(long groupId,
long classNameId,
java.lang.String structureLayoutKey)
Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returns
null if it could not be found. |
static DDMStructureLayout |
fetchByG_C_S(long groupId,
long classNameId,
java.lang.String structureLayoutKey,
boolean useFinderCache)
Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMStructureLayout |
fetchByG_C_SV_First(long groupId,
long classNameId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static DDMStructureLayout |
fetchByG_C_SV_Last(long groupId,
long classNameId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static DDMStructureLayout |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ?.
|
static DDMStructureLayout |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ?.
|
static DDMStructureLayout |
fetchByPrimaryKey(long structureLayoutId)
Returns the ddm structure layout with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMStructureLayout> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMStructureLayout |
fetchByStructureLayoutKey_First(java.lang.String structureLayoutKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.
|
static DDMStructureLayout |
fetchByStructureLayoutKey_Last(java.lang.String structureLayoutKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.
|
static DDMStructureLayout |
fetchByStructureVersionId(long structureVersionId)
Returns the ddm structure layout where structureVersionId = ? or returns
null if it could not be found. |
static DDMStructureLayout |
fetchByStructureVersionId(long structureVersionId,
boolean useFinderCache)
Returns the ddm structure layout where structureVersionId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMStructureLayout |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructureLayout |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructureLayout |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where uuid = ?.
|
static DDMStructureLayout |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm structure layout where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DDMStructureLayout |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the ddm structure layout where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMStructureLayout |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findAll()
Returns all the ddm structure layouts.
|
static java.util.List<DDMStructureLayout> |
findAll(int start,
int end)
Returns a range of all the ddm structure layouts.
|
static java.util.List<DDMStructureLayout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts.
|
static java.util.List<DDMStructureLayout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts.
|
static DDMStructureLayout |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructureLayout |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructureLayout[] |
findByG_C_PrevAndNext(long structureLayoutId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
|
static DDMStructureLayout |
findByG_C_S(long groupId,
long classNameId,
java.lang.String structureLayoutKey)
Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or throws a
NoSuchStructureLayoutException if it could not be found. |
static DDMStructureLayout |
findByG_C_SV_First(long groupId,
long classNameId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static DDMStructureLayout |
findByG_C_SV_Last(long groupId,
long classNameId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static DDMStructureLayout[] |
findByG_C_SV_PrevAndNext(long structureLayoutId,
long groupId,
long classNameId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C_SV(long groupId,
long classNameId,
long structureVersionId)
Returns all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C_SV(long groupId,
long classNameId,
long structureVersionId,
int start,
int end)
Returns a range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C_SV(long groupId,
long classNameId,
long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C_SV(long groupId,
long classNameId,
long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C(long groupId,
long classNameId)
Returns all the ddm structure layouts where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Returns a range of all the ddm structure layouts where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ?.
|
static java.util.List<DDMStructureLayout> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ?.
|
static DDMStructureLayout |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where groupId = ?.
|
static DDMStructureLayout |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where groupId = ?.
|
static DDMStructureLayout[] |
findByGroupId_PrevAndNext(long structureLayoutId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ?.
|
static java.util.List<DDMStructureLayout> |
findByGroupId(long groupId)
Returns all the ddm structure layouts where groupId = ?.
|
static java.util.List<DDMStructureLayout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm structure layouts where groupId = ?.
|
static java.util.List<DDMStructureLayout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where groupId = ?.
|
static java.util.List<DDMStructureLayout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where groupId = ?.
|
static DDMStructureLayout |
findByPrimaryKey(long structureLayoutId)
Returns the ddm structure layout with the primary key or throws a
NoSuchStructureLayoutException if it could not be found. |
static DDMStructureLayout |
findByStructureLayoutKey_First(java.lang.String structureLayoutKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.
|
static DDMStructureLayout |
findByStructureLayoutKey_Last(java.lang.String structureLayoutKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.
|
static DDMStructureLayout[] |
findByStructureLayoutKey_PrevAndNext(long structureLayoutId,
java.lang.String structureLayoutKey,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where structureLayoutKey = ?.
|
static java.util.List<DDMStructureLayout> |
findByStructureLayoutKey(java.lang.String structureLayoutKey)
Returns all the ddm structure layouts where structureLayoutKey = ?.
|
static java.util.List<DDMStructureLayout> |
findByStructureLayoutKey(java.lang.String structureLayoutKey,
int start,
int end)
Returns a range of all the ddm structure layouts where structureLayoutKey = ?.
|
static java.util.List<DDMStructureLayout> |
findByStructureLayoutKey(java.lang.String structureLayoutKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where structureLayoutKey = ?.
|
static java.util.List<DDMStructureLayout> |
findByStructureLayoutKey(java.lang.String structureLayoutKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where structureLayoutKey = ?.
|
static DDMStructureLayout |
findByStructureVersionId(long structureVersionId)
Returns the ddm structure layout where structureVersionId = ? or throws a
NoSuchStructureLayoutException if it could not be found. |
static DDMStructureLayout |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructureLayout |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where uuid = ? and companyId = ?.
|
static DDMStructureLayout[] |
findByUuid_C_PrevAndNext(long structureLayoutId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm structure layouts where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm structure layouts where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where uuid = ? and companyId = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where uuid = ? and companyId = ?.
|
static DDMStructureLayout |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the first ddm structure layout in the ordered set where uuid = ?.
|
static DDMStructureLayout |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm structure layout where uuid = ? and groupId = ? or throws a
NoSuchStructureLayoutException if it could not be found. |
static DDMStructureLayout |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the last ddm structure layout in the ordered set where uuid = ?.
|
static DDMStructureLayout[] |
findByUuid_PrevAndNext(long structureLayoutId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid(java.lang.String uuid)
Returns all the ddm structure layouts where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm structure layouts where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Returns an ordered range of all the ddm structure layouts where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm structure layouts where uuid = ?.
|
static java.util.List<DDMStructureLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMStructureLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMStructureLayout> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) |
static DDMStructureLayoutPersistence |
getPersistence() |
static DDMStructureLayout |
remove(long structureLayoutId)
Removes the ddm structure layout with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm structure layouts from the database.
|
static DDMStructureLayout |
removeByG_C_S(long groupId,
long classNameId,
java.lang.String structureLayoutKey)
Removes the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? from the database.
|
static void |
removeByG_C_SV(long groupId,
long classNameId,
long structureVersionId)
Removes all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ? from the database.
|
static void |
removeByG_C(long groupId,
long classNameId)
Removes all the ddm structure layouts where groupId = ? and classNameId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the ddm structure layouts where groupId = ? from the database.
|
static void |
removeByStructureLayoutKey(java.lang.String structureLayoutKey)
Removes all the ddm structure layouts where structureLayoutKey = ? from the database.
|
static DDMStructureLayout |
removeByStructureVersionId(long structureVersionId)
Removes the ddm structure layout where structureVersionId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm structure layouts where uuid = ? and companyId = ? from the database.
|
static DDMStructureLayout |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm structure layout where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ddm structure layouts where uuid = ? from the database.
|
static DDMStructureLayout |
update(DDMStructureLayout ddmStructureLayout) |
static DDMStructureLayout |
update(DDMStructureLayout ddmStructureLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMStructureLayout |
updateImpl(DDMStructureLayout ddmStructureLayout) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMStructureLayout ddmStructureLayout)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMStructureLayout> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMStructureLayout update(DDMStructureLayout ddmStructureLayout)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMStructureLayout update(DDMStructureLayout ddmStructureLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMStructureLayout> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMStructureLayout> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByUuid_PrevAndNext(long structureLayoutId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static DDMStructureLayout findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchStructureLayoutException
NoSuchStructureLayoutException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchStructureLayoutException
uuid
- the uuidgroupId
- the group IDNoSuchStructureLayoutException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<DDMStructureLayout> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMStructureLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByUuid_C_PrevAndNext(long structureLayoutId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMStructureLayout> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMStructureLayout> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByGroupId_PrevAndNext(long structureLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMStructureLayout> findByStructureLayoutKey(java.lang.String structureLayoutKey)
structureLayoutKey
- the structure layout keypublic static java.util.List<DDMStructureLayout> findByStructureLayoutKey(java.lang.String structureLayoutKey, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
structureLayoutKey
- the structure layout keystart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByStructureLayoutKey(java.lang.String structureLayoutKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
structureLayoutKey
- the structure layout keystart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByStructureLayoutKey(java.lang.String structureLayoutKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
structureLayoutKey
- the structure layout keystart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByStructureLayoutKey_First(java.lang.String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByStructureLayoutKey_First(java.lang.String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByStructureLayoutKey_Last(java.lang.String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByStructureLayoutKey_Last(java.lang.String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByStructureLayoutKey_PrevAndNext(long structureLayoutId, java.lang.String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutstructureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByStructureLayoutKey(java.lang.String structureLayoutKey)
structureLayoutKey
- the structure layout keypublic static int countByStructureLayoutKey(java.lang.String structureLayoutKey)
structureLayoutKey
- the structure layout keypublic static DDMStructureLayout findByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException
NoSuchStructureLayoutException
if it could not be found.structureVersionId
- the structure version IDNoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByStructureVersionId(long structureVersionId)
null
if it could not be found. Uses the finder cache.structureVersionId
- the structure version IDnull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByStructureVersionId(long structureVersionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.structureVersionId
- the structure version IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout removeByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException
structureVersionId
- the structure version IDNoSuchStructureLayoutException
public static int countByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDpublic static java.util.List<DDMStructureLayout> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static java.util.List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByG_C_PrevAndNext(long structureLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutgroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static int countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDpublic static DDMStructureLayout findByG_C_S(long groupId, long classNameId, java.lang.String structureLayoutKey) throws NoSuchStructureLayoutException
NoSuchStructureLayoutException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keyNoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, java.lang.String structureLayoutKey)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keynull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, java.lang.String structureLayoutKey, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keyuseFinderCache
- whether to use the finder cachenull
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout removeByG_C_S(long groupId, long classNameId, java.lang.String structureLayoutKey) throws NoSuchStructureLayoutException
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keyNoSuchStructureLayoutException
public static int countByG_C_S(long groupId, long classNameId, java.lang.String structureLayoutKey)
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keypublic static java.util.List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId)
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDpublic static java.util.List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDstart
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStructureLayout findByG_C_SV_First(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_SV_First(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout findByG_C_SV_Last(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundpublic static DDMStructureLayout fetchByG_C_SV_Last(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm structure layout could not be foundpublic static DDMStructureLayout[] findByG_C_SV_PrevAndNext(long structureLayoutId, long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the current ddm structure layoutgroupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static void removeByG_C_SV(long groupId, long classNameId, long structureVersionId)
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDpublic static int countByG_C_SV(long groupId, long classNameId, long structureVersionId)
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDpublic static void cacheResult(DDMStructureLayout ddmStructureLayout)
ddmStructureLayout
- the ddm structure layoutpublic static void cacheResult(java.util.List<DDMStructureLayout> ddmStructureLayouts)
ddmStructureLayouts
- the ddm structure layoutspublic static DDMStructureLayout create(long structureLayoutId)
structureLayoutId
- the primary key for the new ddm structure layoutpublic static DDMStructureLayout remove(long structureLayoutId) throws NoSuchStructureLayoutException
structureLayoutId
- the primary key of the ddm structure layoutNoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static DDMStructureLayout updateImpl(DDMStructureLayout ddmStructureLayout)
public static DDMStructureLayout findByPrimaryKey(long structureLayoutId) throws NoSuchStructureLayoutException
NoSuchStructureLayoutException
if it could not be found.structureLayoutId
- the primary key of the ddm structure layoutNoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundpublic static DDMStructureLayout fetchByPrimaryKey(long structureLayoutId)
null
if it could not be found.structureLayoutId
- the primary key of the ddm structure layoutnull
if a ddm structure layout with the primary key could not be foundpublic static java.util.List<DDMStructureLayout> findAll()
public static java.util.List<DDMStructureLayout> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
start
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)public static java.util.List<DDMStructureLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
start
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStructureLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl
.
start
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMStructureLayoutPersistence getPersistence()