public class ObjectLayoutTabUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectLayoutTabPersistenceImpl
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
ObjectLayoutTabPersistence
Constructor and Description |
---|
ObjectLayoutTabUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectLayoutTab> objectLayoutTabs)
Caches the object layout tabs in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectLayoutTab objectLayoutTab)
Caches the object layout tab in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectLayoutTab objectLayoutTab) |
static int |
countAll()
Returns the number of object layout tabs.
|
static int |
countByObjectLayoutId(long objectLayoutId)
Returns the number of object layout tabs where objectLayoutId = ?.
|
static int |
countByObjectRelationshipId(long objectRelationshipId)
Returns the number of object layout tabs where objectRelationshipId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object layout tabs where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object layout tabs where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectLayoutTab |
create(long objectLayoutTabId)
Creates a new object layout tab with the primary key.
|
static ObjectLayoutTab |
fetchByObjectLayoutId_First(long objectLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where objectLayoutId = ?.
|
static ObjectLayoutTab |
fetchByObjectLayoutId_Last(long objectLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where objectLayoutId = ?.
|
static ObjectLayoutTab |
fetchByObjectRelationshipId_First(long objectRelationshipId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where objectRelationshipId = ?.
|
static ObjectLayoutTab |
fetchByObjectRelationshipId_Last(long objectRelationshipId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where objectRelationshipId = ?.
|
static ObjectLayoutTab |
fetchByPrimaryKey(long objectLayoutTabId)
Returns the object layout tab with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectLayoutTab> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectLayoutTab |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutTab |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutTab |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where uuid = ?.
|
static ObjectLayoutTab |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findAll()
Returns all the object layout tabs.
|
static java.util.List<ObjectLayoutTab> |
findAll(int start,
int end)
Returns a range of all the object layout tabs.
|
static java.util.List<ObjectLayoutTab> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns an ordered range of all the object layout tabs.
|
static java.util.List<ObjectLayoutTab> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout tabs.
|
static ObjectLayoutTab |
findByObjectLayoutId_First(long objectLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where objectLayoutId = ?.
|
static ObjectLayoutTab |
findByObjectLayoutId_Last(long objectLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where objectLayoutId = ?.
|
static ObjectLayoutTab[] |
findByObjectLayoutId_PrevAndNext(long objectLayoutTabId,
long objectLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the object layout tabs before and after the current object layout tab in the ordered set where objectLayoutId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectLayoutId(long objectLayoutId)
Returns all the object layout tabs where objectLayoutId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectLayoutId(long objectLayoutId,
int start,
int end)
Returns a range of all the object layout tabs where objectLayoutId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectLayoutId(long objectLayoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns an ordered range of all the object layout tabs where objectLayoutId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectLayoutId(long objectLayoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout tabs where objectLayoutId = ?.
|
static ObjectLayoutTab |
findByObjectRelationshipId_First(long objectRelationshipId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where objectRelationshipId = ?.
|
static ObjectLayoutTab |
findByObjectRelationshipId_Last(long objectRelationshipId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where objectRelationshipId = ?.
|
static ObjectLayoutTab[] |
findByObjectRelationshipId_PrevAndNext(long objectLayoutTabId,
long objectRelationshipId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the object layout tabs before and after the current object layout tab in the ordered set where objectRelationshipId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectRelationshipId(long objectRelationshipId)
Returns all the object layout tabs where objectRelationshipId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectRelationshipId(long objectRelationshipId,
int start,
int end)
Returns a range of all the object layout tabs where objectRelationshipId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectRelationshipId(long objectRelationshipId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns an ordered range of all the object layout tabs where objectRelationshipId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByObjectRelationshipId(long objectRelationshipId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout tabs where objectRelationshipId = ?.
|
static ObjectLayoutTab |
findByPrimaryKey(long objectLayoutTabId)
Returns the object layout tab with the primary key or throws a
NoSuchObjectLayoutTabException if it could not be found. |
static ObjectLayoutTab |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutTab |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutTab[] |
findByUuid_C_PrevAndNext(long objectLayoutTabId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the object layout tabs before and after the current object layout tab in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object layout tabs where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object layout tabs where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns an ordered range of all the object layout tabs where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout tabs where uuid = ? and companyId = ?.
|
static ObjectLayoutTab |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the first object layout tab in the ordered set where uuid = ?.
|
static ObjectLayoutTab |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the last object layout tab in the ordered set where uuid = ?.
|
static ObjectLayoutTab[] |
findByUuid_PrevAndNext(long objectLayoutTabId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns the object layout tabs before and after the current object layout tab in the ordered set where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid(java.lang.String uuid)
Returns all the object layout tabs where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object layout tabs where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
Returns an ordered range of all the object layout tabs where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout tabs where uuid = ?.
|
static java.util.List<ObjectLayoutTab> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectLayoutTab> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectLayoutTab> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) |
static ObjectLayoutTabPersistence |
getPersistence() |
static ObjectLayoutTab |
remove(long objectLayoutTabId)
Removes the object layout tab with the primary key from the database.
|
static void |
removeAll()
Removes all the object layout tabs from the database.
|
static void |
removeByObjectLayoutId(long objectLayoutId)
Removes all the object layout tabs where objectLayoutId = ? from the database.
|
static void |
removeByObjectRelationshipId(long objectRelationshipId)
Removes all the object layout tabs where objectRelationshipId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object layout tabs where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object layout tabs where uuid = ? from the database.
|
static ObjectLayoutTab |
update(ObjectLayoutTab objectLayoutTab) |
static ObjectLayoutTab |
update(ObjectLayoutTab objectLayoutTab,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectLayoutTab |
updateImpl(ObjectLayoutTab objectLayoutTab) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectLayoutTab objectLayoutTab)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ObjectLayoutTab> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectLayoutTab> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectLayoutTab> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectLayoutTab> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectLayoutTab update(ObjectLayoutTab objectLayoutTab)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectLayoutTab update(ObjectLayoutTab objectLayoutTab, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectLayoutTab> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)public static java.util.List<ObjectLayoutTab> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutTab> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutTab findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab[] findByUuid_PrevAndNext(long objectLayoutTabId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutTabId
- the primary key of the current object layout tabuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectLayoutTab> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)public static java.util.List<ObjectLayoutTab> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutTab> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutTab findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab[] findByUuid_C_PrevAndNext(long objectLayoutTabId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutTabId
- the primary key of the current object layout tabuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectLayoutTab> findByObjectLayoutId(long objectLayoutId)
objectLayoutId
- the object layout IDpublic static java.util.List<ObjectLayoutTab> findByObjectLayoutId(long objectLayoutId, 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 ObjectLayoutTabModelImpl
.
objectLayoutId
- the object layout IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)public static java.util.List<ObjectLayoutTab> findByObjectLayoutId(long objectLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
objectLayoutId
- the object layout IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutTab> findByObjectLayoutId(long objectLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
objectLayoutId
- the object layout IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutTab findByObjectLayoutId_First(long objectLayoutId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutId
- the object layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByObjectLayoutId_First(long objectLayoutId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
objectLayoutId
- the object layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab findByObjectLayoutId_Last(long objectLayoutId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutId
- the object layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByObjectLayoutId_Last(long objectLayoutId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
objectLayoutId
- the object layout IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab[] findByObjectLayoutId_PrevAndNext(long objectLayoutTabId, long objectLayoutId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutTabId
- the primary key of the current object layout tabobjectLayoutId
- the object layout IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static void removeByObjectLayoutId(long objectLayoutId)
objectLayoutId
- the object layout IDpublic static int countByObjectLayoutId(long objectLayoutId)
objectLayoutId
- the object layout IDpublic static java.util.List<ObjectLayoutTab> findByObjectRelationshipId(long objectRelationshipId)
objectRelationshipId
- the object relationship IDpublic static java.util.List<ObjectLayoutTab> findByObjectRelationshipId(long objectRelationshipId, 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 ObjectLayoutTabModelImpl
.
objectRelationshipId
- the object relationship IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)public static java.util.List<ObjectLayoutTab> findByObjectRelationshipId(long objectRelationshipId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
objectRelationshipId
- the object relationship IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutTab> findByObjectRelationshipId(long objectRelationshipId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
objectRelationshipId
- the object relationship IDstart
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutTab findByObjectRelationshipId_First(long objectRelationshipId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectRelationshipId
- the object relationship IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByObjectRelationshipId_First(long objectRelationshipId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
objectRelationshipId
- the object relationship IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab findByObjectRelationshipId_Last(long objectRelationshipId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectRelationshipId
- the object relationship IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a matching object layout tab could not be foundpublic static ObjectLayoutTab fetchByObjectRelationshipId_Last(long objectRelationshipId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator)
objectRelationshipId
- the object relationship IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout tab could not be foundpublic static ObjectLayoutTab[] findByObjectRelationshipId_PrevAndNext(long objectLayoutTabId, long objectRelationshipId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> orderByComparator) throws NoSuchObjectLayoutTabException
objectLayoutTabId
- the primary key of the current object layout tabobjectRelationshipId
- the object relationship IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static void removeByObjectRelationshipId(long objectRelationshipId)
objectRelationshipId
- the object relationship IDpublic static int countByObjectRelationshipId(long objectRelationshipId)
objectRelationshipId
- the object relationship IDpublic static void cacheResult(ObjectLayoutTab objectLayoutTab)
objectLayoutTab
- the object layout tabpublic static void cacheResult(java.util.List<ObjectLayoutTab> objectLayoutTabs)
objectLayoutTabs
- the object layout tabspublic static ObjectLayoutTab create(long objectLayoutTabId)
objectLayoutTabId
- the primary key for the new object layout tabpublic static ObjectLayoutTab remove(long objectLayoutTabId) throws NoSuchObjectLayoutTabException
objectLayoutTabId
- the primary key of the object layout tabNoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static ObjectLayoutTab updateImpl(ObjectLayoutTab objectLayoutTab)
public static ObjectLayoutTab findByPrimaryKey(long objectLayoutTabId) throws NoSuchObjectLayoutTabException
NoSuchObjectLayoutTabException
if it could not be found.objectLayoutTabId
- the primary key of the object layout tabNoSuchObjectLayoutTabException
- if a object layout tab with the primary key could not be foundpublic static ObjectLayoutTab fetchByPrimaryKey(long objectLayoutTabId)
null
if it could not be found.objectLayoutTabId
- the primary key of the object layout tabnull
if a object layout tab with the primary key could not be foundpublic static java.util.List<ObjectLayoutTab> findAll()
public static java.util.List<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
start
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)public static java.util.List<ObjectLayoutTab> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
start
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutTab> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutTab> 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 ObjectLayoutTabModelImpl
.
start
- the lower bound of the range of object layout tabsend
- the upper bound of the range of object layout tabs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ObjectLayoutTabPersistence getPersistence()