@ProviderType public interface ObjectLayoutBoxPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayoutBox>
Caching information and settings can be found in portal.properties
ObjectLayoutBoxUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectLayoutBox> objectLayoutBoxes)
Caches the object layout boxes in the entity cache if it is enabled.
|
void |
cacheResult(ObjectLayoutBox objectLayoutBox)
Caches the object layout box in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object layout boxes.
|
int |
countByObjectLayoutTabId(long objectLayoutTabId)
Returns the number of object layout boxes where objectLayoutTabId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object layout boxes where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object layout boxes where uuid = ?.
|
ObjectLayoutBox |
create(long objectLayoutBoxId)
Creates a new object layout box with the primary key.
|
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 = ?.
|
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 = ?.
|
ObjectLayoutBox |
fetchByPrimaryKey(long objectLayoutBoxId)
Returns the object layout box with the primary key or returns
null if it could not be found. |
ObjectLayoutBox |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectLayoutBox |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectLayoutBox |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Returns the first object layout box in the ordered set where uuid = ?.
|
ObjectLayoutBox |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Returns the last object layout box in the ordered set where uuid = ?.
|
java.util.List<ObjectLayoutBox> |
findAll()
Returns all the object layout boxes.
|
java.util.List<ObjectLayoutBox> |
findAll(int start,
int end)
Returns a range of all the object layout boxes.
|
java.util.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.
|
java.util.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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectLayoutBox> |
findByObjectLayoutTabId(long objectLayoutTabId)
Returns all the object layout boxes where objectLayoutTabId = ?.
|
java.util.List<ObjectLayoutBox> |
findByObjectLayoutTabId(long objectLayoutTabId,
int start,
int end)
Returns a range of all the object layout boxes where objectLayoutTabId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectLayoutBox |
findByPrimaryKey(long objectLayoutBoxId)
Returns the object layout box with the primary key or throws a
NoSuchObjectLayoutBoxException if it could not be found. |
ObjectLayoutBox |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectLayoutBox |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectLayoutBox[] |
findByUuid_C_PrevAndNext(long objectLayoutBoxId,
java.lang.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 = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object layout boxes where uuid = ? and companyId = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object layout boxes where uuid = ? and companyId = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid_C(java.lang.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 = ?.
|
ObjectLayoutBox |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Returns the first object layout box in the ordered set where uuid = ?.
|
ObjectLayoutBox |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Returns the last object layout box in the ordered set where uuid = ?.
|
ObjectLayoutBox[] |
findByUuid_PrevAndNext(long objectLayoutBoxId,
java.lang.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 = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid(java.lang.String uuid)
Returns all the object layout boxes where uuid = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object layout boxes where uuid = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectLayoutBox> |
findByUuid(java.lang.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 = ?.
|
ObjectLayoutBox |
remove(long objectLayoutBoxId)
Removes the object layout box with the primary key from the database.
|
void |
removeAll()
Removes all the object layout boxes from the database.
|
void |
removeByObjectLayoutTabId(long objectLayoutTabId)
Removes all the object layout boxes where objectLayoutTabId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object layout boxes where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object layout boxes where uuid = ? from the database.
|
ObjectLayoutBox |
updateImpl(ObjectLayoutBox objectLayoutBox) |
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, setDataSource, unregisterListener, update, update
java.util.List<ObjectLayoutBox> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectLayoutBox> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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)java.util.List<ObjectLayoutBox> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)java.util.List<ObjectLayoutBox> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayoutBox findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox[] findByUuid_PrevAndNext(long objectLayoutBoxId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectLayoutBox> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectLayoutBox> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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)java.util.List<ObjectLayoutBox> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)java.util.List<ObjectLayoutBox> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayoutBox findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox[] findByUuid_C_PrevAndNext(long objectLayoutBoxId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId)
objectLayoutTabId
- the object layout tab IDjava.util.List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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)java.util.List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)java.util.List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayoutBox findByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox findByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a matching object layout box could not be foundObjectLayoutBox fetchByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout box could not be foundObjectLayoutBox[] findByObjectLayoutTabId_PrevAndNext(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException
objectLayoutBoxId
- the primary key of the current object layout boxobjectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundvoid removeByObjectLayoutTabId(long objectLayoutTabId)
objectLayoutTabId
- the object layout tab IDint countByObjectLayoutTabId(long objectLayoutTabId)
objectLayoutTabId
- the object layout tab IDvoid cacheResult(ObjectLayoutBox objectLayoutBox)
objectLayoutBox
- the object layout boxvoid cacheResult(java.util.List<ObjectLayoutBox> objectLayoutBoxes)
objectLayoutBoxes
- the object layout boxesObjectLayoutBox create(long objectLayoutBoxId)
objectLayoutBoxId
- the primary key for the new object layout boxObjectLayoutBox remove(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException
objectLayoutBoxId
- the primary key of the object layout boxNoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundObjectLayoutBox updateImpl(ObjectLayoutBox objectLayoutBox)
ObjectLayoutBox findByPrimaryKey(long objectLayoutBoxId) throws NoSuchObjectLayoutBoxException
NoSuchObjectLayoutBoxException
if it could not be found.objectLayoutBoxId
- the primary key of the object layout boxNoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be foundObjectLayoutBox fetchByPrimaryKey(long objectLayoutBoxId)
null
if it could not be found.objectLayoutBoxId
- the primary key of the object layout boxnull
if a object layout box with the primary key could not be foundjava.util.List<ObjectLayoutBox> findAll()
java.util.List<ObjectLayoutBox> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)java.util.List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)java.util.List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectLayoutBoxModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()