@ProviderType public interface ObjectLayoutPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayout>
Caching information and settings can be found in portal.properties
ObjectLayoutUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectLayout> objectLayouts)
Caches the object layouts in the entity cache if it is enabled.
|
void |
cacheResult(ObjectLayout objectLayout)
Caches the object layout in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of object layouts.
|
int |
countByObjectDefinitionId(long objectDefinitionId)
Returns the number of object layouts where objectDefinitionId = ?.
|
int |
countByODI_DOL(long objectDefinitionId,
boolean defaultObjectLayout)
Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object layouts where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object layouts where uuid = ?.
|
ObjectLayout |
create(long objectLayoutId)
Creates a new object layout with the primary key.
|
ObjectLayout |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the first object layout in the ordered set where objectDefinitionId = ?.
|
ObjectLayout |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the last object layout in the ordered set where objectDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
ObjectLayout |
fetchByPrimaryKey(long objectLayoutId)
Returns the object layout with the primary key or returns
null if it could not be found. |
ObjectLayout |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectLayout |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectLayout |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the first object layout in the ordered set where uuid = ?.
|
ObjectLayout |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the last object layout in the ordered set where uuid = ?.
|
java.util.List<ObjectLayout> |
findAll()
Returns all the object layouts.
|
java.util.List<ObjectLayout> |
findAll(int start,
int end)
Returns a range of all the object layouts.
|
java.util.List<ObjectLayout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns an ordered range of all the object layouts.
|
java.util.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.
|
ObjectLayout |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the first object layout in the ordered set where objectDefinitionId = ?.
|
ObjectLayout |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the last object layout in the ordered set where objectDefinitionId = ?.
|
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 = ?.
|
java.util.List<ObjectLayout> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object layouts where objectDefinitionId = ?.
|
java.util.List<ObjectLayout> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object layouts where objectDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<ObjectLayout> |
findByODI_DOL(long objectDefinitionId,
boolean defaultObjectLayout)
Returns all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.
|
java.util.List<ObjectLayout> |
findByODI_DOL(long objectDefinitionId,
boolean defaultObjectLayout,
int start,
int end)
Returns a range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectLayout |
findByPrimaryKey(long objectLayoutId)
Returns the object layout with the primary key or throws a
NoSuchObjectLayoutException if it could not be found. |
ObjectLayout |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectLayout |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectLayout[] |
findByUuid_C_PrevAndNext(long objectLayoutId,
java.lang.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 = ?.
|
java.util.List<ObjectLayout> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object layouts where uuid = ? and companyId = ?.
|
java.util.List<ObjectLayout> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object layouts where uuid = ? and companyId = ?.
|
java.util.List<ObjectLayout> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectLayout> |
findByUuid_C(java.lang.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 = ?.
|
ObjectLayout |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the first object layout in the ordered set where uuid = ?.
|
ObjectLayout |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
Returns the last object layout in the ordered set where uuid = ?.
|
ObjectLayout[] |
findByUuid_PrevAndNext(long objectLayoutId,
java.lang.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 = ?.
|
java.util.List<ObjectLayout> |
findByUuid(java.lang.String uuid)
Returns all the object layouts where uuid = ?.
|
java.util.List<ObjectLayout> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object layouts where uuid = ?.
|
java.util.List<ObjectLayout> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectLayout> |
findByUuid(java.lang.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 = ?.
|
ObjectLayout |
remove(long objectLayoutId)
Removes the object layout with the primary key from the database.
|
void |
removeAll()
Removes all the object layouts from the database.
|
void |
removeByObjectDefinitionId(long objectDefinitionId)
Removes all the object layouts where objectDefinitionId = ? from the database.
|
void |
removeByODI_DOL(long objectDefinitionId,
boolean defaultObjectLayout)
Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object layouts where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object layouts where uuid = ? from the database.
|
ObjectLayout |
updateImpl(ObjectLayout objectLayout) |
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<ObjectLayout> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectLayout> 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 ObjectLayoutModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)java.util.List<ObjectLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)java.util.List<ObjectLayout> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayout findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout[] findByUuid_PrevAndNext(long objectLayoutId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a object layout 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<ObjectLayout> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectLayout> 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 ObjectLayoutModelImpl
.
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)java.util.List<ObjectLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)java.util.List<ObjectLayout> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayout findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout[] findByUuid_C_PrevAndNext(long objectLayoutId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a object layout 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<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, 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 ObjectLayoutModelImpl
.
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)java.util.List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)java.util.List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayout findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout[] findByObjectDefinitionId_PrevAndNext(long objectLayoutId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundvoid removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDint countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout)
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutjava.util.List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, 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 ObjectLayoutModelImpl
.
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)java.util.List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)java.util.List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectLayout findByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout findByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a matching object layout could not be foundObjectLayout fetchByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator)
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout could not be foundObjectLayout[] findByODI_DOL_PrevAndNext(long objectLayoutId, long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutException
- if a object layout with the primary key could not be foundvoid removeByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout)
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutint countByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout)
objectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutvoid cacheResult(ObjectLayout objectLayout)
objectLayout
- the object layoutvoid cacheResult(java.util.List<ObjectLayout> objectLayouts)
objectLayouts
- the object layoutsObjectLayout create(long objectLayoutId)
objectLayoutId
- the primary key for the new object layoutObjectLayout remove(long objectLayoutId) throws NoSuchObjectLayoutException
objectLayoutId
- the primary key of the object layoutNoSuchObjectLayoutException
- if a object layout with the primary key could not be foundObjectLayout updateImpl(ObjectLayout objectLayout)
ObjectLayout findByPrimaryKey(long objectLayoutId) throws NoSuchObjectLayoutException
NoSuchObjectLayoutException
if it could not be found.objectLayoutId
- the primary key of the object layoutNoSuchObjectLayoutException
- if a object layout with the primary key could not be foundObjectLayout fetchByPrimaryKey(long objectLayoutId)
null
if it could not be found.objectLayoutId
- the primary key of the object layoutnull
if a object layout with the primary key could not be foundjava.util.List<ObjectLayout> findAll()
java.util.List<ObjectLayout> 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 ObjectLayoutModelImpl
.
start
- the lower bound of the range of object layoutsend
- the upper bound of the range of object layouts (not inclusive)java.util.List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)java.util.List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> 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 ObjectLayoutModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()