Class ObjectDefinitionUtil

java.lang.Object
com.liferay.object.service.persistence.ObjectDefinitionUtil

public class ObjectDefinitionUtil extends Object
The persistence utility for the object definition service. This utility wraps 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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
    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
    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)
     
    create(long objectDefinitionId)
    Creates a new object definition with the primary key.
    fetchByAccountEntryRestricted_First(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where accountEntryRestricted = ?.
    fetchByAccountEntryRestricted_Last(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where accountEntryRestricted = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByC_C(long companyId, String className)
    Returns the object definition where companyId = ? and className = ? or returns null if it could not be found.
    fetchByC_C(long companyId, String className, boolean useFinderCache)
    Returns the object definition where companyId = ? and className = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    fetchByC_N(long companyId, String name)
    Returns the object definition where companyId = ? and name = ? or returns null if it could not be found.
    fetchByC_N(long companyId, String name, boolean useFinderCache)
    Returns the object definition where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the object definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the object definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where objectFolderId = ?.
    fetchByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where objectFolderId = ?.
    fetchByPrimaryKey(long objectDefinitionId)
    Returns the object definition with the primary key or returns null if it could not be found.
     
    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 = ?.
    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 = ?.
    fetchBySystem_First(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where system = ?.
    fetchBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where system = ?.
    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 = ?.
    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 = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where uuid = ?.
    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
    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 = ?.
    filterFindByAccountEntryRestricted(boolean accountEntryRestricted)
    Returns all the object definitions that the user has permission to view where accountEntryRestricted = ?.
    filterFindByAccountEntryRestricted(boolean accountEntryRestricted, int start, int end)
    Returns a range of all the object definitions that the user has permission to view where accountEntryRestricted = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    filterFindByC_RODI(long companyId, long rootObjectDefinitionId)
    Returns all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    filterFindByC_S(long companyId, int status)
    Returns all the object definitions that the user has permission to view where companyId = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    filterFindByC_U(long companyId, long userId)
    Returns all the object definitions that the user has permission to view where companyId = ? and userId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    filterFindByCompanyId(long companyId)
    Returns all the object definitions that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the object definitions that the user has permission to view where companyId = ?.
    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 = ?.
    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 = ?.
    filterFindByObjectFolderId(long objectFolderId)
    Returns all the object definitions that the user has permission to view where objectFolderId = ?.
    filterFindByObjectFolderId(long objectFolderId, int start, int end)
    Returns a range of all the object definitions that the user has permission to view where objectFolderId = ?.
    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 = ?.
    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 = ?.
    filterFindByS_S(boolean system, int status)
    Returns all the object definitions that the user has permission to view where system = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    filterFindBySystem(boolean system)
    Returns all the object definitions that the user has permission to view where system = ?.
    filterFindBySystem(boolean system, int start, int end)
    Returns a range of all the object definitions that the user has permission to view where system = ?.
    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 = ?.
    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 = ?.
    Returns all the object definitions that the user has permission to view where uuid = ?.
    filterFindByUuid(String uuid, int start, int end)
    Returns a range of all the object definitions that the user has permission to view where uuid = ?.
    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 = ?.
    filterFindByUuid_C(String uuid, long companyId)
    Returns all the object definitions that the user has permission to view where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    Returns all the object definitions.
    findAll(int start, int end)
    Returns a range of all the object definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns an ordered range of all the object definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object definitions.
    findByAccountEntryRestricted(boolean accountEntryRestricted)
    Returns all the object definitions where accountEntryRestricted = ?.
    findByAccountEntryRestricted(boolean accountEntryRestricted, int start, int end)
    Returns a range of all the object definitions where accountEntryRestricted = ?.
    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 = ?.
    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 = ?.
    findByAccountEntryRestricted_First(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where accountEntryRestricted = ?.
    findByAccountEntryRestricted_Last(boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where accountEntryRestricted = ?.
    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 = ?.
    findByC_A_S(long companyId, boolean active, int status)
    Returns all the object definitions where companyId = ? and active = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByC_C(long companyId, String className)
    Returns the object definition where companyId = ? and className = ? or throws a NoSuchObjectDefinitionException if it could not be found.
    findByC_M_S(long companyId, boolean modifiable, boolean system)
    Returns all the object definitions where companyId = ? and modifiable = ? and system = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByC_N(long companyId, String name)
    Returns the object definition where companyId = ? and name = ? or throws a NoSuchObjectDefinitionException if it could not be found.
    findByC_RODI(long companyId, long rootObjectDefinitionId)
    Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
    findByC_RODI(long companyId, long rootObjectDefinitionId, int start, int end)
    Returns a range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByC_S(long companyId, int status)
    Returns all the object definitions where companyId = ? and status = ?.
    findByC_S(long companyId, int status, int start, int end)
    Returns a range of all the object definitions where companyId = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByC_U(long companyId, long userId)
    Returns all the object definitions where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the object definitions where companyId = ? and userId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByCompanyId(long companyId)
    Returns all the object definitions where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the object definitions where companyId = ?.
    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 = ?.
    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 = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where companyId = ?.
    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 = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the object definition where externalReferenceCode = ? and companyId = ? or throws a NoSuchObjectDefinitionException if it could not be found.
    findByObjectFolderId(long objectFolderId)
    Returns all the object definitions where objectFolderId = ?.
    findByObjectFolderId(long objectFolderId, int start, int end)
    Returns a range of all the object definitions where objectFolderId = ?.
    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 = ?.
    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 = ?.
    findByObjectFolderId_First(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where objectFolderId = ?.
    findByObjectFolderId_Last(long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where objectFolderId = ?.
    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 = ?.
    findByPrimaryKey(long objectDefinitionId)
    Returns the object definition with the primary key or throws a NoSuchObjectDefinitionException if it could not be found.
    findByS_S(boolean system, int status)
    Returns all the object definitions where system = ? and status = ?.
    findByS_S(boolean system, int status, int start, int end)
    Returns a range of all the object definitions where system = ? and status = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findBySystem(boolean system)
    Returns all the object definitions where system = ?.
    findBySystem(boolean system, int start, int end)
    Returns a range of all the object definitions where system = ?.
    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 = ?.
    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 = ?.
    findBySystem_First(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where system = ?.
    findBySystem_Last(boolean system, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where system = ?.
    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 = ?.
    Returns all the object definitions where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object definitions where uuid = ?.
    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 = ?.
    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 = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object definitions where uuid = ? and companyId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the first object definition in the ordered set where uuid = ?.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
    Returns the last object definition in the ordered set where uuid = ?.
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectDefinition> orderByComparator)
     
     
    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.
    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.
    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.
    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
    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
     
    update(ObjectDefinition objectDefinition)
     
    update(ObjectDefinition objectDefinition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ObjectDefinition objectDefinition)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectDefinitionUtil

      public ObjectDefinitionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(ObjectDefinition objectDefinition)
      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

      public static Map<Serializable,ObjectDefinition> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      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

      public static ObjectDefinition update(ObjectDefinition objectDefinition)
      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

      public static List<ObjectDefinition> findByUuid(String uuid)
      Returns all the object definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object definitions
    • findByUuid

      public static List<ObjectDefinition> findByUuid(String uuid, int start, int end)
      Returns a range of all the object definitions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByUuid

      public static List<ObjectDefinition> filterFindByUuid(String uuid)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the object definitions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of object definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object definitions
    • filterCountByUuid

      public static int filterCountByUuid(String uuid)
      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

      public static List<ObjectDefinition> findByUuid_C(String uuid, long companyId)
      Returns all the object definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object definitions
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByUuid_C

      public 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 = ?.
      Parameters:
      uuid - the uuid
      companyId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the object definitions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of object definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object definitions
    • filterCountByUuid_C

      public 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 = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object definitions that the user has permission to view
    • findByCompanyId

      public static List<ObjectDefinition> findByCompanyId(long companyId)
      Returns all the object definitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching object definitions
    • findByCompanyId

      public static List<ObjectDefinition> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the object definitions where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByCompanyId

      public static List<ObjectDefinition> filterFindByCompanyId(long companyId)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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

      public static List<ObjectDefinition> findByObjectFolderId(long objectFolderId)
      Returns all the object definitions where objectFolderId = ?.
      Parameters:
      objectFolderId - the object folder ID
      Returns:
      the matching object definitions
    • findByObjectFolderId

      public static List<ObjectDefinition> findByObjectFolderId(long objectFolderId, int start, int end)
      Returns a range of all the object definitions where objectFolderId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByObjectFolderId

      public static List<ObjectDefinition> filterFindByObjectFolderId(long objectFolderId)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      objectFolderId - the object folder ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      objectFolderId - the object folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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

      public static List<ObjectDefinition> findByAccountEntryRestricted(boolean accountEntryRestricted)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      accountEntryRestricted - the account entry restricted
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      accountEntryRestricted - the account entry restricted
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      accountEntryRestricted - the account entry restricted
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 restricted
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 restricted
      orderByComparator - the comparator to order the set by (optionally null)
      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 restricted
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 restricted
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      accountEntryRestricted - the account entry restricted
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      accountEntryRestricted - the account entry restricted
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      accountEntryRestricted - the account entry restricted
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      accountEntryRestricted - the account entry restricted
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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

      public static List<ObjectDefinition> findBySystem(boolean system)
      Returns all the object definitions where system = ?.
      Parameters:
      system - the system
      Returns:
      the matching object definitions
    • findBySystem

      public static List<ObjectDefinition> findBySystem(boolean system, int start, int end)
      Returns a range of all the object definitions where system = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 system
      orderByComparator - the comparator to order the set by (optionally null)
      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 system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 system
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindBySystem

      public static List<ObjectDefinition> filterFindBySystem(boolean system)
      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

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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

      public static List<ObjectDefinition> findByC_U(long companyId, long userId)
      Returns all the object definitions where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching object definitions
    • findByC_U

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByC_U

      public 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 = ?.
      Parameters:
      companyId - the company ID
      userId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      userId - 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 ID
      userId - 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 ID
      userId - the user ID
      Returns:
      the number of matching object definitions that the user has permission to view
    • findByC_RODI

      public static List<ObjectDefinition> findByC_RODI(long companyId, long rootObjectDefinitionId)
      Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?.
      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      rootObjectDefinitionId - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      rootObjectDefinitionId - the root object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      rootObjectDefinitionId - 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 ID
      rootObjectDefinitionId - 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 ID
      rootObjectDefinitionId - 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 a NoSuchObjectDefinitionException if it could not be found.
      Parameters:
      companyId - the company ID
      className - the class name
      Returns:
      the matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • fetchByC_C

      public static ObjectDefinition fetchByC_C(long companyId, String className)
      Returns the object definition where companyId = ? and className = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      className - the class name
      Returns:
      the matching object definition, or null if a matching object definition could not be found
    • fetchByC_C

      public static ObjectDefinition fetchByC_C(long companyId, String className, boolean useFinderCache)
      Returns the object definition where companyId = ? and className = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      className - the class name
      useFinderCache - 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 ID
      className - the class name
      Returns:
      the object definition that was removed
      Throws:
      NoSuchObjectDefinitionException
    • countByC_C

      public static int countByC_C(long companyId, String className)
      Returns the number of object definitions where companyId = ? and className = ?.
      Parameters:
      companyId - the company ID
      className - 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 a NoSuchObjectDefinitionException if it could not be found.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • fetchByC_N

      public static ObjectDefinition fetchByC_N(long companyId, String name)
      Returns the object definition where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the matching object definition, or null if a matching object definition could not be found
    • fetchByC_N

      public static ObjectDefinition fetchByC_N(long companyId, String name, boolean useFinderCache)
      Returns the object definition where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      name - the name
      useFinderCache - 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 ID
      name - the name
      Returns:
      the object definition that was removed
      Throws:
      NoSuchObjectDefinitionException
    • countByC_N

      public static int countByC_N(long companyId, String name)
      Returns the number of object definitions where companyId = ? and name = ?.
      Parameters:
      companyId - the company ID
      name - the name
      Returns:
      the number of matching object definitions
    • findByC_S

      public static List<ObjectDefinition> findByC_S(long companyId, int status)
      Returns all the object definitions where companyId = ? and status = ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching object definitions
    • findByC_S

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByC_S

      public 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 = ?.
      Parameters:
      companyId - the company ID
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      status - 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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching object definitions that the user has permission to view
    • findByS_S

      public static List<ObjectDefinition> findByS_S(boolean system, int status)
      Returns all the object definitions where system = ? and status = ?.
      Parameters:
      system - the system
      status - the status
      Returns:
      the matching object definitions
    • findByS_S

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByS_S

      public 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 = ?.
      Parameters:
      system - the system
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 system
      status - 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 system
      status - 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 system
      status - the status
      Returns:
      the number of matching object definitions that the user has permission to view
    • findByC_A_S

      public static List<ObjectDefinition> findByC_A_S(long companyId, boolean active, int status)
      Returns all the object definitions where companyId = ? and active = ? and status = ?.
      Parameters:
      companyId - the company ID
      active - the active
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • filterFindByC_A_S

      public 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 = ?.
      Parameters:
      companyId - the company ID
      active - the active
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      status - 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 ID
      active - the active
      status - 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 ID
      active - the active
      status - 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 ID
      modifiable - the modifiable
      system - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      modifiable - the modifiable
      system - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      modifiable - the modifiable
      system - the system
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      modifiable - the modifiable
      system - 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 ID
      modifiable - the modifiable
      system - 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 ID
      modifiable - the modifiable
      system - 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 ID
      active - the active
      system - the system
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 definition
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      system - the system
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 definition
      companyId - the company ID
      active - the active
      system - the system
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object definition
      Throws:
      NoSuchObjectDefinitionException - if a object definition with the primary key could not be found
      NoSuchObjectDefinitionException
    • 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 ID
      active - the active
      system - the system
      status - 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 ID
      active - the active
      system - the system
      status - 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 ID
      active - the active
      system - the system
      status - 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 a NoSuchObjectDefinitionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching object definition
      Throws:
      NoSuchObjectDefinitionException - if a matching object definition could not be found
      NoSuchObjectDefinitionException
    • fetchByERC_C

      public static ObjectDefinition fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the object definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 code
      companyId - the company ID
      Returns:
      the object definition that was removed
      Throws:
      NoSuchObjectDefinitionException
    • countByERC_C

      public static int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of object definitions where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching object definitions
    • cacheResult

      public static void cacheResult(ObjectDefinition objectDefinition)
      Caches the object definition in the entity cache if it is enabled.
      Parameters:
      objectDefinition - the object definition
    • cacheResult

      public static void cacheResult(List<ObjectDefinition> objectDefinitions)
      Caches the object definitions in the entity cache if it is enabled.
      Parameters:
      objectDefinitions - the object definitions
    • create

      public static ObjectDefinition create(long objectDefinitionId)
      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 found
      NoSuchObjectDefinitionException
    • updateImpl

      public static ObjectDefinition updateImpl(ObjectDefinition objectDefinition)
    • findByPrimaryKey

      public static ObjectDefinition findByPrimaryKey(long objectDefinitionId) throws NoSuchObjectDefinitionException
      Returns the object definition with the primary key or throws a NoSuchObjectDefinitionException 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 found
      NoSuchObjectDefinitionException
    • fetchByPrimaryKey

      public static ObjectDefinition fetchByPrimaryKey(long objectDefinitionId)
      Returns the object definition with the primary key or returns null 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

      public static List<ObjectDefinition> findAll()
      Returns all the object definitions.
      Returns:
      the object definitions
    • findAll

      public static List<ObjectDefinition> findAll(int start, int end)
      Returns a range of all the object definitions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of object definitions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of object definitions
      end - the upper bound of the range of object definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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

      public static ObjectDefinitionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectDefinitionPersistence persistence)