Class DDMStructureLayoutUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DDMStructureLayout ddmStructureLayout) Caches the ddm structure layout in the entity cache if it is enabled.static void
cacheResult
(List<DDMStructureLayout> ddmStructureLayouts) Caches the ddm structure layouts in the entity cache if it is enabled.static void
static void
clearCache
(DDMStructureLayout ddmStructureLayout) static int
countAll()
Returns the number of ddm structure layouts.static int
countByG_C
(long groupId, long classNameId) Returns the number of ddm structure layouts where groupId = ? and classNameId = ?.static int
countByG_C_S
(long groupId, long classNameId, 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
countByGroupId
(long groupId) Returns the number of ddm structure layouts where groupId = ?.static int
countByStructureLayoutKey
(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
(String uuid) Returns the number of ddm structure layouts where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm structure layouts where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of ddm structure layouts where uuid = ? and groupId = ?.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, String structureLayoutKey) Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returnsnull
if it could not be found.static DDMStructureLayout
fetchByG_C_S
(long groupId, long classNameId, String structureLayoutKey, boolean useFinderCache) Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
DDMStructureLayout> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static DDMStructureLayout
fetchByStructureLayoutKey_First
(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
(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 returnsnull
if it could not be found.static DDMStructureLayout
fetchByStructureVersionId
(long structureVersionId, boolean useFinderCache) Returns the ddm structure layout where structureVersionId = ? or returnsnull
if it could not be found, optionally using the finder cache.static DDMStructureLayout
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the ddm structure layout where uuid = ? and groupId = ? or returnsnull
if it could not be found.static DDMStructureLayout
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the ddm structure layout where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static DDMStructureLayout
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where uuid = ?.static List<DDMStructureLayout>
findAll()
Returns all the ddm structure layouts.static List<DDMStructureLayout>
findAll
(int start, int end) Returns a range of all the ddm structure layouts.static 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 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 List<DDMStructureLayout>
findByG_C
(long groupId, long classNameId) Returns all the ddm structure layouts where groupId = ? and classNameId = ?.static 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 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 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
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, String structureLayoutKey) Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or throws aNoSuchStructureLayoutException
if it could not be found.static List<DDMStructureLayout>
findByG_C_SV
(long groupId, long classNameId, long structureVersionId) Returns all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.static 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 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 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 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 List<DDMStructureLayout>
findByGroupId
(long groupId) Returns all the ddm structure layouts where groupId = ?.static List<DDMStructureLayout>
findByGroupId
(long groupId, int start, int end) Returns a range of all the ddm structure layouts where groupId = ?.static 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 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
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 DDMStructureLayout
findByPrimaryKey
(long structureLayoutId) Returns the ddm structure layout with the primary key or throws aNoSuchStructureLayoutException
if it could not be found.static List<DDMStructureLayout>
findByStructureLayoutKey
(String structureLayoutKey) Returns all the ddm structure layouts where structureLayoutKey = ?.static List<DDMStructureLayout>
findByStructureLayoutKey
(String structureLayoutKey, int start, int end) Returns a range of all the ddm structure layouts where structureLayoutKey = ?.static List<DDMStructureLayout>
findByStructureLayoutKey
(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 List<DDMStructureLayout>
findByStructureLayoutKey
(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
findByStructureLayoutKey_First
(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
(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, 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 DDMStructureLayout
findByStructureVersionId
(long structureVersionId) Returns the ddm structure layout where structureVersionId = ? or throws aNoSuchStructureLayoutException
if it could not be found.static List<DDMStructureLayout>
findByUuid
(String uuid) Returns all the ddm structure layouts where uuid = ?.static List<DDMStructureLayout>
findByUuid
(String uuid, int start, int end) Returns a range of all the ddm structure layouts where uuid = ?.static List<DDMStructureLayout>
findByUuid
(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 List<DDMStructureLayout>
findByUuid
(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 List<DDMStructureLayout>
findByUuid_C
(String uuid, long companyId) Returns all the ddm structure layouts where uuid = ? and companyId = ?.static List<DDMStructureLayout>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddm structure layouts where uuid = ? and companyId = ?.static List<DDMStructureLayout>
findByUuid_C
(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 List<DDMStructureLayout>
findByUuid_C
(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_C_First
(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
(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, 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 DDMStructureLayout
findByUuid_First
(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
(String uuid, long groupId) Returns the ddm structure layout where uuid = ? and groupId = ? or throws aNoSuchStructureLayoutException
if it could not be found.static DDMStructureLayout
findByUuid_Last
(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, 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 List<DDMStructureLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMStructureLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMStructureLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) static DDMStructureLayout
remove
(long structureLayoutId) Removes the ddm structure layout with the primary key from the database.static void
Removes all the ddm structure layouts 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 DDMStructureLayout
removeByG_C_S
(long groupId, long classNameId, 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
removeByGroupId
(long groupId) Removes all the ddm structure layouts where groupId = ? from the database.static void
removeByStructureLayoutKey
(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
(String uuid) Removes all the ddm structure layouts where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm structure layouts where uuid = ? and companyId = ? from the database.static DDMStructureLayout
removeByUUID_G
(String uuid, long groupId) Removes the ddm structure layout where uuid = ? and groupId = ? from the database.static void
setPersistence
(DDMStructureLayoutPersistence persistence) static DDMStructureLayout
update
(DDMStructureLayout ddmStructureLayout) static DDMStructureLayout
update
(DDMStructureLayout ddmStructureLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMStructureLayout
updateImpl
(DDMStructureLayout ddmStructureLayout)
-
Constructor Details
-
DDMStructureLayoutUtil
public DDMStructureLayoutUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,DDMStructureLayout> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMStructureLayout update(DDMStructureLayout ddmStructureLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the ddm structure layouts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ddm structure layouts
-
findByUuid
Returns a range of all the ddm structure layouts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByUuid
public static List<DDMStructureLayout> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByUuid
public static List<DDMStructureLayout> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByUuid_First
public static DDMStructureLayout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByUuid_First
public static DDMStructureLayout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByUuid_Last
public static DDMStructureLayout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByUuid_Last
public static DDMStructureLayout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByUuid_PrevAndNext
public static DDMStructureLayout[] findByUuid_PrevAndNext(long structureLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ?.- Parameters:
structureLayoutId
- the primary key of the current ddm structure layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByUuid
Removes all the ddm structure layouts where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ddm structure layouts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ddm structure layouts
-
findByUUID_G
public static DDMStructureLayout findByUUID_G(String uuid, long groupId) throws NoSuchStructureLayoutException Returns the ddm structure layout where uuid = ? and groupId = ? or throws aNoSuchStructureLayoutException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByUUID_G
Returns the ddm structure layout where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
fetchByUUID_G
Returns the ddm structure layout where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
removeByUUID_G
public static DDMStructureLayout removeByUUID_G(String uuid, long groupId) throws NoSuchStructureLayoutException Removes the ddm structure layout where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the ddm structure layout that was removed
- Throws:
NoSuchStructureLayoutException
-
countByUUID_G
Returns the number of ddm structure layouts where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching ddm structure layouts
-
findByUuid_C
Returns all the ddm structure layouts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ddm structure layouts
-
findByUuid_C
public static List<DDMStructureLayout> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm structure layouts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByUuid_C
public static List<DDMStructureLayout> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByUuid_C
public static List<DDMStructureLayout> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByUuid_C_First
public static DDMStructureLayout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByUuid_C_First
public static DDMStructureLayout fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByUuid_C_Last
public static DDMStructureLayout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByUuid_C_Last
public static DDMStructureLayout fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByUuid_C_PrevAndNext
public static DDMStructureLayout[] findByUuid_C_PrevAndNext(long structureLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
structureLayoutId
- the primary key of the current ddm structure layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByUuid_C
Removes all the ddm structure layouts where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ddm structure layouts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ddm structure layouts
-
findByGroupId
Returns all the ddm structure layouts where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching ddm structure layouts
-
findByGroupId
Returns a range of all the ddm structure layouts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByGroupId_First
public static DDMStructureLayout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByGroupId_Last
public static DDMStructureLayout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByGroupId_PrevAndNext
public static DDMStructureLayout[] findByGroupId_PrevAndNext(long structureLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ?.- Parameters:
structureLayoutId
- the primary key of the current ddm structure layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the ddm structure layouts where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of ddm structure layouts where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching ddm structure layouts
-
findByStructureLayoutKey
Returns all the ddm structure layouts where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout key- Returns:
- the matching ddm structure layouts
-
findByStructureLayoutKey
public static List<DDMStructureLayout> findByStructureLayoutKey(String structureLayoutKey, int start, int end) Returns a range of all the ddm structure layouts where structureLayoutKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByStructureLayoutKey
public static List<DDMStructureLayout> findByStructureLayoutKey(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByStructureLayoutKey
public static List<DDMStructureLayout> findByStructureLayoutKey(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByStructureLayoutKey_First
public static DDMStructureLayout findByStructureLayoutKey_First(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByStructureLayoutKey_First
public static DDMStructureLayout fetchByStructureLayoutKey_First(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByStructureLayoutKey_Last
public static DDMStructureLayout findByStructureLayoutKey_Last(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByStructureLayoutKey_Last
public static DDMStructureLayout fetchByStructureLayoutKey_Last(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByStructureLayoutKey_PrevAndNext
public static DDMStructureLayout[] findByStructureLayoutKey_PrevAndNext(long structureLayoutId, String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where structureLayoutKey = ?.- Parameters:
structureLayoutId
- the primary key of the current ddm structure layoutstructureLayoutKey
- the structure layout keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByStructureLayoutKey
Removes all the ddm structure layouts where structureLayoutKey = ? from the database.- Parameters:
structureLayoutKey
- the structure layout key
-
countByStructureLayoutKey
Returns the number of ddm structure layouts where structureLayoutKey = ?.- Parameters:
structureLayoutKey
- the structure layout key- Returns:
- the number of matching ddm structure layouts
-
findByStructureVersionId
public static DDMStructureLayout findByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException Returns the ddm structure layout where structureVersionId = ? or throws aNoSuchStructureLayoutException
if it could not be found.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByStructureVersionId
Returns the ddm structure layout where structureVersionId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
fetchByStructureVersionId
public static DDMStructureLayout fetchByStructureVersionId(long structureVersionId, boolean useFinderCache) Returns the ddm structure layout where structureVersionId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
structureVersionId
- the structure version IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
removeByStructureVersionId
public static DDMStructureLayout removeByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException Removes the ddm structure layout where structureVersionId = ? from the database.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the ddm structure layout that was removed
- Throws:
NoSuchStructureLayoutException
-
countByStructureVersionId
public static int countByStructureVersionId(long structureVersionId) Returns the number of ddm structure layouts where structureVersionId = ?.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the number of matching ddm structure layouts
-
findByG_C
Returns all the ddm structure layouts where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching ddm structure layouts
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByG_C
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByG_C_First
public static DDMStructureLayout findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByG_C_First
public 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByG_C_Last
public static DDMStructureLayout findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByG_C_Last
public 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByG_C_PrevAndNext
public static DDMStructureLayout[] findByG_C_PrevAndNext(long structureLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ?.- Parameters:
structureLayoutId
- the primary key of the current ddm structure layoutgroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByG_C
public static void removeByG_C(long groupId, long classNameId) Removes all the ddm structure layouts where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_C
public static int countByG_C(long groupId, long classNameId) Returns the number of ddm structure layouts where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching ddm structure layouts
-
findByG_C_S
public static DDMStructureLayout findByG_C_S(long groupId, long classNameId, String structureLayoutKey) throws NoSuchStructureLayoutException Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or throws aNoSuchStructureLayoutException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout key- Returns:
- the matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByG_C_S
public static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, String structureLayoutKey) Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout key- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
fetchByG_C_S
public static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, String structureLayoutKey, boolean useFinderCache) Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout keyuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
removeByG_C_S
public static DDMStructureLayout removeByG_C_S(long groupId, long classNameId, String structureLayoutKey) throws NoSuchStructureLayoutException Removes the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout key- Returns:
- the ddm structure layout that was removed
- Throws:
NoSuchStructureLayoutException
-
countByG_C_S
Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureLayoutKey = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureLayoutKey
- the structure layout key- Returns:
- the number of matching ddm structure layouts
-
findByG_C_SV
public static List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId) Returns all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version ID- Returns:
- the matching ddm structure layouts
-
findByG_C_SV
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm structure layouts
-
findByG_C_SV
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm structure layouts
-
findByG_C_SV
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm structure layouts
-
findByG_C_SV_First
public static DDMStructureLayout findByG_C_SV_First(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByG_C_SV_First
public 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByG_C_SV_Last
public static DDMStructureLayout findByG_C_SV_Last(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a matching ddm structure layout could not be foundNoSuchStructureLayoutException
-
fetchByG_C_SV_Last
public 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm structure layout, or
null
if a matching ddm structure layout could not be found
-
findByG_C_SV_PrevAndNext
public static DDMStructureLayout[] findByG_C_SV_PrevAndNext(long structureLayoutId, long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
removeByG_C_SV
public 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.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version ID
-
countByG_C_SV
public static int countByG_C_SV(long groupId, long classNameId, long structureVersionId) Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDstructureVersionId
- the structure version ID- Returns:
- the number of matching ddm structure layouts
-
cacheResult
Caches the ddm structure layout in the entity cache if it is enabled.- Parameters:
ddmStructureLayout
- the ddm structure layout
-
cacheResult
Caches the ddm structure layouts in the entity cache if it is enabled.- Parameters:
ddmStructureLayouts
- the ddm structure layouts
-
create
Creates a new ddm structure layout with the primary key. Does not add the ddm structure layout to the database.- Parameters:
structureLayoutId
- the primary key for the new ddm structure layout- Returns:
- the new ddm structure layout
-
remove
public static DDMStructureLayout remove(long structureLayoutId) throws NoSuchStructureLayoutException Removes the ddm structure layout with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
structureLayoutId
- the primary key of the ddm structure layout- Returns:
- the ddm structure layout that was removed
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
updateImpl
-
findByPrimaryKey
public static DDMStructureLayout findByPrimaryKey(long structureLayoutId) throws NoSuchStructureLayoutException Returns the ddm structure layout with the primary key or throws aNoSuchStructureLayoutException
if it could not be found.- Parameters:
structureLayoutId
- the primary key of the ddm structure layout- Returns:
- the ddm structure layout
- Throws:
NoSuchStructureLayoutException
- if a ddm structure layout with the primary key could not be foundNoSuchStructureLayoutException
-
fetchByPrimaryKey
Returns the ddm structure layout with the primary key or returnsnull
if it could not be found.- Parameters:
structureLayoutId
- the primary key of the ddm structure layout- Returns:
- the ddm structure layout, or
null
if a ddm structure layout with the primary key could not be found
-
findAll
Returns all the ddm structure layouts.- Returns:
- the ddm structure layouts
-
findAll
Returns a range of all the ddm structure layouts.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
start
- the lower bound of the range of ddm structure layoutsend
- the upper bound of the range of ddm structure layouts (not inclusive)- Returns:
- the range of ddm structure layouts
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of ddm structure layouts
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStructureLayoutModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ddm structure layouts
-
removeAll
public static void removeAll()Removes all the ddm structure layouts from the database. -
countAll
public static int countAll()Returns the number of ddm structure layouts.- Returns:
- the number of ddm structure layouts
-
getPersistence
-
setPersistence
-