public class ObjectLayoutColumnUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectLayoutColumnPersistenceImpl
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
ObjectLayoutColumnPersistence
Constructor and Description |
---|
ObjectLayoutColumnUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectLayoutColumn> objectLayoutColumns)
Caches the object layout columns in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectLayoutColumn objectLayoutColumn)
Caches the object layout column in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectLayoutColumn objectLayoutColumn) |
static int |
countAll()
Returns the number of object layout columns.
|
static int |
countByObjectFieldId(long objectFieldId)
Returns the number of object layout columns where objectFieldId = ?.
|
static int |
countByObjectLayoutRowId(long objectLayoutRowId)
Returns the number of object layout columns where objectLayoutRowId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object layout columns where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object layout columns where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectLayoutColumn |
create(long objectLayoutColumnId)
Creates a new object layout column with the primary key.
|
static ObjectLayoutColumn |
fetchByObjectFieldId_First(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where objectFieldId = ?.
|
static ObjectLayoutColumn |
fetchByObjectFieldId_Last(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where objectFieldId = ?.
|
static ObjectLayoutColumn |
fetchByObjectLayoutRowId_First(long objectLayoutRowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where objectLayoutRowId = ?.
|
static ObjectLayoutColumn |
fetchByObjectLayoutRowId_Last(long objectLayoutRowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where objectLayoutRowId = ?.
|
static ObjectLayoutColumn |
fetchByPrimaryKey(long objectLayoutColumnId)
Returns the object layout column with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectLayoutColumn> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectLayoutColumn |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutColumn |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutColumn |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where uuid = ?.
|
static ObjectLayoutColumn |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findAll()
Returns all the object layout columns.
|
static java.util.List<ObjectLayoutColumn> |
findAll(int start,
int end)
Returns a range of all the object layout columns.
|
static java.util.List<ObjectLayoutColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns an ordered range of all the object layout columns.
|
static java.util.List<ObjectLayoutColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout columns.
|
static ObjectLayoutColumn |
findByObjectFieldId_First(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where objectFieldId = ?.
|
static ObjectLayoutColumn |
findByObjectFieldId_Last(long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where objectFieldId = ?.
|
static ObjectLayoutColumn[] |
findByObjectFieldId_PrevAndNext(long objectLayoutColumnId,
long objectFieldId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the object layout columns before and after the current object layout column in the ordered set where objectFieldId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectFieldId(long objectFieldId)
Returns all the object layout columns where objectFieldId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectFieldId(long objectFieldId,
int start,
int end)
Returns a range of all the object layout columns where objectFieldId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectFieldId(long objectFieldId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns an ordered range of all the object layout columns where objectFieldId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectFieldId(long objectFieldId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout columns where objectFieldId = ?.
|
static ObjectLayoutColumn |
findByObjectLayoutRowId_First(long objectLayoutRowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where objectLayoutRowId = ?.
|
static ObjectLayoutColumn |
findByObjectLayoutRowId_Last(long objectLayoutRowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where objectLayoutRowId = ?.
|
static ObjectLayoutColumn[] |
findByObjectLayoutRowId_PrevAndNext(long objectLayoutColumnId,
long objectLayoutRowId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the object layout columns before and after the current object layout column in the ordered set where objectLayoutRowId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectLayoutRowId(long objectLayoutRowId)
Returns all the object layout columns where objectLayoutRowId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectLayoutRowId(long objectLayoutRowId,
int start,
int end)
Returns a range of all the object layout columns where objectLayoutRowId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectLayoutRowId(long objectLayoutRowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByObjectLayoutRowId(long objectLayoutRowId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.
|
static ObjectLayoutColumn |
findByPrimaryKey(long objectLayoutColumnId)
Returns the object layout column with the primary key or throws a
NoSuchObjectLayoutColumnException if it could not be found. |
static ObjectLayoutColumn |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutColumn |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectLayoutColumn[] |
findByUuid_C_PrevAndNext(long objectLayoutColumnId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object layout columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object layout columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.
|
static ObjectLayoutColumn |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the first object layout column in the ordered set where uuid = ?.
|
static ObjectLayoutColumn |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the last object layout column in the ordered set where uuid = ?.
|
static ObjectLayoutColumn[] |
findByUuid_PrevAndNext(long objectLayoutColumnId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid(java.lang.String uuid)
Returns all the object layout columns where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object layout columns where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
Returns an ordered range of all the object layout columns where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object layout columns where uuid = ?.
|
static java.util.List<ObjectLayoutColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectLayoutColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectLayoutColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) |
static ObjectLayoutColumnPersistence |
getPersistence() |
static ObjectLayoutColumn |
remove(long objectLayoutColumnId)
Removes the object layout column with the primary key from the database.
|
static void |
removeAll()
Removes all the object layout columns from the database.
|
static void |
removeByObjectFieldId(long objectFieldId)
Removes all the object layout columns where objectFieldId = ? from the database.
|
static void |
removeByObjectLayoutRowId(long objectLayoutRowId)
Removes all the object layout columns where objectLayoutRowId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object layout columns where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object layout columns where uuid = ? from the database.
|
static ObjectLayoutColumn |
update(ObjectLayoutColumn objectLayoutColumn) |
static ObjectLayoutColumn |
update(ObjectLayoutColumn objectLayoutColumn,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectLayoutColumn |
updateImpl(ObjectLayoutColumn objectLayoutColumn) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectLayoutColumn objectLayoutColumn)
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,ObjectLayoutColumn> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectLayoutColumn update(ObjectLayoutColumn objectLayoutColumn)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectLayoutColumn update(ObjectLayoutColumn objectLayoutColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectLayoutColumn> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)public static java.util.List<ObjectLayoutColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutColumn findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn[] findByUuid_PrevAndNext(long objectLayoutColumnId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutColumnId
- the primary key of the current object layout columnuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a object layout column 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<ObjectLayoutColumn> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)public static java.util.List<ObjectLayoutColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutColumn findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn[] findByUuid_C_PrevAndNext(long objectLayoutColumnId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutColumnId
- the primary key of the current object layout columnuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a object layout column 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<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDpublic static java.util.List<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId, 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 ObjectLayoutColumnModelImpl
.
objectFieldId
- the object field IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)public static java.util.List<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
objectFieldId
- the object field IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
objectFieldId
- the object field IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutColumn findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
objectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn[] findByObjectFieldId_PrevAndNext(long objectLayoutColumnId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutColumnId
- the primary key of the current object layout columnobjectFieldId
- the object field IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a object layout column with the primary key could not be foundpublic static void removeByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDpublic static int countByObjectFieldId(long objectFieldId)
objectFieldId
- the object field IDpublic static java.util.List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId)
objectLayoutRowId
- the object layout row IDpublic static java.util.List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, 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 ObjectLayoutColumnModelImpl
.
objectLayoutRowId
- the object layout row IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)public static java.util.List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
objectLayoutRowId
- the object layout row IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
objectLayoutRowId
- the object layout row IDstart
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectLayoutColumn findByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutRowId
- the object layout row IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
objectLayoutRowId
- the object layout row IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn findByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutRowId
- the object layout row IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a matching object layout column could not be foundpublic static ObjectLayoutColumn fetchByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator)
objectLayoutRowId
- the object layout row IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object layout column could not be foundpublic static ObjectLayoutColumn[] findByObjectLayoutRowId_PrevAndNext(long objectLayoutColumnId, long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException
objectLayoutColumnId
- the primary key of the current object layout columnobjectLayoutRowId
- the object layout row IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectLayoutColumnException
- if a object layout column with the primary key could not be foundpublic static void removeByObjectLayoutRowId(long objectLayoutRowId)
objectLayoutRowId
- the object layout row IDpublic static int countByObjectLayoutRowId(long objectLayoutRowId)
objectLayoutRowId
- the object layout row IDpublic static void cacheResult(ObjectLayoutColumn objectLayoutColumn)
objectLayoutColumn
- the object layout columnpublic static void cacheResult(java.util.List<ObjectLayoutColumn> objectLayoutColumns)
objectLayoutColumns
- the object layout columnspublic static ObjectLayoutColumn create(long objectLayoutColumnId)
objectLayoutColumnId
- the primary key for the new object layout columnpublic static ObjectLayoutColumn remove(long objectLayoutColumnId) throws NoSuchObjectLayoutColumnException
objectLayoutColumnId
- the primary key of the object layout columnNoSuchObjectLayoutColumnException
- if a object layout column with the primary key could not be foundpublic static ObjectLayoutColumn updateImpl(ObjectLayoutColumn objectLayoutColumn)
public static ObjectLayoutColumn findByPrimaryKey(long objectLayoutColumnId) throws NoSuchObjectLayoutColumnException
NoSuchObjectLayoutColumnException
if it could not be found.objectLayoutColumnId
- the primary key of the object layout columnNoSuchObjectLayoutColumnException
- if a object layout column with the primary key could not be foundpublic static ObjectLayoutColumn fetchByPrimaryKey(long objectLayoutColumnId)
null
if it could not be found.objectLayoutColumnId
- the primary key of the object layout columnnull
if a object layout column with the primary key could not be foundpublic static java.util.List<ObjectLayoutColumn> findAll()
public static java.util.List<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
start
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)public static java.util.List<ObjectLayoutColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
start
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectLayoutColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> 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 ObjectLayoutColumnModelImpl
.
start
- the lower bound of the range of object layout columnsend
- the upper bound of the range of object layout columns (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 ObjectLayoutColumnPersistence getPersistence()