Class ObjectDefinitionUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(ObjectDefinition objectDefinition) Caches the object definition in the entity cache if it is enabled.static void
cacheResult
(List<ObjectDefinition> objectDefinitions) Caches the object definitions in the entity cache if it is enabled.static void
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
(long companyId, boolean active, int status) Returns the number of object definitions where companyId = ? and active = ? and status = ?.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_C
(long companyId, 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, 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
(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
(String uuid) Returns the number of object definitions where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object definitions where uuid = ? and companyId = ?.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, String className) Returns the object definition where companyId = ? and className = ? or returnsnull
if it could not be found.static ObjectDefinition
fetchByC_C
(long companyId, String className, boolean useFinderCache) Returns the object definition where companyId = ? and className = ? or returnsnull
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, String name) Returns the object definition where companyId = ? and name = ? or returnsnull
if it could not be found.static ObjectDefinition
fetchByC_N
(long companyId, String name, boolean useFinderCache) Returns the object definition where companyId = ? and name = ? or returnsnull
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
(String externalReferenceCode, long companyId) Returns the object definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static ObjectDefinition
fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the object definition where externalReferenceCode = ? and companyId = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
ObjectDefinition> fetchByPrimaryKeys
(Set<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
(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
(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
(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
(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
(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_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_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
(String uuid) Returns the number of object definitions that the user has permission to view where uuid = ?.static int
filterCountByUuid_C
(String uuid, long companyId) Returns the number of object definitions that the user has permission to view where uuid = ? and companyId = ?.static List<ObjectDefinition>
filterFindByAccountEntryRestricted
(boolean accountEntryRestricted) Returns all the object definitions that the user has permission to view where accountEntryRestricted = ?.static 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 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[]
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 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 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 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_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 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 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 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 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 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 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 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_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 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 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 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_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 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 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 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_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 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 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 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[]
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 List<ObjectDefinition>
filterFindByCompanyId
(long companyId) Returns all the object definitions that the user has permission to view where companyId = ?.static 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 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[]
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 List<ObjectDefinition>
filterFindByObjectFolderId
(long objectFolderId) Returns all the object definitions that the user has permission to view where objectFolderId = ?.static 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 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[]
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 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 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 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[]
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 List<ObjectDefinition>
filterFindBySystem
(boolean system) Returns all the object definitions that the user has permission to view where system = ?.static 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 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[]
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 List<ObjectDefinition>
filterFindByUuid
(String uuid) Returns all the object definitions that the user has permission to view where uuid = ?.static List<ObjectDefinition>
filterFindByUuid
(String uuid, int start, int end) Returns a range of all the object definitions that the user has permission to view where uuid = ?.static List<ObjectDefinition>
filterFindByUuid
(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 List<ObjectDefinition>
filterFindByUuid_C
(String uuid, long companyId) Returns all the object definitions that the user has permission to view where uuid = ? and companyId = ?.static List<ObjectDefinition>
filterFindByUuid_C
(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 List<ObjectDefinition>
filterFindByUuid_C
(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_C_PrevAndNext
(long objectDefinitionId, 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 ObjectDefinition[]
filterFindByUuid_PrevAndNext
(long objectDefinitionId, 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 List<ObjectDefinition>
findAll()
Returns all the object definitions.static List<ObjectDefinition>
findAll
(int start, int end) Returns a range of all the object definitions.static 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 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 List<ObjectDefinition>
findByAccountEntryRestricted
(boolean accountEntryRestricted) Returns all the object definitions where accountEntryRestricted = ?.static List<ObjectDefinition>
findByAccountEntryRestricted
(boolean accountEntryRestricted, int start, int end) Returns a range of all the object definitions where accountEntryRestricted = ?.static 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 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
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 List<ObjectDefinition>
findByC_A_S
(long companyId, boolean active, int status) Returns all the object definitions where companyId = ? and active = ? and status = ?.static 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 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 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_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 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 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 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 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 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 ObjectDefinition
Returns the object definition where companyId = ? and className = ? or throws aNoSuchObjectDefinitionException
if it could not be found.static List<ObjectDefinition>
findByC_M_S
(long companyId, boolean modifiable, boolean system) Returns all the object definitions where companyId = ? and modifiable = ? and system = ?.static 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 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 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_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 ObjectDefinition
Returns the object definition where companyId = ? and name = ? or throws aNoSuchObjectDefinitionException
if it could not be found.static List<ObjectDefinition>
findByC_RODI
(long companyId, long rootObjectDefinitionId) Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?.static 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 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 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_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 List<ObjectDefinition>
findByC_S
(long companyId, int status) Returns all the object definitions where companyId = ? and status = ?.static 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 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 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_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 List<ObjectDefinition>
findByC_U
(long companyId, long userId) Returns all the object definitions where companyId = ? and userId = ?.static 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 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 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
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 List<ObjectDefinition>
findByCompanyId
(long companyId) Returns all the object definitions where companyId = ?.static List<ObjectDefinition>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the object definitions where companyId = ?.static 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 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
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 ObjectDefinition
findByERC_C
(String externalReferenceCode, long companyId) Returns the object definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchObjectDefinitionException
if it could not be found.static List<ObjectDefinition>
findByObjectFolderId
(long objectFolderId) Returns all the object definitions where objectFolderId = ?.static List<ObjectDefinition>
findByObjectFolderId
(long objectFolderId, int start, int end) Returns a range of all the object definitions where objectFolderId = ?.static 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 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
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 ObjectDefinition
findByPrimaryKey
(long objectDefinitionId) Returns the object definition with the primary key or throws aNoSuchObjectDefinitionException
if it could not be found.static List<ObjectDefinition>
findByS_S
(boolean system, int status) Returns all the object definitions where system = ? and status = ?.static 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 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 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
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 List<ObjectDefinition>
findBySystem
(boolean system) Returns all the object definitions where system = ?.static List<ObjectDefinition>
findBySystem
(boolean system, int start, int end) Returns a range of all the object definitions where system = ?.static 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 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
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 List<ObjectDefinition>
findByUuid
(String uuid) Returns all the object definitions where uuid = ?.static List<ObjectDefinition>
findByUuid
(String uuid, int start, int end) Returns a range of all the object definitions where uuid = ?.static List<ObjectDefinition>
findByUuid
(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 List<ObjectDefinition>
findByUuid
(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 List<ObjectDefinition>
findByUuid_C
(String uuid, long companyId) Returns all the object definitions where uuid = ? and companyId = ?.static List<ObjectDefinition>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object definitions where uuid = ? and companyId = ?.static List<ObjectDefinition>
findByUuid_C
(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 List<ObjectDefinition>
findByUuid_C
(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_C_First
(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
(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, 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 ObjectDefinition
findByUuid_First
(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
(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, 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 List<ObjectDefinition>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectDefinition>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static ObjectDefinition
remove
(long objectDefinitionId) Removes the object definition with the primary key from the database.static void
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
(long companyId, boolean active, int status) Removes all the object definitions where companyId = ? and active = ? and status = ? 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 ObjectDefinition
removeByC_C
(long companyId, 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, 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
(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
(String uuid) Removes all the object definitions where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object definitions where uuid = ? and companyId = ? 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)
-
Constructor Details
-
ObjectDefinitionUtil
public ObjectDefinitionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectDefinition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectDefinition update(ObjectDefinition objectDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object definitions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object definitions
-
findByUuid
Returns a range of all the object definitions where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions
-
findByUuid
public static List<ObjectDefinition> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByUuid
public static List<ObjectDefinition> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByUuid_First
public static ObjectDefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByUuid_First
public static ObjectDefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) Returns the first object definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByUuid_Last
public static ObjectDefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByUuid_Last
public static ObjectDefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) Returns the last object definition in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByUuid_PrevAndNext
public static ObjectDefinition[] findByUuid_PrevAndNext(long objectDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where uuid = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByUuid
Returns all the object definitions that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByUuid
Returns a range of all the object definitions that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByUuid
public static List<ObjectDefinition> filterFindByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByUuid_PrevAndNext
public static ObjectDefinition[] filterFindByUuid_PrevAndNext(long objectDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByUuid
Removes all the object definitions where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object definitions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object definitions
-
filterCountByUuid
Returns the number of object definitions that the user has permission to view where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object definitions that the user has permission to view
-
findByUuid_C
Returns all the object definitions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object definitions
-
findByUuid_C
Returns a range of all the object definitions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByUuid_C
public static List<ObjectDefinition> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByUuid_C
public static List<ObjectDefinition> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByUuid_C_First
public static ObjectDefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByUuid_C_First
public static ObjectDefinition fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByUuid_C_Last
public static ObjectDefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByUuid_C_Last
public static ObjectDefinition fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByUuid_C_PrevAndNext
public static ObjectDefinition[] findByUuid_C_PrevAndNext(long objectDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByUuid_C
Returns all the object definitions that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByUuid_C
public static List<ObjectDefinition> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByUuid_C
public static List<ObjectDefinition> filterFindByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public static ObjectDefinition[] filterFindByUuid_C_PrevAndNext(long objectDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByUuid_C
Removes all the object definitions where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object definitions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object definitions
-
filterCountByUuid_C
Returns the number of object definitions that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object definitions that the user has permission to view
-
findByCompanyId
Returns all the object definitions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object definitions
-
findByCompanyId
Returns a range of all the object definitions where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByCompanyId_First
public static ObjectDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByCompanyId_Last
public static ObjectDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByCompanyId_PrevAndNext
public static ObjectDefinition[] findByCompanyId_PrevAndNext(long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByCompanyId
Returns all the object definitions that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the object definitions that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public static ObjectDefinition[] filterFindByCompanyId_PrevAndNext(long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the object definitions where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of object definitions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching object definitions
-
filterCountByCompanyId
public static int filterCountByCompanyId(long companyId) Returns the number of object definitions that the user has permission to view where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching object definitions that the user has permission to view
-
findByObjectFolderId
Returns all the object definitions where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the matching object definitions
-
findByObjectFolderId
Returns a range of all the object definitions where objectFolderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByObjectFolderId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByObjectFolderId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByObjectFolderId_First
public static ObjectDefinition findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByObjectFolderId_First
public 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 = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByObjectFolderId_Last
public static ObjectDefinition findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByObjectFolderId_Last
public 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 = ?.- Parameters:
objectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByObjectFolderId_PrevAndNext
public static ObjectDefinition[] findByObjectFolderId_PrevAndNext(long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where objectFolderId = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionobjectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByObjectFolderId
Returns all the object definitions that the user has permission to view where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByObjectFolderId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByObjectFolderId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByObjectFolderId_PrevAndNext
public static ObjectDefinition[] filterFindByObjectFolderId_PrevAndNext(long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionobjectFolderId
- the object folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByObjectFolderId
public static void removeByObjectFolderId(long objectFolderId) Removes all the object definitions where objectFolderId = ? from the database.- Parameters:
objectFolderId
- the object folder ID
-
countByObjectFolderId
public static int countByObjectFolderId(long objectFolderId) Returns the number of object definitions where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the number of matching object definitions
-
filterCountByObjectFolderId
public static int filterCountByObjectFolderId(long objectFolderId) Returns the number of object definitions that the user has permission to view where objectFolderId = ?.- Parameters:
objectFolderId
- the object folder ID- Returns:
- the number of matching object definitions that the user has permission to view
-
findByAccountEntryRestricted
Returns all the object definitions where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restricted- Returns:
- the matching object definitions
-
findByAccountEntryRestricted
public static List<ObjectDefinition> findByAccountEntryRestricted(boolean accountEntryRestricted, int start, int end) Returns a range of all the object definitions where accountEntryRestricted = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByAccountEntryRestricted
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByAccountEntryRestricted
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByAccountEntryRestricted_First
public static ObjectDefinition findByAccountEntryRestricted_First(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByAccountEntryRestricted_First
public 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 = ?.- Parameters:
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByAccountEntryRestricted_Last
public static ObjectDefinition findByAccountEntryRestricted_Last(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByAccountEntryRestricted_Last
public 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 = ?.- Parameters:
accountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByAccountEntryRestricted_PrevAndNext
public static ObjectDefinition[] findByAccountEntryRestricted_PrevAndNext(long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where accountEntryRestricted = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionaccountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByAccountEntryRestricted
public static List<ObjectDefinition> filterFindByAccountEntryRestricted(boolean accountEntryRestricted) Returns all the object definitions that the user has permission to view where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restricted- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByAccountEntryRestricted
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByAccountEntryRestricted
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByAccountEntryRestricted_PrevAndNext
public static ObjectDefinition[] filterFindByAccountEntryRestricted_PrevAndNext(long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionaccountEntryRestricted
- the account entry restrictedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByAccountEntryRestricted
public static void removeByAccountEntryRestricted(boolean accountEntryRestricted) Removes all the object definitions where accountEntryRestricted = ? from the database.- Parameters:
accountEntryRestricted
- the account entry restricted
-
countByAccountEntryRestricted
public static int countByAccountEntryRestricted(boolean accountEntryRestricted) Returns the number of object definitions where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restricted- Returns:
- the number of matching object definitions
-
filterCountByAccountEntryRestricted
public static int filterCountByAccountEntryRestricted(boolean accountEntryRestricted) Returns the number of object definitions that the user has permission to view where accountEntryRestricted = ?.- Parameters:
accountEntryRestricted
- the account entry restricted- Returns:
- the number of matching object definitions that the user has permission to view
-
findBySystem
Returns all the object definitions where system = ?.- Parameters:
system
- the system- Returns:
- the matching object definitions
-
findBySystem
Returns a range of all the object definitions where system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions
-
findBySystem
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findBySystem
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findBySystem_First
public static ObjectDefinition findBySystem_First(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where system = ?.- Parameters:
system
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchBySystem_First
public 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 = ?.- Parameters:
system
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findBySystem_Last
public static ObjectDefinition findBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where system = ?.- Parameters:
system
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchBySystem_Last
public 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 = ?.- Parameters:
system
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findBySystem_PrevAndNext
public static ObjectDefinition[] findBySystem_PrevAndNext(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where system = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindBySystem
Returns all the object definitions that the user has permission to view where system = ?.- Parameters:
system
- the system- Returns:
- the matching object definitions that the user has permission to view
-
filterFindBySystem
Returns a range of all the object definitions that the user has permission to view where system = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
system
- the systemstart
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindBySystem
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindBySystem_PrevAndNext
public static ObjectDefinition[] filterFindBySystem_PrevAndNext(long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeBySystem
public static void removeBySystem(boolean system) Removes all the object definitions where system = ? from the database.- Parameters:
system
- the system
-
countBySystem
public static int countBySystem(boolean system) Returns the number of object definitions where system = ?.- Parameters:
system
- the system- Returns:
- the number of matching object definitions
-
filterCountBySystem
public static int filterCountBySystem(boolean system) Returns the number of object definitions that the user has permission to view where system = ?.- Parameters:
system
- the system- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_U
Returns all the object definitions where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching object definitions
-
findByC_U
Returns a range of all the object definitions where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_U_First
public static ObjectDefinition findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_U_First
public 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 = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_U_Last
public static ObjectDefinition findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_U_Last
public 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 = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_U_PrevAndNext
public static ObjectDefinition[] findByC_U_PrevAndNext(long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and userId = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_U
Returns all the object definitions that the user has permission to view where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_U
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_U_PrevAndNext
public static ObjectDefinition[] filterFindByC_U_PrevAndNext(long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_U
public static void removeByC_U(long companyId, long userId) Removes all the object definitions where companyId = ? and userId = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user ID
-
countByC_U
public static int countByC_U(long companyId, long userId) Returns the number of object definitions where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching object definitions
-
filterCountByC_U
public 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 = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_RODI
Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition ID- Returns:
- the matching object definitions
-
findByC_RODI
public static List<ObjectDefinition> findByC_RODI(long companyId, long rootObjectDefinitionId, int start, int end) Returns a range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_RODI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_RODI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_RODI_First
public static ObjectDefinition findByC_RODI_First(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_RODI_First
public 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 = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_RODI_Last
public static ObjectDefinition findByC_RODI_Last(long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_RODI_Last
public 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 = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_RODI_PrevAndNext
public static ObjectDefinition[] findByC_RODI_PrevAndNext(long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_RODI
public static List<ObjectDefinition> filterFindByC_RODI(long companyId, long rootObjectDefinitionId) Returns all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition ID- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_RODI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_RODI
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_RODI_PrevAndNext
public static ObjectDefinition[] filterFindByC_RODI_PrevAndNext(long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDrootObjectDefinitionId
- the root object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_RODI
public static void removeByC_RODI(long companyId, long rootObjectDefinitionId) Removes all the object definitions where companyId = ? and rootObjectDefinitionId = ? from the database.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition ID
-
countByC_RODI
public static int countByC_RODI(long companyId, long rootObjectDefinitionId) Returns the number of object definitions where companyId = ? and rootObjectDefinitionId = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition ID- Returns:
- the number of matching object definitions
-
filterCountByC_RODI
public 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 = ?.- Parameters:
companyId
- the company IDrootObjectDefinitionId
- the root object definition ID- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_C
public static ObjectDefinition findByC_C(long companyId, String className) throws NoSuchObjectDefinitionException Returns the object definition where companyId = ? and className = ? or throws aNoSuchObjectDefinitionException
if it could not be found.- Parameters:
companyId
- the company IDclassName
- the class name- Returns:
- the matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_C
Returns the object definition where companyId = ? and className = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDclassName
- the class name- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
fetchByC_C
Returns the object definition where companyId = ? and className = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDclassName
- the class nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
removeByC_C
public static ObjectDefinition removeByC_C(long companyId, String className) throws NoSuchObjectDefinitionException Removes the object definition where companyId = ? and className = ? from the database.- Parameters:
companyId
- the company IDclassName
- the class name- Returns:
- the object definition that was removed
- Throws:
NoSuchObjectDefinitionException
-
countByC_C
Returns the number of object definitions where companyId = ? and className = ?.- Parameters:
companyId
- the company IDclassName
- the class name- Returns:
- the number of matching object definitions
-
findByC_N
public static ObjectDefinition findByC_N(long companyId, String name) throws NoSuchObjectDefinitionException Returns the object definition where companyId = ? and name = ? or throws aNoSuchObjectDefinitionException
if it could not be found.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_N
Returns the object definition where companyId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
fetchByC_N
Returns the object definition where companyId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
removeByC_N
public static ObjectDefinition removeByC_N(long companyId, String name) throws NoSuchObjectDefinitionException Removes the object definition where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the object definition that was removed
- Throws:
NoSuchObjectDefinitionException
-
countByC_N
Returns the number of object definitions where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching object definitions
-
findByC_S
Returns all the object definitions where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching object definitions
-
findByC_S
Returns a range of all the object definitions where companyId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_S_First
public static ObjectDefinition findByC_S_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_S_First
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_S_Last
public static ObjectDefinition findByC_S_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_S_PrevAndNext
public static ObjectDefinition[] findByC_S_PrevAndNext(long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and status = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_S
Returns all the object definitions that the user has permission to view where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_S_PrevAndNext
public static ObjectDefinition[] filterFindByC_S_PrevAndNext(long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_S
public static void removeByC_S(long companyId, int status) Removes all the object definitions where companyId = ? and status = ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_S
public static int countByC_S(long companyId, int status) Returns the number of object definitions where companyId = ? and status = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching object definitions
-
filterCountByC_S
public 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 = ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching object definitions that the user has permission to view
-
findByS_S
Returns all the object definitions where system = ? and status = ?.- Parameters:
system
- the systemstatus
- the status- Returns:
- the matching object definitions
-
findByS_S
Returns a range of all the object definitions where system = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByS_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByS_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByS_S_First
public static ObjectDefinition findByS_S_First(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where system = ? and status = ?.- Parameters:
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByS_S_First
public 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 = ?.- Parameters:
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByS_S_Last
public static ObjectDefinition findByS_S_Last(boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where system = ? and status = ?.- Parameters:
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByS_S_Last
public 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 = ?.- Parameters:
system
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByS_S_PrevAndNext
public static ObjectDefinition[] findByS_S_PrevAndNext(long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where system = ? and status = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByS_S
Returns all the object definitions that the user has permission to view where system = ? and status = ?.- Parameters:
system
- the systemstatus
- the status- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByS_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByS_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByS_S_PrevAndNext
public static ObjectDefinition[] filterFindByS_S_PrevAndNext(long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitionsystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByS_S
public static void removeByS_S(boolean system, int status) Removes all the object definitions where system = ? and status = ? from the database.- Parameters:
system
- the systemstatus
- the status
-
countByS_S
public static int countByS_S(boolean system, int status) Returns the number of object definitions where system = ? and status = ?.- Parameters:
system
- the systemstatus
- the status- Returns:
- the number of matching object definitions
-
filterCountByS_S
public 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 = ?.- Parameters:
system
- the systemstatus
- the status- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_A_S
Returns all the object definitions where companyId = ? and active = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the status- Returns:
- the matching object definitions
-
findByC_A_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_A_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_A_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_A_S_First
public static ObjectDefinition findByC_A_S_First(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ? and active = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_A_S_First
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_A_S_Last
public static ObjectDefinition findByC_A_S_Last(long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ? and active = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_A_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_A_S_PrevAndNext
public static ObjectDefinition[] findByC_A_S_PrevAndNext(long objectDefinitionId, long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and status = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_A_S
Returns all the object definitions that the user has permission to view where companyId = ? and active = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the status- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_A_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_A_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_A_S_PrevAndNext
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 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_A_S
public 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.- Parameters:
companyId
- the company IDactive
- the activestatus
- the status
-
countByC_A_S
public static int countByC_A_S(long companyId, boolean active, int status) Returns the number of object definitions where companyId = ? and active = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the status- Returns:
- the number of matching object definitions
-
filterCountByC_A_S
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activestatus
- the status- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_M_S
public static List<ObjectDefinition> findByC_M_S(long companyId, boolean modifiable, boolean system) Returns all the object definitions where companyId = ? and modifiable = ? and system = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the system- Returns:
- the matching object definitions
-
findByC_M_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_M_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_M_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_M_S_First
public static ObjectDefinition findByC_M_S_First(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the first object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_M_S_First
public 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 = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_M_S_Last
public static ObjectDefinition findByC_M_S_Last(long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the last object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_M_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_M_S_PrevAndNext
public static ObjectDefinition[] findByC_M_S_PrevAndNext(long objectDefinitionId, long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) throws NoSuchObjectDefinitionException Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and modifiable = ? and system = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_M_S
public static 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 = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the system- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_M_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_M_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_M_S_PrevAndNext
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 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 = ?.- Parameters:
objectDefinitionId
- the primary key of the current object definitioncompanyId
- the company IDmodifiable
- the modifiablesystem
- the systemorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_M_S
public 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.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the system
-
countByC_M_S
public static int countByC_M_S(long companyId, boolean modifiable, boolean system) Returns the number of object definitions where companyId = ? and modifiable = ? and system = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the system- Returns:
- the number of matching object definitions
-
filterCountByC_M_S
public 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 = ?.- Parameters:
companyId
- the company IDmodifiable
- the modifiablesystem
- the system- Returns:
- the number of matching object definitions that the user has permission to view
-
findByC_A_S_S
public static 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the status- Returns:
- the matching object definitions
-
findByC_A_S_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions
-
findByC_A_S_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions
-
findByC_A_S_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object definitions
-
findByC_A_S_S_First
public 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 Returns the first object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_A_S_S_First
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object definition, or
null
if a matching object definition could not be found
-
findByC_A_S_S_Last
public 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 Returns the last object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByC_A_S_S_Last
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object definition, or
null
if a matching object definition could not be found
-
findByC_A_S_S_PrevAndNext
public 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 Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
filterFindByC_A_S_S
public static 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the status- Returns:
- the matching object definitions that the user has permission to view
-
filterFindByC_A_S_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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)- Returns:
- the range of matching object definitions that the user has permission to view
-
filterFindByC_A_S_S
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object definitions that the user has permission to view
-
filterFindByC_A_S_S_PrevAndNext
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 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
removeByC_A_S_S
public 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.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the status
-
countByC_A_S_S
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the status- Returns:
- the number of matching object definitions
-
filterCountByC_A_S_S
public 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 = ?.- Parameters:
companyId
- the company IDactive
- the activesystem
- the systemstatus
- the status- Returns:
- the number of matching object definitions that the user has permission to view
-
findByERC_C
public static ObjectDefinition findByERC_C(String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException Returns the object definition where externalReferenceCode = ? and companyId = ? or throws aNoSuchObjectDefinitionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching object definition
- Throws:
NoSuchObjectDefinitionException
- if a matching object definition could not be foundNoSuchObjectDefinitionException
-
fetchByERC_C
Returns the object definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
fetchByERC_C
public static ObjectDefinition fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the object definition where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
removeByERC_C
public static ObjectDefinition removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException Removes the object definition where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the object definition that was removed
- Throws:
NoSuchObjectDefinitionException
-
countByERC_C
Returns the number of object definitions where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching object definitions
-
cacheResult
Caches the object definition in the entity cache if it is enabled.- Parameters:
objectDefinition
- the object definition
-
cacheResult
Caches the object definitions in the entity cache if it is enabled.- Parameters:
objectDefinitions
- the object definitions
-
create
Creates a new object definition with the primary key. Does not add the object definition to the database.- Parameters:
objectDefinitionId
- the primary key for the new object definition- Returns:
- the new object definition
-
remove
public static ObjectDefinition remove(long objectDefinitionId) throws NoSuchObjectDefinitionException Removes the object definition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectDefinitionId
- the primary key of the object definition- Returns:
- the object definition that was removed
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
updateImpl
-
findByPrimaryKey
public static ObjectDefinition findByPrimaryKey(long objectDefinitionId) throws NoSuchObjectDefinitionException Returns the object definition with the primary key or throws aNoSuchObjectDefinitionException
if it could not be found.- Parameters:
objectDefinitionId
- the primary key of the object definition- Returns:
- the object definition
- Throws:
NoSuchObjectDefinitionException
- if a object definition with the primary key could not be foundNoSuchObjectDefinitionException
-
fetchByPrimaryKey
Returns the object definition with the primary key or returnsnull
if it could not be found.- Parameters:
objectDefinitionId
- the primary key of the object definition- Returns:
- the object definition, or
null
if a object definition with the primary key could not be found
-
findAll
Returns all the object definitions.- Returns:
- the object definitions
-
findAll
Returns a range of all the object definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of object definitions
-
findAll
public static List<ObjectDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator) Returns an ordered range of all the object definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of object definitions
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectDefinitionModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object definitions
-
removeAll
public static void removeAll()Removes all the object definitions from the database. -
countAll
public static int countAll()Returns the number of object definitions.- Returns:
- the number of object definitions
-
getPersistence
-
setPersistence
-