Class ObjectEntryUtil

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

public class ObjectEntryUtil extends Object
The persistence utility for the object entry service. This utility wraps com.liferay.object.service.persistence.impl.ObjectEntryPersistenceImpl 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(ObjectEntry objectEntry)
    Caches the object entry in the entity cache if it is enabled.
    static void
    cacheResult(List<ObjectEntry> objectEntries)
    Caches the object entries in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(ObjectEntry objectEntry)
     
    static int
    Returns the number of object entries.
    static int
    countByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
    Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ?.
    static int
    countByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
    Returns the number of object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    static int
    countByG_ODI(long groupId, long objectDefinitionId)
    Returns the number of object entries where groupId = ? and objectDefinitionId = ?.
    static int
    countByG_ODI_S(long groupId, long objectDefinitionId, int status)
    Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.
    static int
    countByG_OEFI(long groupId, long objectEntryFolderId)
    Returns the number of object entries where groupId = ? and objectEntryFolderId = ?.
    static int
    countByHeadObjectEntryId(long headObjectEntryId)
    Returns the number of object entries where headObjectEntryId = ?.
    static int
    countByObjectDefinitionId(long objectDefinitionId)
    Returns the number of object entries where objectDefinitionId = ?.
    static int
    countByODI_NotS(long objectDefinitionId, int status)
    Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.
    static int
    countByROEI_NotS(long rootObjectEntryId, int status)
    Returns the number of object entries where rootObjectEntryId = ? and status ≠ ?.
    static int
    countByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
    Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
    static int
    countByU_ODI(long userId, long objectDefinitionId)
    Returns the number of object entries where userId = ? and objectDefinitionId = ?.
    static int
    Returns the number of object entries where uuid = ?.
    static int
    countByUuid_C(String uuid, long companyId)
    Returns the number of object entries where uuid = ? and companyId = ?.
    static int
    countByUUID_G(String uuid, long groupId)
    Returns the number of object entries where uuid = ? and groupId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long objectEntryId)
    Creates a new object entry with the primary key.
    fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
    Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found.
    fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId, boolean useFinderCache)
    Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.
    fetchByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.
    fetchByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.
    fetchByHeadObjectEntryId(long headObjectEntryId)
    Returns the object entry where headObjectEntryId = ? or returns null if it could not be found.
    fetchByHeadObjectEntryId(long headObjectEntryId, boolean useFinderCache)
    Returns the object entry where headObjectEntryId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where objectDefinitionId = ?.
    fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.
    fetchByPrimaryKey(long objectEntryId)
    Returns the object entry with the primary key or returns null if it could not be found.
     
    fetchByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.
    fetchByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.
    fetchByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the object entry where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the object entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the object entries.
    findAll(int start, int end)
    Returns a range of all the object entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries.
    findByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
    Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectEntryException if it could not be found.
    findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
    Returns all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end)
    Returns a range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    findByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.
    findByG_ODI(long groupId, long objectDefinitionId)
    Returns all the object entries where groupId = ? and objectDefinitionId = ?.
    findByG_ODI(long groupId, long objectDefinitionId, int start, int end)
    Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.
    findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.
    findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.
    findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.
    findByG_ODI_S(long groupId, long objectDefinitionId, int status)
    Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.
    findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end)
    Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.
    findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.
    findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.
    findByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.
    findByG_OEFI(long groupId, long objectEntryFolderId)
    Returns all the object entries where groupId = ? and objectEntryFolderId = ?.
    findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end)
    Returns a range of all the object entries where groupId = ? and objectEntryFolderId = ?.
    findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.
    findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.
    findByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.
    findByHeadObjectEntryId(long headObjectEntryId)
    Returns the object entry where headObjectEntryId = ? or throws a NoSuchObjectEntryException if it could not be found.
    findByObjectDefinitionId(long objectDefinitionId)
    Returns all the object entries where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end)
    Returns a range of all the object entries where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where objectDefinitionId = ?.
    findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where objectDefinitionId = ?.
    findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where objectDefinitionId = ?.
    findByODI_NotS(long objectDefinitionId, int status)
    Returns all the object entries where objectDefinitionId = ? and status ≠ ?.
    findByODI_NotS(long objectDefinitionId, int status, int start, int end)
    Returns a range of all the object entries where objectDefinitionId = ? and status ≠ ?.
    findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.
    findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where objectDefinitionId = ? and status ≠ ?.
    findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.
    findByPrimaryKey(long objectEntryId)
    Returns the object entry with the primary key or throws a NoSuchObjectEntryException if it could not be found.
    findByROEI_NotS(long rootObjectEntryId, int status)
    Returns all the object entries where rootObjectEntryId = ? and status ≠ ?.
    findByROEI_NotS(long rootObjectEntryId, int status, int start, int end)
    Returns a range of all the object entries where rootObjectEntryId = ? and status ≠ ?.
    findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.
    findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where rootObjectEntryId = ? and status ≠ ?.
    findByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.
    findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
    Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
    findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end)
    Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
    findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
    findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
    findByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.
    findByU_ODI(long userId, long objectDefinitionId)
    Returns all the object entries where userId = ? and objectDefinitionId = ?.
    findByU_ODI(long userId, long objectDefinitionId, int start, int end)
    Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.
    findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.
    findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.
    findByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.
    Returns all the object entries where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the object entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the object entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the object entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns an ordered range of all the object entries where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the object entries where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
    Returns the first object entry in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the object entry where uuid = ? and groupId = ? or throws a NoSuchObjectEntryException if it could not be found.
    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<ObjectEntry> orderByComparator)
     
     
    remove(long objectEntryId)
    Removes the object entry with the primary key from the database.
    static void
    Removes all the object entries from the database.
    removeByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
    Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? from the database.
    static void
    removeByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
    Removes all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ? from the database.
    static void
    removeByG_ODI(long groupId, long objectDefinitionId)
    Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.
    static void
    removeByG_ODI_S(long groupId, long objectDefinitionId, int status)
    Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.
    static void
    removeByG_OEFI(long groupId, long objectEntryFolderId)
    Removes all the object entries where groupId = ? and objectEntryFolderId = ? from the database.
    removeByHeadObjectEntryId(long headObjectEntryId)
    Removes the object entry where headObjectEntryId = ? from the database.
    static void
    removeByObjectDefinitionId(long objectDefinitionId)
    Removes all the object entries where objectDefinitionId = ? from the database.
    static void
    removeByODI_NotS(long objectDefinitionId, int status)
    Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.
    static void
    removeByROEI_NotS(long rootObjectEntryId, int status)
    Removes all the object entries where rootObjectEntryId = ? and status ≠ ? from the database.
    static void
    removeByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
    Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.
    static void
    removeByU_ODI(long userId, long objectDefinitionId)
    Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.
    static void
    Removes all the object entries where uuid = ? from the database.
    static void
    removeByUuid_C(String uuid, long companyId)
    Removes all the object entries where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the object entry where uuid = ? and groupId = ? from the database.
    static void
     
    update(ObjectEntry objectEntry)
     
    update(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ObjectEntry objectEntry)
     

    Methods inherited from class java.lang.Object

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

    • ObjectEntryUtil

      public ObjectEntryUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(ObjectEntry objectEntry)
      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,ObjectEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<ObjectEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static ObjectEntry update(ObjectEntry objectEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static ObjectEntry update(ObjectEntry objectEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

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

      public static List<ObjectEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByUuid

      public static List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByUuid

      public static List<ObjectEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByUuid_First

      public static ObjectEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry 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 entry
    • fetchByUuid_First

      public static ObjectEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry 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 entry, or null if a matching object entry could not be found
    • removeByUuid

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

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

      public static ObjectEntry findByUUID_G(String uuid, long groupId) throws NoSuchObjectEntryException
      Returns the object entry where uuid = ? and groupId = ? or throws a NoSuchObjectEntryException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching object entry
    • fetchByUUID_G

      public static ObjectEntry fetchByUUID_G(String uuid, long groupId)
      Returns the object entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • fetchByUUID_G

      public static ObjectEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the object entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • removeByUUID_G

      public static ObjectEntry removeByUUID_G(String uuid, long groupId) throws NoSuchObjectEntryException
      Removes the object entry where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the object entry that was removed
      Throws:
      NoSuchObjectEntryException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of object entries where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching object entries
    • findByUuid_C

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

      public static List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByUuid_C

      public static List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByUuid_C

      public static List<ObjectEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByUuid_C_First

      public static ObjectEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry 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 entry
    • fetchByUuid_C_First

      public static ObjectEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry 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 entry, or null if a matching object entry could not be found
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the object entries 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 entries where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object entries
    • findByHeadObjectEntryId

      public static ObjectEntry findByHeadObjectEntryId(long headObjectEntryId) throws NoSuchObjectEntryException
      Returns the object entry where headObjectEntryId = ? or throws a NoSuchObjectEntryException if it could not be found.
      Parameters:
      headObjectEntryId - the head object entry ID
      Returns:
      the matching object entry
    • fetchByHeadObjectEntryId

      public static ObjectEntry fetchByHeadObjectEntryId(long headObjectEntryId)
      Returns the object entry where headObjectEntryId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      headObjectEntryId - the head object entry ID
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • fetchByHeadObjectEntryId

      public static ObjectEntry fetchByHeadObjectEntryId(long headObjectEntryId, boolean useFinderCache)
      Returns the object entry where headObjectEntryId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      headObjectEntryId - the head object entry ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • removeByHeadObjectEntryId

      public static ObjectEntry removeByHeadObjectEntryId(long headObjectEntryId) throws NoSuchObjectEntryException
      Removes the object entry where headObjectEntryId = ? from the database.
      Parameters:
      headObjectEntryId - the head object entry ID
      Returns:
      the object entry that was removed
      Throws:
      NoSuchObjectEntryException
    • countByHeadObjectEntryId

      public static int countByHeadObjectEntryId(long headObjectEntryId)
      Returns the number of object entries where headObjectEntryId = ?.
      Parameters:
      headObjectEntryId - the head object entry ID
      Returns:
      the number of matching object entries
    • findByObjectDefinitionId

      public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId)
      Returns all the object entries where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entries
    • findByObjectDefinitionId

      public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
      Returns a range of all the object entries where objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByObjectDefinitionId

      public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByObjectDefinitionId

      public static List<ObjectEntry> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByObjectDefinitionId_First

      public static ObjectEntry findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByObjectDefinitionId_First

      public static ObjectEntry fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByObjectDefinitionId

      public static void removeByObjectDefinitionId(long objectDefinitionId)
      Removes all the object entries where objectDefinitionId = ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
    • countByObjectDefinitionId

      public static int countByObjectDefinitionId(long objectDefinitionId)
      Returns the number of object entries where objectDefinitionId = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entries
    • findByG_ODI

      public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId)
      Returns all the object entries where groupId = ? and objectDefinitionId = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entries
    • findByG_ODI

      public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end)
      Returns a range of all the object entries where groupId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByG_ODI

      public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByG_ODI

      public static List<ObjectEntry> findByG_ODI(long groupId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByG_ODI_First

      public static ObjectEntry findByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByG_ODI_First

      public static ObjectEntry fetchByG_ODI_First(long groupId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByG_ODI

      public static void removeByG_ODI(long groupId, long objectDefinitionId)
      Removes all the object entries where groupId = ? and objectDefinitionId = ? from the database.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
    • countByG_ODI

      public static int countByG_ODI(long groupId, long objectDefinitionId)
      Returns the number of object entries where groupId = ? and objectDefinitionId = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entries
    • findByG_OEFI

      public static List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId)
      Returns all the object entries where groupId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      Returns:
      the matching object entries
    • findByG_OEFI

      public static List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end)
      Returns a range of all the object entries where groupId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByG_OEFI

      public static List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByG_OEFI

      public static List<ObjectEntry> findByG_OEFI(long groupId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where groupId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByG_OEFI_First

      public static ObjectEntry findByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByG_OEFI_First

      public static ObjectEntry fetchByG_OEFI_First(long groupId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where groupId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByG_OEFI

      public static void removeByG_OEFI(long groupId, long objectEntryFolderId)
      Removes all the object entries where groupId = ? and objectEntryFolderId = ? from the database.
      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
    • countByG_OEFI

      public static int countByG_OEFI(long groupId, long objectEntryFolderId)
      Returns the number of object entries where groupId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      objectEntryFolderId - the object entry folder ID
      Returns:
      the number of matching object entries
    • findByU_ODI

      public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId)
      Returns all the object entries where userId = ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entries
    • findByU_ODI

      public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end)
      Returns a range of all the object entries where userId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByU_ODI

      public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByU_ODI

      public static List<ObjectEntry> findByU_ODI(long userId, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where userId = ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByU_ODI_First

      public static ObjectEntry findByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByU_ODI_First

      public static ObjectEntry fetchByU_ODI_First(long userId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where userId = ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByU_ODI

      public static void removeByU_ODI(long userId, long objectDefinitionId)
      Removes all the object entries where userId = ? and objectDefinitionId = ? from the database.
      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
    • countByU_ODI

      public static int countByU_ODI(long userId, long objectDefinitionId)
      Returns the number of object entries where userId = ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entries
    • findByODI_NotS

      public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status)
      Returns all the object entries where objectDefinitionId = ? and status ≠ ?.
      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      Returns:
      the matching object entries
    • findByODI_NotS

      public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end)
      Returns a range of all the object entries where objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByODI_NotS

      public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByODI_NotS

      public static List<ObjectEntry> findByODI_NotS(long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByODI_NotS_First

      public static ObjectEntry findByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.
      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByODI_NotS_First

      public static ObjectEntry fetchByODI_NotS_First(long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where objectDefinitionId = ? and status ≠ ?.
      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByODI_NotS

      public static void removeByODI_NotS(long objectDefinitionId, int status)
      Removes all the object entries where objectDefinitionId = ? and status ≠ ? from the database.
      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
    • countByODI_NotS

      public static int countByODI_NotS(long objectDefinitionId, int status)
      Returns the number of object entries where objectDefinitionId = ? and status ≠ ?.
      Parameters:
      objectDefinitionId - the object definition ID
      status - the status
      Returns:
      the number of matching object entries
    • findByROEI_NotS

      public static List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status)
      Returns all the object entries where rootObjectEntryId = ? and status ≠ ?.
      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      Returns:
      the matching object entries
    • findByROEI_NotS

      public static List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status, int start, int end)
      Returns a range of all the object entries where rootObjectEntryId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByROEI_NotS

      public static List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where rootObjectEntryId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByROEI_NotS

      public static List<ObjectEntry> findByROEI_NotS(long rootObjectEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where rootObjectEntryId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByROEI_NotS_First

      public static ObjectEntry findByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.
      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByROEI_NotS_First

      public static ObjectEntry fetchByROEI_NotS_First(long rootObjectEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where rootObjectEntryId = ? and status ≠ ?.
      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByROEI_NotS

      public static void removeByROEI_NotS(long rootObjectEntryId, int status)
      Removes all the object entries where rootObjectEntryId = ? and status ≠ ? from the database.
      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
    • countByROEI_NotS

      public static int countByROEI_NotS(long rootObjectEntryId, int status)
      Returns the number of object entries where rootObjectEntryId = ? and status ≠ ?.
      Parameters:
      rootObjectEntryId - the root object entry ID
      status - the status
      Returns:
      the number of matching object entries
    • findByG_C_OEFI

      public static List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
      Returns all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      Returns:
      the matching object entries
    • findByG_C_OEFI

      public static List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end)
      Returns a range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByG_C_OEFI

      public static List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByG_C_OEFI

      public static List<ObjectEntry> findByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByG_C_OEFI_First

      public static ObjectEntry findByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByG_C_OEFI_First

      public static ObjectEntry fetchByG_C_OEFI_First(long groupId, long companyId, long objectEntryFolderId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where groupId = ? and companyId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByG_C_OEFI

      public static void removeByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
      Removes all the object entries where groupId = ? and companyId = ? and objectEntryFolderId = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
    • countByG_C_OEFI

      public static int countByG_C_OEFI(long groupId, long companyId, long objectEntryFolderId)
      Returns the number of object entries where groupId = ? and companyId = ? and objectEntryFolderId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      objectEntryFolderId - the object entry folder ID
      Returns:
      the number of matching object entries
    • findByG_ODI_S

      public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status)
      Returns all the object entries where groupId = ? and objectDefinitionId = ? and status = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      Returns:
      the matching object entries
    • findByG_ODI_S

      public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end)
      Returns a range of all the object entries where groupId = ? and objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByG_ODI_S

      public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByG_ODI_S

      public static List<ObjectEntry> findByG_ODI_S(long groupId, long objectDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where groupId = ? and objectDefinitionId = ? 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByG_ODI_S_First

      public static ObjectEntry findByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByG_ODI_S_First

      public static ObjectEntry fetchByG_ODI_S_First(long groupId, long objectDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where groupId = ? and objectDefinitionId = ? and status = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByG_ODI_S

      public static void removeByG_ODI_S(long groupId, long objectDefinitionId, int status)
      Removes all the object entries where groupId = ? and objectDefinitionId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
    • countByG_ODI_S

      public static int countByG_ODI_S(long groupId, long objectDefinitionId, int status)
      Returns the number of object entries where groupId = ? and objectDefinitionId = ? and status = ?.
      Parameters:
      groupId - the group ID
      objectDefinitionId - the object definition ID
      status - the status
      Returns:
      the number of matching object entries
    • findByU_GtCD_ODI

      public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
      Returns all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entries
    • findByU_GtCD_ODI

      public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end)
      Returns a range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of matching object entries
    • findByU_GtCD_ODI

      public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching object entries
    • findByU_GtCD_ODI

      public static List<ObjectEntry> findByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries where userId = ? and createDate > ? and objectDefinitionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • findByU_GtCD_ODI_First

      public static ObjectEntry findByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator) throws NoSuchObjectEntryException
      Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry
    • fetchByU_GtCD_ODI_First

      public static ObjectEntry fetchByU_GtCD_ODI_First(long userId, Date createDate, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns the first object entry in the ordered set where userId = ? and createDate > ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object entry, or null if a matching object entry could not be found
    • removeByU_GtCD_ODI

      public static void removeByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
      Removes all the object entries where userId = ? and createDate > ? and objectDefinitionId = ? from the database.
      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
    • countByU_GtCD_ODI

      public static int countByU_GtCD_ODI(long userId, Date createDate, long objectDefinitionId)
      Returns the number of object entries where userId = ? and createDate > ? and objectDefinitionId = ?.
      Parameters:
      userId - the user ID
      createDate - the create date
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entries
    • findByERC_G_C_ODI

      public static ObjectEntry findByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException
      Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entry
    • fetchByERC_G_C_ODI

      public static ObjectEntry fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
      Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • fetchByERC_G_C_ODI

      public static ObjectEntry fetchByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId, boolean useFinderCache)
      Returns the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      companyId - the company ID
      objectDefinitionId - the object definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching object entry, or null if a matching object entry could not be found
    • removeByERC_G_C_ODI

      public static ObjectEntry removeByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId) throws NoSuchObjectEntryException
      Removes the object entry where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the object entry that was removed
      Throws:
      NoSuchObjectEntryException
    • countByERC_G_C_ODI

      public static int countByERC_G_C_ODI(String externalReferenceCode, long groupId, long companyId, long objectDefinitionId)
      Returns the number of object entries where externalReferenceCode = ? and groupId = ? and companyId = ? and objectDefinitionId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the number of matching object entries
    • cacheResult

      public static void cacheResult(ObjectEntry objectEntry)
      Caches the object entry in the entity cache if it is enabled.
      Parameters:
      objectEntry - the object entry
    • cacheResult

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

      public static ObjectEntry create(long objectEntryId)
      Creates a new object entry with the primary key. Does not add the object entry to the database.
      Parameters:
      objectEntryId - the primary key for the new object entry
      Returns:
      the new object entry
    • remove

      public static ObjectEntry remove(long objectEntryId) throws NoSuchObjectEntryException
      Removes the object entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      objectEntryId - the primary key of the object entry
      Returns:
      the object entry that was removed
    • updateImpl

      public static ObjectEntry updateImpl(ObjectEntry objectEntry)
    • findByPrimaryKey

      public static ObjectEntry findByPrimaryKey(long objectEntryId) throws NoSuchObjectEntryException
      Returns the object entry with the primary key or throws a NoSuchObjectEntryException if it could not be found.
      Parameters:
      objectEntryId - the primary key of the object entry
      Returns:
      the object entry
    • fetchByPrimaryKey

      public static ObjectEntry fetchByPrimaryKey(long objectEntryId)
      Returns the object entry with the primary key or returns null if it could not be found.
      Parameters:
      objectEntryId - the primary key of the object entry
      Returns:
      the object entry, or null if a object entry with the primary key could not be found
    • findAll

      public static List<ObjectEntry> findAll()
      Returns all the object entries.
      Returns:
      the object entries
    • findAll

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

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      Returns:
      the range of object entries
    • findAll

      public static List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator)
      Returns an ordered range of all the object entries.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of object entries
    • findAll

      public static List<ObjectEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the object entries.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.object.model.impl.ObjectEntryModelImpl.

      Parameters:
      start - the lower bound of the range of object entries
      end - the upper bound of the range of object entries (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 entries
    • removeAll

      public static void removeAll()
      Removes all the object entries from the database.
    • countAll

      public static int countAll()
      Returns the number of object entries.
      Returns:
      the number of object entries
    • getPersistence

      public static ObjectEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectEntryPersistence persistence)