Class ObjectLayoutBoxUtil
com.liferay.object.service.persistence.impl.ObjectLayoutBoxPersistenceImpl
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
(ObjectLayoutBox objectLayoutBox) Caches the object layout box in the entity cache if it is enabled.static void
cacheResult
(List<ObjectLayoutBox> objectLayoutBoxes) Caches the object layout boxes in the entity cache if it is enabled.static void
static void
clearCache
(ObjectLayoutBox objectLayoutBox) static int
countAll()
Returns the number of object layout boxes.static int
countByObjectLayoutTabId
(long objectLayoutTabId) Returns the number of object layout boxes where objectLayoutTabId = ?.static int
countByUuid
(String uuid) Returns the number of object layout boxes where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object layout boxes where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectLayoutBox
create
(long objectLayoutBoxId) Creates a new object layout box with the primary key.static ObjectLayoutBox
fetchByObjectLayoutTabId_First
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.static ObjectLayoutBox
fetchByObjectLayoutTabId_Last
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.static ObjectLayoutBox
fetchByPrimaryKey
(long objectLayoutBoxId) Returns the object layout box with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectLayoutBox> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ObjectLayoutBox
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutBox
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutBox
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.static ObjectLayoutBox
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.static List<ObjectLayoutBox>
findAll()
Returns all the object layout boxes.static List<ObjectLayoutBox>
findAll
(int start, int end) Returns a range of all the object layout boxes.static List<ObjectLayoutBox>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes.static List<ObjectLayoutBox>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes.static List<ObjectLayoutBox>
findByObjectLayoutTabId
(long objectLayoutTabId) Returns all the object layout boxes where objectLayoutTabId = ?.static List<ObjectLayoutBox>
findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end) Returns a range of all the object layout boxes where objectLayoutTabId = ?.static List<ObjectLayoutBox>
findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.static List<ObjectLayoutBox>
findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.static ObjectLayoutBox
findByObjectLayoutTabId_First
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.static ObjectLayoutBox
findByObjectLayoutTabId_Last
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.static ObjectLayoutBox[]
findByObjectLayoutTabId_PrevAndNext
(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?.static ObjectLayoutBox
findByPrimaryKey
(long objectLayoutBoxId) Returns the object layout box with the primary key or throws aNoSuchObjectLayoutBoxException
if it could not be found.static List<ObjectLayoutBox>
findByUuid
(String uuid) Returns all the object layout boxes where uuid = ?.static List<ObjectLayoutBox>
findByUuid
(String uuid, int start, int end) Returns a range of all the object layout boxes where uuid = ?.static List<ObjectLayoutBox>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where uuid = ?.static List<ObjectLayoutBox>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where uuid = ?.static List<ObjectLayoutBox>
findByUuid_C
(String uuid, long companyId) Returns all the object layout boxes where uuid = ? and companyId = ?.static List<ObjectLayoutBox>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object layout boxes where uuid = ? and companyId = ?.static List<ObjectLayoutBox>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.static List<ObjectLayoutBox>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.static ObjectLayoutBox
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutBox
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutBox[]
findByUuid_C_PrevAndNext
(long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutBox
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.static ObjectLayoutBox
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.static ObjectLayoutBox[]
findByUuid_PrevAndNext
(long objectLayoutBoxId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ?.static List<ObjectLayoutBox>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectLayoutBox>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectLayoutBox>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) static ObjectLayoutBoxPersistence
static ObjectLayoutBox
remove
(long objectLayoutBoxId) Removes the object layout box with the primary key from the database.static void
Removes all the object layout boxes from the database.static void
removeByObjectLayoutTabId
(long objectLayoutTabId) Removes all the object layout boxes where objectLayoutTabId = ? from the database.static void
removeByUuid
(String uuid) Removes all the object layout boxes where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object layout boxes where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectLayoutBoxPersistence persistence) static ObjectLayoutBox
update
(ObjectLayoutBox objectLayoutBox) static ObjectLayoutBox
update
(ObjectLayoutBox objectLayoutBox, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectLayoutBox
updateImpl
(ObjectLayoutBox objectLayoutBox)
-
Constructor Details
-
ObjectLayoutBoxUtil
public ObjectLayoutBoxUtil()
-
-
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<ObjectLayoutBox> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectLayoutBox> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectLayoutBox> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectLayoutBox update(ObjectLayoutBox objectLayoutBox, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object layout boxes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object layout boxes
-
findByUuid
Returns a range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByUuid
public static List<ObjectLayoutBox> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByUuid
public static List<ObjectLayoutBox> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 layout boxes
-
findByUuid_First
public static ObjectLayoutBox findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByUuid_First
public static ObjectLayoutBox fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box, or
null
if a matching object layout box could not be found
-
findByUuid_Last
public static ObjectLayoutBox findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByUuid_Last
public static ObjectLayoutBox fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box, or
null
if a matching object layout box could not be found
-
findByUuid_PrevAndNext
public static ObjectLayoutBox[] findByUuid_PrevAndNext(long objectLayoutBoxId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundNoSuchObjectLayoutBoxException
-
removeByUuid
Removes all the object layout boxes where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object layout boxes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object layout boxes
-
findByUuid_C
Returns all the object layout boxes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object layout boxes
-
findByUuid_C
Returns a range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByUuid_C
public static List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByUuid_C
public static List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 layout boxes
-
findByUuid_C_First
public static ObjectLayoutBox findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box 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 box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByUuid_C_First
public static ObjectLayoutBox fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box 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 box, or
null
if a matching object layout box could not be found
-
findByUuid_C_Last
public static ObjectLayoutBox findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box 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 box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByUuid_C_Last
public static ObjectLayoutBox fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box 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 box, or
null
if a matching object layout box could not be found
-
findByUuid_C_PrevAndNext
public static ObjectLayoutBox[] findByUuid_C_PrevAndNext(long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundNoSuchObjectLayoutBoxException
-
removeByUuid_C
Removes all the object layout boxes where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object layout boxes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object layout boxes
-
findByObjectLayoutTabId
Returns all the object layout boxes where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab ID- Returns:
- the matching object layout boxes
-
findByObjectLayoutTabId
public static List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end) Returns a range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByObjectLayoutTabId
public static List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByObjectLayoutTabId
public static List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 layout boxes
-
findByObjectLayoutTabId_First
public static ObjectLayoutBox findByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByObjectLayoutTabId_First
public static ObjectLayoutBox fetchByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box, or
null
if a matching object layout box could not be found
-
findByObjectLayoutTabId_Last
public static ObjectLayoutBox findByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundNoSuchObjectLayoutBoxException
-
fetchByObjectLayoutTabId_Last
public static ObjectLayoutBox fetchByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box, or
null
if a matching object layout box could not be found
-
findByObjectLayoutTabId_PrevAndNext
public static ObjectLayoutBox[] findByObjectLayoutTabId_PrevAndNext(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxobjectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundNoSuchObjectLayoutBoxException
-
removeByObjectLayoutTabId
public static void removeByObjectLayoutTabId(long objectLayoutTabId) Removes all the object layout boxes where objectLayoutTabId = ? from the database.- Parameters:
objectLayoutTabId
- the object layout tab ID
-
countByObjectLayoutTabId
public static int countByObjectLayoutTabId(long objectLayoutTabId) Returns the number of object layout boxes where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab ID- Returns:
- the number of matching object layout boxes
-
cacheResult
Caches the object layout box in the entity cache if it is enabled.- Parameters:
objectLayoutBox
- the object layout box
-
cacheResult
Caches the object layout boxes in the entity cache if it is enabled.- Parameters:
objectLayoutBoxes
- the object layout boxes
-
create
Creates a new object layout box with the primary key. Does not add the object layout box to the database.- Parameters:
objectLayoutBoxId
- the primary key for the new object layout box- Returns:
- the new object layout box
-
remove
Removes the object layout box with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box that was removed
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundNoSuchObjectLayoutBoxException
-
updateImpl
-
findByPrimaryKey
public static ObjectLayoutBox findByPrimaryKey(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException Returns the object layout box with the primary key or throws aNoSuchObjectLayoutBoxException
if it could not be found.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundNoSuchObjectLayoutBoxException
-
fetchByPrimaryKey
Returns the object layout box with the primary key or returnsnull
if it could not be found.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box, or
null
if a object layout box with the primary key could not be found
-
findAll
Returns all the object layout boxes.- Returns:
- the object layout boxes
-
findAll
Returns a range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of object layout boxes
-
findAll
public static List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object layout boxes
-
findAll
public static List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object layout boxes
-
removeAll
public static void removeAll()Removes all the object layout boxes from the database. -
countAll
public static int countAll()Returns the number of object layout boxes.- Returns:
- the number of object layout boxes
-
getPersistence
-
setPersistence
-