Class ObjectLayoutUtil
com.liferay.object.service.persistence.impl.ObjectLayoutPersistenceImpl
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
(ObjectLayout objectLayout) Caches the object layout in the entity cache if it is enabled.static void
cacheResult
(List<ObjectLayout> objectLayouts) Caches the object layouts in the entity cache if it is enabled.static void
static void
clearCache
(ObjectLayout objectLayout) static int
countAll()
Returns the number of object layouts.static int
countByC_DOL
(long companyId, boolean defaultObjectLayout) Returns the number of object layouts where companyId = ? and defaultObjectLayout = ?.static int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object layouts where objectDefinitionId = ?.static int
countByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout) Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.static int
countByUuid
(String uuid) Returns the number of object layouts where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object layouts where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectLayout
create
(long objectLayoutId) Creates a new object layout with the primary key.static ObjectLayout
fetchByC_DOL_First
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.static ObjectLayout
fetchByC_DOL_Last
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.static ObjectLayout
fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.static ObjectLayout
fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ?.static ObjectLayout
fetchByODI_DOL_First
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout
fetchByODI_DOL_Last
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout
fetchByPrimaryKey
(long objectLayoutId) Returns the object layout with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectLayout> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ObjectLayout
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ? and companyId = ?.static ObjectLayout
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ? and companyId = ?.static ObjectLayout
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.static ObjectLayout
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ?.static List<ObjectLayout>
findAll()
Returns all the object layouts.static List<ObjectLayout>
findAll
(int start, int end) Returns a range of all the object layouts.static List<ObjectLayout>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts.static List<ObjectLayout>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts.static List<ObjectLayout>
findByC_DOL
(long companyId, boolean defaultObjectLayout) Returns all the object layouts where companyId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByC_DOL
(long companyId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where companyId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByC_DOL
(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByC_DOL
(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.static ObjectLayout
findByC_DOL_First
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.static ObjectLayout
findByC_DOL_Last
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.static ObjectLayout[]
findByC_DOL_PrevAndNext
(long objectLayoutId, long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByObjectDefinitionId
(long objectDefinitionId) Returns all the object layouts where objectDefinitionId = ?.static List<ObjectLayout>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ?.static List<ObjectLayout>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ?.static List<ObjectLayout>
findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ?.static ObjectLayout
findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.static ObjectLayout
findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ?.static ObjectLayout[]
findByObjectDefinitionId_PrevAndNext
(long objectLayoutId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ?.static List<ObjectLayout>
findByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout) Returns all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.static List<ObjectLayout>
findByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout
findByODI_DOL_First
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout
findByODI_DOL_Last
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout[]
findByODI_DOL_PrevAndNext
(long objectLayoutId, long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.static ObjectLayout
findByPrimaryKey
(long objectLayoutId) Returns the object layout with the primary key or throws aNoSuchObjectLayoutException
if it could not be found.static List<ObjectLayout>
findByUuid
(String uuid) Returns all the object layouts where uuid = ?.static List<ObjectLayout>
findByUuid
(String uuid, int start, int end) Returns a range of all the object layouts where uuid = ?.static List<ObjectLayout>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where uuid = ?.static List<ObjectLayout>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where uuid = ?.static List<ObjectLayout>
findByUuid_C
(String uuid, long companyId) Returns all the object layouts where uuid = ? and companyId = ?.static List<ObjectLayout>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object layouts where uuid = ? and companyId = ?.static List<ObjectLayout>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where uuid = ? and companyId = ?.static List<ObjectLayout>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where uuid = ? and companyId = ?.static ObjectLayout
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ? and companyId = ?.static ObjectLayout
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ? and companyId = ?.static ObjectLayout[]
findByUuid_C_PrevAndNext
(long objectLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where uuid = ? and companyId = ?.static ObjectLayout
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.static ObjectLayout
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ?.static ObjectLayout[]
findByUuid_PrevAndNext
(long objectLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where uuid = ?.static List<ObjectLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectLayout>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) static ObjectLayoutPersistence
static ObjectLayout
remove
(long objectLayoutId) Removes the object layout with the primary key from the database.static void
Removes all the object layouts from the database.static void
removeByC_DOL
(long companyId, boolean defaultObjectLayout) Removes all the object layouts where companyId = ? and defaultObjectLayout = ? from the database.static void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object layouts where objectDefinitionId = ? from the database.static void
removeByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout) Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.static void
removeByUuid
(String uuid) Removes all the object layouts where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object layouts where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectLayoutPersistence persistence) static ObjectLayout
update
(ObjectLayout objectLayout) static ObjectLayout
update
(ObjectLayout objectLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectLayout
updateImpl
(ObjectLayout objectLayout)
-
Constructor Details
-
ObjectLayoutUtil
public ObjectLayoutUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectLayout update(ObjectLayout objectLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object layouts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object layouts
-
findByUuid
Returns a range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByUuid
public static List<ObjectLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layouts
-
findByUuid
public static List<ObjectLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object 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 object layouts
-
findByUuid_First
public static ObjectLayout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByUuid_First
public static ObjectLayout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout, or
null
if a matching object layout could not be found
-
findByUuid_Last
public static ObjectLayout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByUuid_Last
public static ObjectLayout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByUuid_PrevAndNext
public static ObjectLayout[] findByUuid_PrevAndNext(long objectLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where uuid = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
removeByUuid
Removes all the object layouts where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object layouts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object layouts
-
findByUuid_C
Returns all the object layouts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object layouts
-
findByUuid_C
Returns a range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByUuid_C
public static List<ObjectLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layouts
-
findByUuid_C
public static List<ObjectLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object 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 object layouts
-
findByUuid_C_First
public static ObjectLayout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object 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 object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByUuid_C_First
public static ObjectLayout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object 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 object layout, or
null
if a matching object layout could not be found
-
findByUuid_C_Last
public static ObjectLayout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object 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 object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByUuid_C_Last
public static ObjectLayout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object 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 object layout, or
null
if a matching object layout could not be found
-
findByUuid_C_PrevAndNext
public static ObjectLayout[] findByUuid_C_PrevAndNext(long objectLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
removeByUuid_C
Removes all the object layouts where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object layouts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object layouts
-
findByObjectDefinitionId
Returns all the object layouts where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object layouts
-
findByObjectDefinitionId
public static List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByObjectDefinitionId
public static List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layouts
-
findByObjectDefinitionId
public static List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object 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 object layouts
-
findByObjectDefinitionId_First
public static ObjectLayout findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByObjectDefinitionId_First
public static ObjectLayout fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout, or
null
if a matching object layout could not be found
-
findByObjectDefinitionId_Last
public static ObjectLayout findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByObjectDefinitionId_Last
public static ObjectLayout fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByObjectDefinitionId_PrevAndNext
public static ObjectLayout[] findByObjectDefinitionId_PrevAndNext(long objectLayoutId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object layouts where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
public static int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object layouts where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the number of matching object layouts
-
findByC_DOL
Returns all the object layouts where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layout- Returns:
- the matching object layouts
-
findByC_DOL
public static List<ObjectLayout> findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByC_DOL
public static List<ObjectLayout> findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layouts
-
findByC_DOL
public static List<ObjectLayout> findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object 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 object layouts
-
findByC_DOL_First
public static ObjectLayout findByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByC_DOL_First
public static ObjectLayout fetchByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout, or
null
if a matching object layout could not be found
-
findByC_DOL_Last
public static ObjectLayout findByC_DOL_Last(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByC_DOL_Last
public static ObjectLayout fetchByC_DOL_Last(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByC_DOL_PrevAndNext
public static ObjectLayout[] findByC_DOL_PrevAndNext(long objectLayoutId, long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutcompanyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
removeByC_DOL
public static void removeByC_DOL(long companyId, boolean defaultObjectLayout) Removes all the object layouts where companyId = ? and defaultObjectLayout = ? from the database.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layout
-
countByC_DOL
public static int countByC_DOL(long companyId, boolean defaultObjectLayout) Returns the number of object layouts where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId
- the company IDdefaultObjectLayout
- the default object layout- Returns:
- the number of matching object layouts
-
findByODI_DOL
public static List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Returns all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layout- Returns:
- the matching object layouts
-
findByODI_DOL
public static List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByODI_DOL
public static List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layouts
-
findByODI_DOL
public static List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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 fromObjectLayoutModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object 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 object layouts
-
findByODI_DOL_First
public static ObjectLayout findByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByODI_DOL_First
public static ObjectLayout fetchByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout, or
null
if a matching object layout could not be found
-
findByODI_DOL_Last
public static ObjectLayout findByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be foundNoSuchObjectLayoutException
-
fetchByODI_DOL_Last
public static ObjectLayout fetchByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByODI_DOL_PrevAndNext
public static ObjectLayout[] findByODI_DOL_PrevAndNext(long objectLayoutId, long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
removeByODI_DOL
public static void removeByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layout
-
countByODI_DOL
public static int countByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layout- Returns:
- the number of matching object layouts
-
cacheResult
Caches the object layout in the entity cache if it is enabled.- Parameters:
objectLayout
- the object layout
-
cacheResult
Caches the object layouts in the entity cache if it is enabled.- Parameters:
objectLayouts
- the object layouts
-
create
Creates a new object layout with the primary key. Does not add the object layout to the database.- Parameters:
objectLayoutId
- the primary key for the new object layout- Returns:
- the new object layout
-
remove
Removes the object layout with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutId
- the primary key of the object layout- Returns:
- the object layout that was removed
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
updateImpl
-
findByPrimaryKey
Returns the object layout with the primary key or throws aNoSuchObjectLayoutException
if it could not be found.- Parameters:
objectLayoutId
- the primary key of the object layout- Returns:
- the object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundNoSuchObjectLayoutException
-
fetchByPrimaryKey
Returns the object layout with the primary key or returnsnull
if it could not be found.- Parameters:
objectLayoutId
- the primary key of the object layout- Returns:
- the object layout, or
null
if a object layout with the primary key could not be found
-
findAll
Returns all the object layouts.- Returns:
- the object layouts
-
findAll
Returns a range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
start
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of object layouts
-
findAll
public static List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
start
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object layouts
-
findAll
public static List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object 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 fromObjectLayoutModelImpl
.- Parameters:
start
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object layouts
-
removeAll
public static void removeAll()Removes all the object layouts from the database. -
countAll
public static int countAll()Returns the number of object layouts.- Returns:
- the number of object layouts
-
getPersistence
-
setPersistence
-