public class ObjectDefinitionUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectDefinitionPersistenceImpl
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
ObjectDefinitionPersistence
Constructor and Description |
---|
ObjectDefinitionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectDefinition> objectDefinitions)
Caches the object definitions in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectDefinition objectDefinition)
Caches the object definition in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectDefinition objectDefinition) |
static int |
countAll()
Returns the number of object definitions.
|
static int |
countByC_A_S_S(long companyId,
boolean active,
boolean system,
int status)
Returns the number of object definitions where companyId = ? and active = ? and system = ? and status = ?.
|
static int |
countByC_A_S(long companyId,
boolean active,
int status)
Returns the number of object definitions where companyId = ? and active = ? and status = ?.
|
static int |
countByC_C(long companyId,
java.lang.String className)
Returns the number of object definitions where companyId = ? and className = ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of object definitions where companyId = ? and name = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of object definitions where companyId = ?.
|
static int |
countByS_S(boolean system,
int status)
Returns the number of object definitions where system = ? and status = ?.
|
static int |
countBySystem(boolean system)
Returns the number of object definitions where system = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object definitions where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object definitions where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectDefinition |
create(long objectDefinitionId)
Creates a new object definition with the primary key.
|
static ObjectDefinition |
fetchByC_A_S_First(long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition |
fetchByC_A_S_Last(long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition |
fetchByC_A_S_S_First(long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.
|
static ObjectDefinition |
fetchByC_A_S_S_Last(long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.
|
static ObjectDefinition |
fetchByC_C(long companyId,
java.lang.String className)
Returns the object definition where companyId = ? and className = ? or returns
null if it could not be found. |
static ObjectDefinition |
fetchByC_C(long companyId,
java.lang.String className,
boolean useFinderCache)
Returns the object definition where companyId = ? and className = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectDefinition |
fetchByC_N(long companyId,
java.lang.String name)
Returns the object definition where companyId = ? and name = ? or returns
null if it could not be found. |
static ObjectDefinition |
fetchByC_N(long companyId,
java.lang.String name,
boolean useFinderCache)
Returns the object definition where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectDefinition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ?.
|
static ObjectDefinition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ?.
|
static ObjectDefinition |
fetchByPrimaryKey(long objectDefinitionId)
Returns the object definition with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectDefinition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectDefinition |
fetchByS_S_First(boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where system = ? and status = ?.
|
static ObjectDefinition |
fetchByS_S_Last(boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where system = ? and status = ?.
|
static ObjectDefinition |
fetchBySystem_First(boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where system = ?.
|
static ObjectDefinition |
fetchBySystem_Last(boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where system = ?.
|
static ObjectDefinition |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where uuid = ? and companyId = ?.
|
static ObjectDefinition |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where uuid = ? and companyId = ?.
|
static ObjectDefinition |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where uuid = ?.
|
static ObjectDefinition |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where uuid = ?.
|
static int |
filterCountByC_A_S_S(long companyId,
boolean active,
boolean system,
int status)
Returns the number of object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?.
|
static int |
filterCountByC_A_S(long companyId,
boolean active,
int status)
Returns the number of object definitions that the user has permission to view where companyId = ? and active = ? and status = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of object definitions that the user has permission to view where companyId = ?.
|
static int |
filterCountByS_S(boolean system,
int status)
Returns the number of object definitions that the user has permission to view where system = ? and status = ?.
|
static int |
filterCountBySystem(boolean system)
Returns the number of object definitions that the user has permission to view where system = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of object definitions that the user has permission to view where uuid = ?.
|
static ObjectDefinition[] |
filterFindByC_A_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition[] |
filterFindByC_A_S_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S_S(long companyId,
boolean active,
boolean system,
int status)
Returns all the object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S_S(long companyId,
boolean active,
boolean system,
int status,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S_S(long companyId,
boolean active,
boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S(long companyId,
boolean active,
int status)
Returns all the object definitions that the user has permission to view where companyId = ? and active = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S(long companyId,
boolean active,
int status,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and active = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_A_S(long companyId,
boolean active,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition[] |
filterFindByCompanyId_PrevAndNext(long objectDefinitionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByCompanyId(long companyId)
Returns all the object definitions that the user has permission to view where companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ?.
|
static ObjectDefinition[] |
filterFindByS_S_PrevAndNext(long objectDefinitionId,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByS_S(boolean system,
int status)
Returns all the object definitions that the user has permission to view where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByS_S(boolean system,
int status,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByS_S(boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where system = ? and status = ?.
|
static ObjectDefinition[] |
filterFindBySystem_PrevAndNext(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindBySystem(boolean system)
Returns all the object definitions that the user has permission to view where system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindBySystem(boolean system,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where system = ?.
|
static ObjectDefinition[] |
filterFindByUuid_C_PrevAndNext(long objectDefinitionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where uuid = ? and companyId = ?.
|
static ObjectDefinition[] |
filterFindByUuid_PrevAndNext(long objectDefinitionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid(java.lang.String uuid)
Returns all the object definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where uuid = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions that the user has permissions to view where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findAll()
Returns all the object definitions.
|
static java.util.List<ObjectDefinition> |
findAll(int start,
int end)
Returns a range of all the object definitions.
|
static java.util.List<ObjectDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions.
|
static java.util.List<ObjectDefinition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions.
|
static ObjectDefinition |
findByC_A_S_First(long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition |
findByC_A_S_Last(long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition[] |
findByC_A_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean active,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition |
findByC_A_S_S_First(long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.
|
static ObjectDefinition |
findByC_A_S_S_Last(long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.
|
static ObjectDefinition[] |
findByC_A_S_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean active,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S_S(long companyId,
boolean active,
boolean system,
int status)
Returns all the object definitions where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S_S(long companyId,
boolean active,
boolean system,
int status,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S_S(long companyId,
boolean active,
boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S_S(long companyId,
boolean active,
boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where companyId = ? and active = ? and system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S(long companyId,
boolean active,
int status)
Returns all the object definitions where companyId = ? and active = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S(long companyId,
boolean active,
int status,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and active = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S(long companyId,
boolean active,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ? and active = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_A_S(long companyId,
boolean active,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where companyId = ? and active = ? and status = ?.
|
static ObjectDefinition |
findByC_C(long companyId,
java.lang.String className)
Returns the object definition where companyId = ? and className = ? or throws a
NoSuchObjectDefinitionException if it could not be found. |
static ObjectDefinition |
findByC_N(long companyId,
java.lang.String name)
Returns the object definition where companyId = ? and name = ? or throws a
NoSuchObjectDefinitionException if it could not be found. |
static ObjectDefinition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ?.
|
static ObjectDefinition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ?.
|
static ObjectDefinition[] |
findByCompanyId_PrevAndNext(long objectDefinitionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByCompanyId(long companyId)
Returns all the object definitions where companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the object definitions where companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where companyId = ?.
|
static ObjectDefinition |
findByPrimaryKey(long objectDefinitionId)
Returns the object definition with the primary key or throws a
NoSuchObjectDefinitionException if it could not be found. |
static ObjectDefinition |
findByS_S_First(boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where system = ? and status = ?.
|
static ObjectDefinition |
findByS_S_Last(boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where system = ? and status = ?.
|
static ObjectDefinition[] |
findByS_S_PrevAndNext(long objectDefinitionId,
boolean system,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByS_S(boolean system,
int status)
Returns all the object definitions where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByS_S(boolean system,
int status,
int start,
int end)
Returns a range of all the object definitions where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByS_S(boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where system = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByS_S(boolean system,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where system = ? and status = ?.
|
static ObjectDefinition |
findBySystem_First(boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where system = ?.
|
static ObjectDefinition |
findBySystem_Last(boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where system = ?.
|
static ObjectDefinition[] |
findBySystem_PrevAndNext(long objectDefinitionId,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where system = ?.
|
static java.util.List<ObjectDefinition> |
findBySystem(boolean system)
Returns all the object definitions where system = ?.
|
static java.util.List<ObjectDefinition> |
findBySystem(boolean system,
int start,
int end)
Returns a range of all the object definitions where system = ?.
|
static java.util.List<ObjectDefinition> |
findBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where system = ?.
|
static java.util.List<ObjectDefinition> |
findBySystem(boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where system = ?.
|
static ObjectDefinition |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where uuid = ? and companyId = ?.
|
static ObjectDefinition |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where uuid = ? and companyId = ?.
|
static ObjectDefinition[] |
findByUuid_C_PrevAndNext(long objectDefinitionId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object definitions where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object definitions where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where uuid = ? and companyId = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where uuid = ? and companyId = ?.
|
static ObjectDefinition |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where uuid = ?.
|
static ObjectDefinition |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where uuid = ?.
|
static ObjectDefinition[] |
findByUuid_PrevAndNext(long objectDefinitionId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid(java.lang.String uuid)
Returns all the object definitions where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object definitions where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where uuid = ?.
|
static java.util.List<ObjectDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectDefinition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) |
static ObjectDefinitionPersistence |
getPersistence() |
static ObjectDefinition |
remove(long objectDefinitionId)
Removes the object definition with the primary key from the database.
|
static void |
removeAll()
Removes all the object definitions from the database.
|
static void |
removeByC_A_S_S(long companyId,
boolean active,
boolean system,
int status)
Removes all the object definitions where companyId = ? and active = ? and system = ? and status = ? from the database.
|
static void |
removeByC_A_S(long companyId,
boolean active,
int status)
Removes all the object definitions where companyId = ? and active = ? and status = ? from the database.
|
static ObjectDefinition |
removeByC_C(long companyId,
java.lang.String className)
Removes the object definition where companyId = ? and className = ? from the database.
|
static ObjectDefinition |
removeByC_N(long companyId,
java.lang.String name)
Removes the object definition where companyId = ? and name = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the object definitions where companyId = ? from the database.
|
static void |
removeByS_S(boolean system,
int status)
Removes all the object definitions where system = ? and status = ? from the database.
|
static void |
removeBySystem(boolean system)
Removes all the object definitions where system = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object definitions where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object definitions where uuid = ? from the database.
|
static ObjectDefinition |
update(ObjectDefinition objectDefinition) |
static ObjectDefinition |
update(ObjectDefinition objectDefinition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectDefinition |
updateImpl(ObjectDefinition objectDefinition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectDefinition objectDefinition)
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,ObjectDefinition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectDefinition update(ObjectDefinition objectDefinition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectDefinition update(ObjectDefinition objectDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectDefinition> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByUuid_PrevAndNext(long objectDefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectDefinition> filterFindByUuid(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 ObjectDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByUuid_PrevAndNext(long objectDefinitionId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition 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 int filterCountByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectDefinition> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByUuid_C_PrevAndNext(long objectDefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectDefinition> filterFindByUuid_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 ObjectDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByUuid_C_PrevAndNext(long objectDefinitionId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition 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 int filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectDefinition> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ObjectDefinition> findByCompanyId(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 ObjectDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByCompanyId_PrevAndNext(long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ObjectDefinition> filterFindByCompanyId(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 ObjectDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByCompanyId_PrevAndNext(long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<ObjectDefinition> findBySystem(boolean system)
system
- the systempublic static java.util.List<ObjectDefinition> findBySystem(boolean system, 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 ObjectDefinitionModelImpl
.
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findBySystem(boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findBySystem(boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findBySystem_First(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
system
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchBySystem_First(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
system
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
system
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
system
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findBySystem_PrevAndNext(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindBySystem(boolean system)
system
- the systempublic static java.util.List<ObjectDefinition> filterFindBySystem(boolean system, 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 ObjectDefinitionModelImpl
.
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindBySystem(boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindBySystem_PrevAndNext(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeBySystem(boolean system)
system
- the systempublic static int countBySystem(boolean system)
system
- the systempublic static int filterCountBySystem(boolean system)
system
- the systempublic static ObjectDefinition findByC_C(long companyId, java.lang.String className) throws NoSuchObjectDefinitionException
NoSuchObjectDefinitionException
if it could not be found.companyId
- the company IDclassName
- the class nameNoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_C(long companyId, java.lang.String className)
null
if it could not be found. Uses the finder cache.companyId
- the company IDclassName
- the class namenull
if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_C(long companyId, java.lang.String className, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDclassName
- the class nameuseFinderCache
- whether to use the finder cachenull
if a matching object definition could not be foundpublic static ObjectDefinition removeByC_C(long companyId, java.lang.String className) throws NoSuchObjectDefinitionException
companyId
- the company IDclassName
- the class nameNoSuchObjectDefinitionException
public static int countByC_C(long companyId, java.lang.String className)
companyId
- the company IDclassName
- the class namepublic static ObjectDefinition findByC_N(long companyId, java.lang.String name) throws NoSuchObjectDefinitionException
NoSuchObjectDefinitionException
if it could not be found.companyId
- the company IDname
- the nameNoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_N(long companyId, java.lang.String name)
null
if it could not be found. Uses the finder cache.companyId
- the company IDname
- the namenull
if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_N(long companyId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching object definition could not be foundpublic static ObjectDefinition removeByC_N(long companyId, java.lang.String name) throws NoSuchObjectDefinitionException
companyId
- the company IDname
- the nameNoSuchObjectDefinitionException
public static int countByC_N(long companyId, java.lang.String name)
companyId
- the company IDname
- the namepublic static java.util.List<ObjectDefinition> findByS_S(boolean system, int status)
system
- the systemstatus
- the statuspublic static java.util.List<ObjectDefinition> findByS_S(boolean system, int status, 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 ObjectDefinitionModelImpl
.
system
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByS_S(boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByS_S(boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByS_S_First(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByS_S_First(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByS_S_Last(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByS_S_Last(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByS_S_PrevAndNext(long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByS_S(boolean system, int status)
system
- the systemstatus
- the statuspublic static java.util.List<ObjectDefinition> filterFindByS_S(boolean system, int status, 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 ObjectDefinitionModelImpl
.
system
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByS_S(boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
system
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByS_S_PrevAndNext(long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeByS_S(boolean system, int status)
system
- the systemstatus
- the statuspublic static int countByS_S(boolean system, int status)
system
- the systemstatus
- the statuspublic static int filterCountByS_S(boolean system, int status)
system
- the systemstatus
- the statuspublic static java.util.List<ObjectDefinition> findByC_A_S(long companyId, boolean active, int status)
companyId
- the company IDactive
- the activestatus
- the statuspublic static java.util.List<ObjectDefinition> findByC_A_S(long companyId, boolean active, int status, 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activestatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByC_A_S(long companyId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activestatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByC_A_S(long companyId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activestatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByC_A_S_First(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_A_S_First(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_A_S_Last(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_A_S_Last(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_A_S_PrevAndNext(long objectDefinitionId, long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByC_A_S(long companyId, boolean active, int status)
companyId
- the company IDactive
- the activestatus
- the statuspublic static java.util.List<ObjectDefinition> filterFindByC_A_S(long companyId, boolean active, int status, 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activestatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByC_A_S(long companyId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activestatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByC_A_S_PrevAndNext(long objectDefinitionId, long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeByC_A_S(long companyId, boolean active, int status)
companyId
- the company IDactive
- the activestatus
- the statuspublic static int countByC_A_S(long companyId, boolean active, int status)
companyId
- the company IDactive
- the activestatus
- the statuspublic static int filterCountByC_A_S(long companyId, boolean active, int status)
companyId
- the company IDactive
- the activestatus
- the statuspublic static java.util.List<ObjectDefinition> findByC_A_S_S(long companyId, boolean active, boolean system, int status)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statuspublic static java.util.List<ObjectDefinition> findByC_A_S_S(long companyId, boolean active, boolean system, int status, 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findByC_A_S_S(long companyId, boolean active, boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findByC_A_S_S(long companyId, boolean active, boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectDefinition findByC_A_S_S_First(long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_A_S_S_First(long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_A_S_S_Last(long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_A_S_S_Last(long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_A_S_S_PrevAndNext(long objectDefinitionId, long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> filterFindByC_A_S_S(long companyId, boolean active, boolean system, int status)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statuspublic static java.util.List<ObjectDefinition> filterFindByC_A_S_S(long companyId, boolean active, boolean system, int status, 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> filterFindByC_A_S_S(long companyId, boolean active, boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static ObjectDefinition[] filterFindByC_A_S_S_PrevAndNext(long objectDefinitionId, long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeByC_A_S_S(long companyId, boolean active, boolean system, int status)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statuspublic static int countByC_A_S_S(long companyId, boolean active, boolean system, int status)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statuspublic static int filterCountByC_A_S_S(long companyId, boolean active, boolean system, int status)
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statuspublic static void cacheResult(ObjectDefinition objectDefinition)
objectDefinition
- the object definitionpublic static void cacheResult(java.util.List<ObjectDefinition> objectDefinitions)
objectDefinitions
- the object definitionspublic static ObjectDefinition create(long objectDefinitionId)
objectDefinitionId
- the primary key for the new object definitionpublic static ObjectDefinition remove(long objectDefinitionId) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the object definitionNoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static ObjectDefinition updateImpl(ObjectDefinition objectDefinition)
public static ObjectDefinition findByPrimaryKey(long objectDefinitionId) throws NoSuchObjectDefinitionException
NoSuchObjectDefinitionException
if it could not be found.objectDefinitionId
- the primary key of the object definitionNoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static ObjectDefinition fetchByPrimaryKey(long objectDefinitionId)
null
if it could not be found.objectDefinitionId
- the primary key of the object definitionnull
if a object definition with the primary key could not be foundpublic static java.util.List<ObjectDefinition> findAll()
public static java.util.List<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
start
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)public static java.util.List<ObjectDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
start
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> 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 ObjectDefinitionModelImpl
.
start
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (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 ObjectDefinitionPersistence getPersistence()