Class RepositoryEntryPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
com.liferay.portal.service.persistence.impl.RepositoryEntryPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>, com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence

public class RepositoryEntryPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry> implements com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
The persistence implementation for the repository entry service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the repository entry persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
    Caches the repository entry in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.RepositoryEntry> repositoryEntries)
    Caches the repository entries in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all repository entries.
    void
    clearCache(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
    Clears the cache for the repository entry.
    void
    clearCache(List<com.liferay.portal.kernel.model.RepositoryEntry> repositoryEntries)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of repository entries.
    int
    countByR_M(long repositoryId, String mappedId)
    Returns the number of repository entries where repositoryId = ? and mappedId = ?.
    int
    countByRepositoryId(long repositoryId)
    Returns the number of repository entries where repositoryId = ?.
    int
    Returns the number of repository entries where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of repository entries where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of repository entries where uuid = ? and groupId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    create(long repositoryEntryId)
    Creates a new repository entry with the primary key.
    void
     
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByPrimaryKey(long repositoryEntryId)
    Returns the repository entry with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    Returns the repository entry with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.portal.kernel.model.RepositoryEntry>
     
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByR_M(long repositoryId, String mappedId)
    Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByR_M(long repositoryId, String mappedId, boolean useFinderCache)
    Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where repositoryId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where repositoryId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUUID_G(String uuid, long groupId)
    Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.portal.kernel.model.RepositoryEntry
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where uuid = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    Returns all the repository entries.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findAll(int start, int end)
    Returns a range of all the repository entries.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns an ordered range of all the repository entries.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the repository entries.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByPrimaryKey(long repositoryEntryId)
    Returns the repository entry with the primary key or throws a NoSuchRepositoryEntryException if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    Returns the repository entry with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByR_M(long repositoryId, String mappedId)
    Returns the repository entry where repositoryId = ? and mappedId = ? or throws a NoSuchRepositoryEntryException if it could not be found.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByRepositoryId(long repositoryId)
    Returns all the repository entries where repositoryId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByRepositoryId(long repositoryId, int start, int end)
    Returns a range of all the repository entries where repositoryId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns an ordered range of all the repository entries where repositoryId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the repository entries where repositoryId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where repositoryId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where repositoryId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry[]
    findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    Returns all the repository entries where uuid = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the repository entries where uuid = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns an ordered range of all the repository entries where uuid = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the repository entries where uuid = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid_C(String uuid, long companyId)
    Returns all the repository entries where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the repository entries where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.RepositoryEntry>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry[]
    findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the repository entries before and after the current repository entry in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the first repository entry in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByUUID_G(String uuid, long groupId)
    Returns the repository entry where uuid = ? and groupId = ? or throws a NoSuchRepositoryEntryException if it could not be found.
    com.liferay.portal.kernel.model.RepositoryEntry
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the last repository entry in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.RepositoryEntry[]
    findByUuid_PrevAndNext(long repositoryEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
    Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.
     
    protected com.liferay.portal.kernel.model.RepositoryEntry
    getByRepositoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.RepositoryEntry
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.RepositoryEntry
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.portal.kernel.model.RepositoryEntry
    remove(long repositoryEntryId)
    Removes the repository entry with the primary key from the database.
    com.liferay.portal.kernel.model.RepositoryEntry
    remove(Serializable primaryKey)
    Removes the repository entry with the primary key from the database.
    void
    Removes all the repository entries from the database.
    com.liferay.portal.kernel.model.RepositoryEntry
    removeByR_M(long repositoryId, String mappedId)
    Removes the repository entry where repositoryId = ? and mappedId = ? from the database.
    void
    removeByRepositoryId(long repositoryId)
    Removes all the repository entries where repositoryId = ? from the database.
    void
    Removes all the repository entries where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the repository entries where uuid = ? and companyId = ? from the database.
    com.liferay.portal.kernel.model.RepositoryEntry
    removeByUUID_G(String uuid, long groupId)
    Removes the repository entry where uuid = ? and groupId = ? from the database.
    protected com.liferay.portal.kernel.model.RepositoryEntry
    removeImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
     
    com.liferay.portal.kernel.model.RepositoryEntry
    updateImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • RepositoryEntryPersistenceImpl

      public RepositoryEntryPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid(String uuid)
      Returns all the repository entries where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching repository entries
    • findByUuid

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      Returns:
      the range of matching repository entries
    • findByUuid

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching repository entries
    • findByUuid

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository 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 repository entries
    • findByUuid_First

      public com.liferay.portal.kernel.model.RepositoryEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the first repository entry in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByUuid_First

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the first repository entry in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry, or null if a matching repository entry could not be found
    • findByUuid_Last

      public com.liferay.portal.kernel.model.RepositoryEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the last repository entry in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByUuid_Last

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the last repository entry in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry, or null if a matching repository entry could not be found
    • findByUuid_PrevAndNext

      public com.liferay.portal.kernel.model.RepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the current repository entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.RepositoryEntry getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the repository entries where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of repository entries where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching repository entries
    • findByUUID_G

      public com.liferay.portal.kernel.model.RepositoryEntry findByUUID_G(String uuid, long groupId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entry where uuid = ? and groupId = ? or throws a NoSuchRepositoryEntryException if it could not be found.
      Specified by:
      findByUUID_G in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByUUID_G

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUUID_G(String uuid, long groupId)
      Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching repository entry, or null if a matching repository entry could not be found
    • fetchByUUID_G

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching repository entry, or null if a matching repository entry could not be found
    • removeByUUID_G

      public com.liferay.portal.kernel.model.RepositoryEntry removeByUUID_G(String uuid, long groupId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Removes the repository entry where uuid = ? and groupId = ? from the database.
      Specified by:
      removeByUUID_G in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the repository entry that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
    • countByUUID_G

      public int countByUUID_G(String uuid, long groupId)
      Returns the number of repository entries where uuid = ? and groupId = ?.
      Specified by:
      countByUUID_G in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching repository entries
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid_C(String uuid, long companyId)
      Returns all the repository entries where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching repository entries
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      Returns:
      the range of matching repository entries
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching repository entries
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository 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 repository entries
    • findByUuid_C_First

      public com.liferay.portal.kernel.model.RepositoryEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByUuid_C_First

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry, or null if a matching repository entry could not be found
    • findByUuid_C_Last

      public com.liferay.portal.kernel.model.RepositoryEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByUuid_C_Last

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry, or null if a matching repository entry could not be found
    • findByUuid_C_PrevAndNext

      public com.liferay.portal.kernel.model.RepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entries before and after the current repository entry in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the current repository entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.portal.kernel.model.RepositoryEntry getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
    • removeByUuid_C

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the repository entries where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of repository entries where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching repository entries
    • findByRepositoryId

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByRepositoryId(long repositoryId)
      Returns all the repository entries where repositoryId = ?.
      Specified by:
      findByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      Returns:
      the matching repository entries
    • findByRepositoryId

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end)
      Returns a range of all the repository entries where repositoryId = ?.

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

      Specified by:
      findByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      Returns:
      the range of matching repository entries
    • findByRepositoryId

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns an ordered range of all the repository entries where repositoryId = ?.

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

      Specified by:
      findByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching repository entries
    • findByRepositoryId

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the repository entries where repositoryId = ?.

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

      Specified by:
      findByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository 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 repository entries
    • findByRepositoryId_First

      public com.liferay.portal.kernel.model.RepositoryEntry findByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the first repository entry in the ordered set where repositoryId = ?.
      Specified by:
      findByRepositoryId_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByRepositoryId_First

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the first repository entry in the ordered set where repositoryId = ?.
      Specified by:
      fetchByRepositoryId_First in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching repository entry, or null if a matching repository entry could not be found
    • findByRepositoryId_Last

      public com.liferay.portal.kernel.model.RepositoryEntry findByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the last repository entry in the ordered set where repositoryId = ?.
      Specified by:
      findByRepositoryId_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByRepositoryId_Last

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns the last repository entry in the ordered set where repositoryId = ?.
      Specified by:
      fetchByRepositoryId_Last in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching repository entry, or null if a matching repository entry could not be found
    • findByRepositoryId_PrevAndNext

      public com.liferay.portal.kernel.model.RepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.
      Specified by:
      findByRepositoryId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the current repository entry
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • getByRepositoryId_PrevAndNext

      protected com.liferay.portal.kernel.model.RepositoryEntry getByRepositoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean previous)
    • removeByRepositoryId

      public void removeByRepositoryId(long repositoryId)
      Removes all the repository entries where repositoryId = ? from the database.
      Specified by:
      removeByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
    • countByRepositoryId

      public int countByRepositoryId(long repositoryId)
      Returns the number of repository entries where repositoryId = ?.
      Specified by:
      countByRepositoryId in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      Returns:
      the number of matching repository entries
    • findByR_M

      public com.liferay.portal.kernel.model.RepositoryEntry findByR_M(long repositoryId, String mappedId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entry where repositoryId = ? and mappedId = ? or throws a NoSuchRepositoryEntryException if it could not be found.
      Specified by:
      findByR_M in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      mappedId - the mapped ID
      Returns:
      the matching repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a matching repository entry could not be found
    • fetchByR_M

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByR_M(long repositoryId, String mappedId)
      Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByR_M in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      mappedId - the mapped ID
      Returns:
      the matching repository entry, or null if a matching repository entry could not be found
    • fetchByR_M

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByR_M(long repositoryId, String mappedId, boolean useFinderCache)
      Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByR_M in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      mappedId - the mapped ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching repository entry, or null if a matching repository entry could not be found
    • removeByR_M

      public com.liferay.portal.kernel.model.RepositoryEntry removeByR_M(long repositoryId, String mappedId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Removes the repository entry where repositoryId = ? and mappedId = ? from the database.
      Specified by:
      removeByR_M in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      mappedId - the mapped ID
      Returns:
      the repository entry that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
    • countByR_M

      public int countByR_M(long repositoryId, String mappedId)
      Returns the number of repository entries where repositoryId = ? and mappedId = ?.
      Specified by:
      countByR_M in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryId - the repository ID
      mappedId - the mapped ID
      Returns:
      the number of matching repository entries
    • cacheResult

      public void cacheResult(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
      Caches the repository entry in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
      Parameters:
      repositoryEntry - the repository entry
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.RepositoryEntry> repositoryEntries)
      Caches the repository entries in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntries - the repository entries
    • clearCache

      public void clearCache()
      Clears the cache for all repository entries.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
      Clears the cache for the repository entry.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.RepositoryEntry> repositoryEntries)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(RepositoryEntryModelImpl repositoryEntryModelImpl)
    • create

      public com.liferay.portal.kernel.model.RepositoryEntry create(long repositoryEntryId)
      Creates a new repository entry with the primary key. Does not add the repository entry to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key for the new repository entry
      Returns:
      the new repository entry
    • remove

      public com.liferay.portal.kernel.model.RepositoryEntry remove(long repositoryEntryId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Removes the repository entry with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the repository entry
      Returns:
      the repository entry that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.RepositoryEntry remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Removes the repository entry with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
      Parameters:
      primaryKey - the primary key of the repository entry
      Returns:
      the repository entry that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.RepositoryEntry removeImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • updateImpl

      public com.liferay.portal.kernel.model.RepositoryEntry updateImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.RepositoryEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entry with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
      Parameters:
      primaryKey - the primary key of the repository entry
      Returns:
      the repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.RepositoryEntry findByPrimaryKey(long repositoryEntryId) throws com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
      Returns the repository entry with the primary key or throws a NoSuchRepositoryEntryException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the repository entry
      Returns:
      the repository entry
      Throws:
      com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByPrimaryKey(Serializable primaryKey)
      Returns the repository entry with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
      Parameters:
      primaryKey - the primary key of the repository entry
      Returns:
      the repository entry, or null if a repository entry with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.RepositoryEntry fetchByPrimaryKey(long repositoryEntryId)
      Returns the repository entry with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      repositoryEntryId - the primary key of the repository entry
      Returns:
      the repository entry, or null if a repository entry with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.portal.kernel.model.RepositoryEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • findAll

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findAll()
      Returns all the repository entries.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Returns:
      the repository entries
    • findAll

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findAll(int start, int end)
      Returns a range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      Returns:
      the range of repository entries
    • findAll

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of repository entries
    • findAll

      public List<com.liferay.portal.kernel.model.RepositoryEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.RepositoryEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the repository 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 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 RepositoryEntryModelImpl.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Parameters:
      start - the lower bound of the range of repository entries
      end - the upper bound of the range of repository 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 repository entries
    • removeAll

      public void removeAll()
      Removes all the repository entries from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
    • countAll

      public int countAll()
      Returns the number of repository entries.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
      Returns:
      the number of repository entries
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • getCTColumnNames

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the repository entry persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry>