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 |
countByAccountEntryRestricted(boolean accountEntryRestricted)
Returns the number of object definitions where accountEntryRestricted = ?.
|
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_M_S(long companyId,
boolean modifiable,
boolean system)
Returns the number of object definitions where companyId = ? and modifiable = ? and system = ?.
|
static int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of object definitions where companyId = ? and name = ?.
|
static int |
countByC_RODI(long companyId,
long rootObjectDefinitionId)
Returns the number of object definitions where companyId = ? and rootObjectDefinitionId = ?.
|
static int |
countByC_S(long companyId,
int status)
Returns the number of object definitions where companyId = ? and status = ?.
|
static int |
countByC_U(long companyId,
long userId)
Returns the number of object definitions where companyId = ? and userId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of object definitions where companyId = ?.
|
static int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of object definitions where externalReferenceCode = ? and companyId = ?.
|
static int |
countByObjectFolderId(long objectFolderId)
Returns the number of object definitions where objectFolderId = ?.
|
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 |
fetchByAccountEntryRestricted_First(boolean accountEntryRestricted,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where accountEntryRestricted = ?.
|
static ObjectDefinition |
fetchByAccountEntryRestricted_Last(boolean accountEntryRestricted,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where accountEntryRestricted = ?.
|
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_M_S_First(long companyId,
boolean modifiable,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.
|
static ObjectDefinition |
fetchByC_M_S_Last(long companyId,
boolean modifiable,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.
|
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 |
fetchByC_RODI_First(long companyId,
long rootObjectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.
|
static ObjectDefinition |
fetchByC_RODI_Last(long companyId,
long rootObjectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.
|
static ObjectDefinition |
fetchByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and status = ?.
|
static ObjectDefinition |
fetchByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and status = ?.
|
static ObjectDefinition |
fetchByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and userId = ?.
|
static ObjectDefinition |
fetchByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and userId = ?.
|
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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the object definition where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
static ObjectDefinition |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the object definition where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
static ObjectDefinition |
fetchByObjectFolderId_First(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where objectFolderId = ?.
|
static ObjectDefinition |
fetchByObjectFolderId_Last(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where objectFolderId = ?.
|
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 |
filterCountByAccountEntryRestricted(boolean accountEntryRestricted)
Returns the number of object definitions that the user has permission to view where accountEntryRestricted = ?.
|
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 |
filterCountByC_M_S(long companyId,
boolean modifiable,
boolean system)
Returns the number of object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?.
|
static int |
filterCountByC_RODI(long companyId,
long rootObjectDefinitionId)
Returns the number of object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?.
|
static int |
filterCountByC_S(long companyId,
int status)
Returns the number of object definitions that the user has permission to view where companyId = ? and status = ?.
|
static int |
filterCountByC_U(long companyId,
long userId)
Returns the number of object definitions that the user has permission to view where companyId = ? and userId = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of object definitions that the user has permission to view where companyId = ?.
|
static int |
filterCountByObjectFolderId(long objectFolderId)
Returns the number of object definitions that the user has permission to view where objectFolderId = ?.
|
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[] |
filterFindByAccountEntryRestricted_PrevAndNext(long objectDefinitionId,
boolean accountEntryRestricted,
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 accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByAccountEntryRestricted(boolean accountEntryRestricted)
Returns all the object definitions that the user has permission to view where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByAccountEntryRestricted(boolean accountEntryRestricted,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByAccountEntryRestricted(boolean accountEntryRestricted,
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 accountEntryRestricted = ?.
|
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[] |
filterFindByC_M_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean modifiable,
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 companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_M_S(long companyId,
boolean modifiable,
boolean system)
Returns all the object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_M_S(long companyId,
boolean modifiable,
boolean system,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_M_S(long companyId,
boolean modifiable,
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 companyId = ? and modifiable = ? and system = ?.
|
static ObjectDefinition[] |
filterFindByC_RODI_PrevAndNext(long objectDefinitionId,
long companyId,
long rootObjectDefinitionId,
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 rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_RODI(long companyId,
long rootObjectDefinitionId)
Returns all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_RODI(long companyId,
long rootObjectDefinitionId,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_RODI(long companyId,
long rootObjectDefinitionId,
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 rootObjectDefinitionId = ?.
|
static ObjectDefinition[] |
filterFindByC_S_PrevAndNext(long objectDefinitionId,
long companyId,
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 status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_S(long companyId,
int status)
Returns all the object definitions that the user has permission to view where companyId = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_S(long companyId,
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 status = ?.
|
static ObjectDefinition[] |
filterFindByC_U_PrevAndNext(long objectDefinitionId,
long companyId,
long userId,
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 userId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_U(long companyId,
long userId)
Returns all the object definitions that the user has permission to view where companyId = ? and userId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where companyId = ? and userId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByC_U(long companyId,
long userId,
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 userId = ?.
|
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[] |
filterFindByObjectFolderId_PrevAndNext(long objectDefinitionId,
long objectFolderId,
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 objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByObjectFolderId(long objectFolderId)
Returns all the object definitions that the user has permission to view where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByObjectFolderId(long objectFolderId,
int start,
int end)
Returns a range of all the object definitions that the user has permission to view where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
filterFindByObjectFolderId(long objectFolderId,
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 objectFolderId = ?.
|
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 |
findByAccountEntryRestricted_First(boolean accountEntryRestricted,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where accountEntryRestricted = ?.
|
static ObjectDefinition |
findByAccountEntryRestricted_Last(boolean accountEntryRestricted,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where accountEntryRestricted = ?.
|
static ObjectDefinition[] |
findByAccountEntryRestricted_PrevAndNext(long objectDefinitionId,
boolean accountEntryRestricted,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
findByAccountEntryRestricted(boolean accountEntryRestricted)
Returns all the object definitions where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
findByAccountEntryRestricted(boolean accountEntryRestricted,
int start,
int end)
Returns a range of all the object definitions where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
findByAccountEntryRestricted(boolean accountEntryRestricted,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where accountEntryRestricted = ?.
|
static java.util.List<ObjectDefinition> |
findByAccountEntryRestricted(boolean accountEntryRestricted,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where accountEntryRestricted = ?.
|
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_M_S_First(long companyId,
boolean modifiable,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.
|
static ObjectDefinition |
findByC_M_S_Last(long companyId,
boolean modifiable,
boolean system,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.
|
static ObjectDefinition[] |
findByC_M_S_PrevAndNext(long objectDefinitionId,
long companyId,
boolean modifiable,
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 companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
findByC_M_S(long companyId,
boolean modifiable,
boolean system)
Returns all the object definitions where companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
findByC_M_S(long companyId,
boolean modifiable,
boolean system,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
findByC_M_S(long companyId,
boolean modifiable,
boolean system,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ? and modifiable = ? and system = ?.
|
static java.util.List<ObjectDefinition> |
findByC_M_S(long companyId,
boolean modifiable,
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 companyId = ? and modifiable = ? and system = ?.
|
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 |
findByC_RODI_First(long companyId,
long rootObjectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.
|
static ObjectDefinition |
findByC_RODI_Last(long companyId,
long rootObjectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.
|
static ObjectDefinition[] |
findByC_RODI_PrevAndNext(long objectDefinitionId,
long companyId,
long rootObjectDefinitionId,
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 rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_RODI(long companyId,
long rootObjectDefinitionId)
Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_RODI(long companyId,
long rootObjectDefinitionId,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_RODI(long companyId,
long rootObjectDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_RODI(long companyId,
long rootObjectDefinitionId,
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 rootObjectDefinitionId = ?.
|
static ObjectDefinition |
findByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and status = ?.
|
static ObjectDefinition |
findByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and status = ?.
|
static ObjectDefinition[] |
findByC_S_PrevAndNext(long objectDefinitionId,
long companyId,
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 status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_S(long companyId,
int status)
Returns all the object definitions where companyId = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_S(long companyId,
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 status = ?.
|
static java.util.List<ObjectDefinition> |
findByC_S(long companyId,
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 status = ?.
|
static ObjectDefinition |
findByC_U_First(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where companyId = ? and userId = ?.
|
static ObjectDefinition |
findByC_U_Last(long companyId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where companyId = ? and userId = ?.
|
static ObjectDefinition[] |
findByC_U_PrevAndNext(long objectDefinitionId,
long companyId,
long userId,
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 userId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_U(long companyId,
long userId)
Returns all the object definitions where companyId = ? and userId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the object definitions where companyId = ? and userId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where companyId = ? and userId = ?.
|
static java.util.List<ObjectDefinition> |
findByC_U(long companyId,
long userId,
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 userId = ?.
|
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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the object definition where externalReferenceCode = ? and companyId = ? or throws a
NoSuchObjectDefinitionException if it could not be found. |
static ObjectDefinition |
findByObjectFolderId_First(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the first object definition in the ordered set where objectFolderId = ?.
|
static ObjectDefinition |
findByObjectFolderId_Last(long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the last object definition in the ordered set where objectFolderId = ?.
|
static ObjectDefinition[] |
findByObjectFolderId_PrevAndNext(long objectDefinitionId,
long objectFolderId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns the object definitions before and after the current object definition in the ordered set where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
findByObjectFolderId(long objectFolderId)
Returns all the object definitions where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
findByObjectFolderId(long objectFolderId,
int start,
int end)
Returns a range of all the object definitions where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
findByObjectFolderId(long objectFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
Returns an ordered range of all the object definitions where objectFolderId = ?.
|
static java.util.List<ObjectDefinition> |
findByObjectFolderId(long objectFolderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object definitions where objectFolderId = ?.
|
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 |
removeByAccountEntryRestricted(boolean accountEntryRestricted)
Removes all the object definitions where accountEntryRestricted = ? 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 void |
removeByC_M_S(long companyId,
boolean modifiable,
boolean system)
Removes all the object definitions where companyId = ? and modifiable = ? and system = ? 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 |
removeByC_RODI(long companyId,
long rootObjectDefinitionId)
Removes all the object definitions where companyId = ? and rootObjectDefinitionId = ? from the database.
|
static void |
removeByC_S(long companyId,
int status)
Removes all the object definitions where companyId = ? and status = ? from the database.
|
static void |
removeByC_U(long companyId,
long userId)
Removes all the object definitions where companyId = ? and userId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the object definitions where companyId = ? from the database.
|
static ObjectDefinition |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the object definition where externalReferenceCode = ? and companyId = ? from the database.
|
static void |
removeByObjectFolderId(long objectFolderId)
Removes all the object definitions where objectFolderId = ? 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 void |
setPersistence(ObjectDefinitionPersistence persistence) |
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> findByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDpublic static java.util.List<ObjectDefinition> findByObjectFolderId(long objectFolderId, 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
.
objectFolderId
- the object folder 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> findByObjectFolderId(long objectFolderId, 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
.
objectFolderId
- the object folder 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> findByObjectFolderId(long objectFolderId, 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
.
objectFolderId
- the object folder 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 findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByObjectFolderId_PrevAndNext(long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionobjectFolderId
- the object folder 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> filterFindByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDpublic static java.util.List<ObjectDefinition> filterFindByObjectFolderId(long objectFolderId, 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
.
objectFolderId
- the object folder 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> filterFindByObjectFolderId(long objectFolderId, 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
.
objectFolderId
- the object folder 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[] filterFindByObjectFolderId_PrevAndNext(long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionobjectFolderId
- the object folder 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 removeByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDpublic static int countByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDpublic static int filterCountByObjectFolderId(long objectFolderId)
objectFolderId
- the object folder IDpublic static java.util.List<ObjectDefinition> findByAccountEntryRestricted(boolean accountEntryRestricted)
accountEntryRestricted
- the account entry restrictedpublic static java.util.List<ObjectDefinition> findByAccountEntryRestricted(boolean accountEntryRestricted, 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
.
accountEntryRestricted
- the account entry restrictedstart
- 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> findByAccountEntryRestricted(boolean accountEntryRestricted, 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
.
accountEntryRestricted
- the account entry restrictedstart
- 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> findByAccountEntryRestricted(boolean accountEntryRestricted, 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
.
accountEntryRestricted
- the account entry restrictedstart
- 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 findByAccountEntryRestricted_First(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByAccountEntryRestricted_First(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByAccountEntryRestricted_Last(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByAccountEntryRestricted_Last(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByAccountEntryRestricted_PrevAndNext(long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionaccountEntryRestricted
- the account entry restrictedorderByComparator
- 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> filterFindByAccountEntryRestricted(boolean accountEntryRestricted)
accountEntryRestricted
- the account entry restrictedpublic static java.util.List<ObjectDefinition> filterFindByAccountEntryRestricted(boolean accountEntryRestricted, 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
.
accountEntryRestricted
- the account entry restrictedstart
- 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> filterFindByAccountEntryRestricted(boolean accountEntryRestricted, 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
.
accountEntryRestricted
- the account entry restrictedstart
- 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[] filterFindByAccountEntryRestricted_PrevAndNext(long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitionaccountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundpublic static void removeByAccountEntryRestricted(boolean accountEntryRestricted)
accountEntryRestricted
- the account entry restrictedpublic static int countByAccountEntryRestricted(boolean accountEntryRestricted)
accountEntryRestricted
- the account entry restrictedpublic static int filterCountByAccountEntryRestricted(boolean accountEntryRestricted)
accountEntryRestricted
- the account entry restrictedpublic 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 java.util.List<ObjectDefinition> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<ObjectDefinition> findByC_U(long companyId, long userId, 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 IDuserId
- the user 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> findByC_U(long companyId, long userId, 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 IDuserId
- the user 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> findByC_U(long companyId, long userId, 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 IDuserId
- the user 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 findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_U_PrevAndNext(long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDuserId
- the user 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> filterFindByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<ObjectDefinition> filterFindByC_U(long companyId, long userId, 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 IDuserId
- the user 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> filterFindByC_U(long companyId, long userId, 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 IDuserId
- the user 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[] filterFindByC_U_PrevAndNext(long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDuserId
- the user 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 removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int filterCountByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<ObjectDefinition> findByC_RODI(long companyId, long rootObjectDefinitionId)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDpublic static java.util.List<ObjectDefinition> findByC_RODI(long companyId, long rootObjectDefinitionId, 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 IDrootObjectDefinitionId
- the root object definition 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> findByC_RODI(long companyId, long rootObjectDefinitionId, 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 IDrootObjectDefinitionId
- the root object definition 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> findByC_RODI(long companyId, long rootObjectDefinitionId, 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 IDrootObjectDefinitionId
- the root object definition 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 findByC_RODI_First(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_RODI_First(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_RODI_Last(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_RODI_Last(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_RODI_PrevAndNext(long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDrootObjectDefinitionId
- the root object definition 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> filterFindByC_RODI(long companyId, long rootObjectDefinitionId)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDpublic static java.util.List<ObjectDefinition> filterFindByC_RODI(long companyId, long rootObjectDefinitionId, 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 IDrootObjectDefinitionId
- the root object definition 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> filterFindByC_RODI(long companyId, long rootObjectDefinitionId, 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 IDrootObjectDefinitionId
- the root object definition 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[] filterFindByC_RODI_PrevAndNext(long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDrootObjectDefinitionId
- the root object definition 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 removeByC_RODI(long companyId, long rootObjectDefinitionId)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDpublic static int countByC_RODI(long companyId, long rootObjectDefinitionId)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDpublic static int filterCountByC_RODI(long companyId, long rootObjectDefinitionId)
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDpublic 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> findByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<ObjectDefinition> findByC_S(long companyId, 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 IDstatus
- 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_S(long companyId, 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 IDstatus
- 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_S(long companyId, 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 IDstatus
- 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_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_S_PrevAndNext(long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDstatus
- 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_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static java.util.List<ObjectDefinition> filterFindByC_S(long companyId, 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 IDstatus
- 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_S(long companyId, 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 IDstatus
- 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_S_PrevAndNext(long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDstatus
- 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_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int filterCountByC_S(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic 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_M_S(long companyId, boolean modifiable, boolean system)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systempublic static java.util.List<ObjectDefinition> findByC_M_S(long companyId, boolean modifiable, 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
.
companyId
- the company IDmodifiable
- the modifiablesystem
- 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> findByC_M_S(long companyId, boolean modifiable, 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
.
companyId
- the company IDmodifiable
- the modifiablesystem
- 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> findByC_M_S(long companyId, boolean modifiable, 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
.
companyId
- the company IDmodifiable
- the modifiablesystem
- 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 findByC_M_S_First(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_M_S_First(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition findByC_M_S_Last(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByC_M_S_Last(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object definition could not be foundpublic static ObjectDefinition[] findByC_M_S_PrevAndNext(long objectDefinitionId, long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDmodifiable
- the modifiablesystem
- 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> filterFindByC_M_S(long companyId, boolean modifiable, boolean system)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systempublic static java.util.List<ObjectDefinition> filterFindByC_M_S(long companyId, boolean modifiable, 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
.
companyId
- the company IDmodifiable
- the modifiablesystem
- 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> filterFindByC_M_S(long companyId, boolean modifiable, 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
.
companyId
- the company IDmodifiable
- the modifiablesystem
- 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[] filterFindByC_M_S_PrevAndNext(long objectDefinitionId, long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDmodifiable
- the modifiablesystem
- 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 removeByC_M_S(long companyId, boolean modifiable, boolean system)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systempublic static int countByC_M_S(long companyId, boolean modifiable, boolean system)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systempublic static int filterCountByC_M_S(long companyId, boolean modifiable, boolean system)
companyId
- the company IDmodifiable
- the modifiablesystem
- the systempublic 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 ObjectDefinition findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException
NoSuchObjectDefinitionException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchObjectDefinitionException
- if a matching object definition could not be foundpublic static ObjectDefinition fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching object definition could not be foundpublic static ObjectDefinition fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching object definition could not be foundpublic static ObjectDefinition removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchObjectDefinitionException
public static int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDpublic 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()
public static void setPersistence(ObjectDefinitionPersistence persistence)