Interface DDMStructureLayoutPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureLayout>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructureLayout>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMStructureLayout ddmStructureLayout) Caches the ddm structure layout in the entity cache if it is enabled.void
cacheResult
(List<DDMStructureLayout> ddmStructureLayouts) Caches the ddm structure layouts in the entity cache if it is enabled.int
countAll()
Returns the number of ddm structure layouts.int
countByG_C
(long groupId, long classNameId) Returns the number of ddm structure layouts where groupId = ? and classNameId = ?.int
countByG_C_S
(long groupId, long classNameId, String structureLayoutKey) Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureLayoutKey = ?.int
countByG_C_SV
(long groupId, long classNameId, long structureVersionId) Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.int
countByGroupId
(long groupId) Returns the number of ddm structure layouts where groupId = ?.int
countByStructureLayoutKey
(String structureLayoutKey) Returns the number of ddm structure layouts where structureLayoutKey = ?.int
countByStructureVersionId
(long structureVersionId) Returns the number of ddm structure layouts where structureVersionId = ?.int
countByUuid
(String uuid) Returns the number of ddm structure layouts where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm structure layouts where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of ddm structure layouts where uuid = ? and groupId = ?.create
(long structureLayoutId) Creates a new ddm structure layout with the primary key.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 = ?.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 = ?.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.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.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where groupId = ?.fetchByPrimaryKey
(long structureLayoutId) Returns the ddm structure layout with the primary key or returnsnull
if it could not be found.fetchByStructureLayoutKey_First
(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.fetchByStructureLayoutKey_Last
(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.fetchByStructureVersionId
(long structureVersionId) Returns the ddm structure layout where structureVersionId = ? or returnsnull
if it could not be found.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.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 = ?.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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the ddm structure layout where uuid = ? and groupId = ? or returnsnull
if it could not be found.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.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where uuid = ?.findAll()
Returns all the ddm structure layouts.findAll
(int start, int end) Returns a range of all the ddm structure layouts.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns an ordered range of all the ddm structure layouts.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.findByG_C
(long groupId, long classNameId) Returns all the ddm structure layouts where groupId = ? and classNameId = ?.findByG_C
(long groupId, long classNameId, int start, int end) Returns a range of all the ddm structure layouts where groupId = ? and classNameId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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.findByG_C_SV
(long groupId, long classNameId, long structureVersionId) Returns all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the ddm structure layouts where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the ddm structure layouts where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where groupId = ?.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 = ?.findByPrimaryKey
(long structureLayoutId) Returns the ddm structure layout with the primary key or throws aNoSuchStructureLayoutException
if it could not be found.findByStructureLayoutKey
(String structureLayoutKey) Returns all the ddm structure layouts where structureLayoutKey = ?.findByStructureLayoutKey
(String structureLayoutKey, int start, int end) Returns a range of all the ddm structure layouts where structureLayoutKey = ?.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 = ?.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 = ?.findByStructureLayoutKey_First
(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.findByStructureLayoutKey_Last
(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.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 = ?.findByStructureVersionId
(long structureVersionId) Returns the ddm structure layout where structureVersionId = ? or throws aNoSuchStructureLayoutException
if it could not be found.findByUuid
(String uuid) Returns all the ddm structure layouts where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ddm structure layouts where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the ddm structure layouts where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddm structure layouts where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the first ddm structure layout in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the ddm structure layout where uuid = ? and groupId = ? or throws aNoSuchStructureLayoutException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) Returns the last ddm structure layout in the ordered set where uuid = ?.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 = ?.remove
(long structureLayoutId) Removes the ddm structure layout with the primary key from the database.void
Removes all the ddm structure layouts from the database.void
removeByG_C
(long groupId, long classNameId) Removes all the ddm structure layouts where groupId = ? and classNameId = ? from the database.removeByG_C_S
(long groupId, long classNameId, String structureLayoutKey) Removes the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? from the database.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.void
removeByGroupId
(long groupId) Removes all the ddm structure layouts where groupId = ? from the database.void
removeByStructureLayoutKey
(String structureLayoutKey) Removes all the ddm structure layouts where structureLayoutKey = ? from the database.removeByStructureVersionId
(long structureVersionId) Removes the ddm structure layout where structureVersionId = ? from the database.void
removeByUuid
(String uuid) Removes all the ddm structure layouts where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm structure layouts where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the ddm structure layout where uuid = ? and groupId = ? from the database.updateImpl
(DDMStructureLayout ddmStructureLayout) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByUuid_First
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
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 found
-
fetchByUuid_Last
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
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 found
-
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
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 found
-
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
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
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
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
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
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 found
-
fetchByUuid_C_First
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
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 found
-
fetchByUuid_C_Last
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
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 found
-
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
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
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
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 found
-
fetchByGroupId_First
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
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 found
-
fetchByGroupId_Last
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
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 found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the ddm structure layouts where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
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
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
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
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
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 found
-
fetchByStructureLayoutKey_First
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
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 found
-
fetchByStructureLayoutKey_Last
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
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 found
-
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
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 found
-
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
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
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
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
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
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
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
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 found
-
fetchByG_C_First
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
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 found
-
fetchByG_C_Last
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
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 found
-
removeByG_C
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
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
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 found
-
fetchByG_C_S
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
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
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
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
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
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
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
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 found
-
fetchByG_C_SV_First
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
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 found
-
fetchByG_C_SV_Last
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
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 found
-
removeByG_C_SV
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
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<DDMStructureLayout> 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
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
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
void removeAll()Removes all the ddm structure layouts from the database. -
countAll
int countAll()Returns the number of ddm structure layouts.- Returns:
- the number of ddm structure layouts
-