Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class RepositoryEntryPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<RepositoryEntry>
      extended by com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<RepositoryEntry>, RepositoryEntryPersistence

public class RepositoryEntryPersistenceImpl
extends BasePersistenceImpl<RepositoryEntry>
implements RepositoryEntryPersistence

The persistence implementation for the repository entry service.

Caching information and settings can be found in portal.properties

See Also:
RepositoryEntryPersistence, RepositoryEntryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_R_M
           
static FinderPath FINDER_PATH_COUNT_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_R_M
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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
RepositoryEntryPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the repository entry persistence.
 void cacheResult(List<RepositoryEntry> repositoryEntries)
          Caches the repository entries in the entity cache if it is enabled.
 void cacheResult(RepositoryEntry repositoryEntry)
          Caches the repository entry in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(RepositoryEntry repositoryEntry)
           
 void clearCache()
          Clears the cache for all repository entries.
 void clearCache(List<RepositoryEntry> repositoryEntries)
          Clears the cache for a List instances of this model.
 void clearCache(RepositoryEntry repositoryEntry)
          Clears the cache for the repository entry.
protected  void clearUniqueFindersCache(RepositoryEntry repositoryEntry)
           
 int countAll()
          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 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 = ?.
 int countByUuid(String uuid)
          Returns the number of repository entries where uuid = ?.
 RepositoryEntry create(long repositoryEntryId)
          Creates a new repository entry with the primary key.
 void destroy()
           
 RepositoryEntry fetchByPrimaryKey(long repositoryEntryId)
          Returns the repository entry with the primary key or returns null if it could not be found.
 RepositoryEntry fetchByPrimaryKey(Serializable primaryKey)
          Returns the repository entry with the primary key or returns null if it could not be found.
 RepositoryEntry fetchByR_M(long repositoryId, String mappedId)
          Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found.
 RepositoryEntry fetchByR_M(long repositoryId, String mappedId, boolean retrieveFromCache)
          Returns the repository entry where repositoryId = ? and mappedId = ? or returns null if it could not be found, optionally using the finder cache.
 RepositoryEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where repositoryId = ?.
 RepositoryEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where repositoryId = ?.
 RepositoryEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
 RepositoryEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
 RepositoryEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where uuid = ?.
 RepositoryEntry fetchByUUID_G(String uuid, long groupId)
          Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found.
 RepositoryEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the repository entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 RepositoryEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where uuid = ?.
 List<RepositoryEntry> findAll()
          Returns all the repository entries.
 List<RepositoryEntry> findAll(int start, int end)
          Returns a range of all the repository entries.
 List<RepositoryEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the repository entries.
 RepositoryEntry findByPrimaryKey(long repositoryEntryId)
          Returns the repository entry with the primary key or throws a NoSuchRepositoryEntryException if it could not be found.
 RepositoryEntry findByPrimaryKey(Serializable primaryKey)
          Returns the repository entry with the primary key or throws a NoSuchModelException if it could not be found.
 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.
 RepositoryEntry findByRepositoryId_First(long repositoryId, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where repositoryId = ?.
 RepositoryEntry findByRepositoryId_Last(long repositoryId, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where repositoryId = ?.
 RepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId, long repositoryId, OrderByComparator orderByComparator)
          Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.
 List<RepositoryEntry> findByRepositoryId(long repositoryId)
          Returns all the repository entries where repositoryId = ?.
 List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end)
          Returns a range of all the repository entries where repositoryId = ?.
 List<RepositoryEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the repository entries where repositoryId = ?.
 RepositoryEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.
 RepositoryEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.
 RepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the repository entries before and after the current repository entry in the ordered set where uuid = ? and companyId = ?.
 List<RepositoryEntry> findByUuid_C(String uuid, long companyId)
          Returns all the repository entries where uuid = ? and companyId = ?.
 List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the repository entries where uuid = ? and companyId = ?.
 List<RepositoryEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the repository entries where uuid = ? and companyId = ?.
 RepositoryEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first repository entry in the ordered set where uuid = ?.
 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.
 RepositoryEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last repository entry in the ordered set where uuid = ?.
 RepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId, String uuid, OrderByComparator orderByComparator)
          Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.
 List<RepositoryEntry> findByUuid(String uuid)
          Returns all the repository entries where uuid = ?.
 List<RepositoryEntry> findByUuid(String uuid, int start, int end)
          Returns a range of all the repository entries where uuid = ?.
 List<RepositoryEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the repository entries where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  RepositoryEntry getByRepositoryId_PrevAndNext(Session session, RepositoryEntry repositoryEntry, long repositoryId, OrderByComparator orderByComparator, boolean previous)
           
protected  RepositoryEntry getByUuid_C_PrevAndNext(Session session, RepositoryEntry repositoryEntry, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  RepositoryEntry getByUuid_PrevAndNext(Session session, RepositoryEntry repositoryEntry, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 RepositoryEntry remove(long repositoryEntryId)
          Removes the repository entry with the primary key from the database.
 RepositoryEntry remove(Serializable primaryKey)
          Removes the repository entry with the primary key from the database.
 void removeAll()
          Removes all the repository entries from the database.
 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 removeByUuid_C(String uuid, long companyId)
          Removes all the repository entries where uuid = ? and companyId = ? from the database.
 RepositoryEntry removeByUUID_G(String uuid, long groupId)
          Removes the repository entry where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the repository entries where uuid = ? from the database.
protected  RepositoryEntry removeImpl(RepositoryEntry repositoryEntry)
          Removes the model instance from the database.
protected  RepositoryEntry toUnwrappedModel(RepositoryEntry repositoryEntry)
           
 RepositoryEntry updateImpl(RepositoryEntry repositoryEntry)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
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.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

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

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_REPOSITORYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_REPOSITORYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID

FINDER_PATH_COUNT_BY_REPOSITORYID

public static final FinderPath FINDER_PATH_COUNT_BY_REPOSITORYID

FINDER_PATH_FETCH_BY_R_M

public static final FinderPath FINDER_PATH_FETCH_BY_R_M

FINDER_PATH_COUNT_BY_R_M

public static final FinderPath FINDER_PATH_COUNT_BY_R_M
Constructor Detail

RepositoryEntryPersistenceImpl

public RepositoryEntryPersistenceImpl()
Method Detail

findByUuid

public List<RepositoryEntry> findByUuid(String uuid)
                                 throws SystemException
Returns all the repository entries where uuid = ?.

Specified by:
findByUuid in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
Returns:
the matching repository entries
Throws:
SystemException - if a system exception occurred

findByUuid

public List<RepositoryEntry> findByUuid(String uuid,
                                        int start,
                                        int end)
                                 throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid

public List<RepositoryEntry> findByUuid(String uuid,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_First

public RepositoryEntry findByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchRepositoryEntryException,
                                        SystemException
Returns the first repository entry in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public RepositoryEntry fetchByUuid_First(String uuid,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first repository entry in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public RepositoryEntry findByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchRepositoryEntryException,
                                       SystemException
Returns the last repository entry in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public RepositoryEntry fetchByUuid_Last(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last repository entry in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public RepositoryEntry[] findByUuid_PrevAndNext(long repositoryEntryId,
                                                String uuid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchRepositoryEntryException,
                                                SystemException
Returns the repository entries before and after the current repository entry in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface 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:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected RepositoryEntry getByUuid_PrevAndNext(Session session,
                                                RepositoryEntry repositoryEntry,
                                                String uuid,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

removeByUuid

public void removeByUuid(String uuid)
                  throws SystemException
Removes all the repository entries where uuid = ? from the database.

Specified by:
removeByUuid in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
Returns the number of repository entries where uuid = ?.

Specified by:
countByUuid in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching repository entries
Throws:
SystemException - if a system exception occurred

findByUUID_G

public RepositoryEntry findByUUID_G(String uuid,
                                    long groupId)
                             throws NoSuchRepositoryEntryException,
                                    SystemException
Returns the repository entry where uuid = ? and groupId = ? or throws a NoSuchRepositoryEntryException if it could not be found.

Specified by:
findByUUID_G in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public RepositoryEntry fetchByUUID_G(String uuid,
                                     long groupId)
                              throws SystemException
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 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
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public RepositoryEntry fetchByUUID_G(String uuid,
                                     long groupId,
                                     boolean retrieveFromCache)
                              throws SystemException
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 RepositoryEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching repository entry, or null if a matching repository entry could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public RepositoryEntry removeByUUID_G(String uuid,
                                      long groupId)
                               throws NoSuchRepositoryEntryException,
                                      SystemException
Removes the repository entry where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the repository entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchRepositoryEntryException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of repository entries where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching repository entries
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<RepositoryEntry> findByUuid_C(String uuid,
                                          long companyId)
                                   throws SystemException
Returns all the repository entries where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching repository entries
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<RepositoryEntry> findByUuid_C(String uuid,
                                          long companyId,
                                          int start,
                                          int end)
                                   throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_C

public List<RepositoryEntry> findByUuid_C(String uuid,
                                          long companyId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public RepositoryEntry findByUuid_C_First(String uuid,
                                          long companyId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchRepositoryEntryException,
                                          SystemException
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface 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:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public RepositoryEntry fetchByUuid_C_First(String uuid,
                                           long companyId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns the first repository entry in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_First in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public RepositoryEntry findByUuid_C_Last(String uuid,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchRepositoryEntryException,
                                         SystemException
Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface 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:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public RepositoryEntry fetchByUuid_C_Last(String uuid,
                                          long companyId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Returns the last repository entry in the ordered set where uuid = ? and companyId = ?.

Specified by:
fetchByUuid_C_Last in interface 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
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

public RepositoryEntry[] findByUuid_C_PrevAndNext(long repositoryEntryId,
                                                  String uuid,
                                                  long companyId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchRepositoryEntryException,
                                                  SystemException
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 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:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_C_PrevAndNext

protected RepositoryEntry getByUuid_C_PrevAndNext(Session session,
                                                  RepositoryEntry repositoryEntry,
                                                  String uuid,
                                                  long companyId,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
                    throws SystemException
Removes all the repository entries where uuid = ? and companyId = ? from the database.

Specified by:
removeByUuid_C in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
                  throws SystemException
Returns the number of repository entries where uuid = ? and companyId = ?.

Specified by:
countByUuid_C in interface RepositoryEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching repository entries
Throws:
SystemException - if a system exception occurred

findByRepositoryId

public List<RepositoryEntry> findByRepositoryId(long repositoryId)
                                         throws SystemException
Returns all the repository entries where repositoryId = ?.

Specified by:
findByRepositoryId in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
Returns:
the matching repository entries
Throws:
SystemException - if a system exception occurred

findByRepositoryId

public List<RepositoryEntry> findByRepositoryId(long repositoryId,
                                                int start,
                                                int end)
                                         throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByRepositoryId in interface 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
Throws:
SystemException - if a system exception occurred

findByRepositoryId

public List<RepositoryEntry> findByRepositoryId(long repositoryId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByRepositoryId in interface 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
Throws:
SystemException - if a system exception occurred

findByRepositoryId_First

public RepositoryEntry findByRepositoryId_First(long repositoryId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchRepositoryEntryException,
                                                SystemException
Returns the first repository entry in the ordered set where repositoryId = ?.

Specified by:
findByRepositoryId_First in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByRepositoryId_First

public RepositoryEntry fetchByRepositoryId_First(long repositoryId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first repository entry in the ordered set where repositoryId = ?.

Specified by:
fetchByRepositoryId_First in interface 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
Throws:
SystemException - if a system exception occurred

findByRepositoryId_Last

public RepositoryEntry findByRepositoryId_Last(long repositoryId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchRepositoryEntryException,
                                               SystemException
Returns the last repository entry in the ordered set where repositoryId = ?.

Specified by:
findByRepositoryId_Last in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByRepositoryId_Last

public RepositoryEntry fetchByRepositoryId_Last(long repositoryId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last repository entry in the ordered set where repositoryId = ?.

Specified by:
fetchByRepositoryId_Last in interface 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
Throws:
SystemException - if a system exception occurred

findByRepositoryId_PrevAndNext

public RepositoryEntry[] findByRepositoryId_PrevAndNext(long repositoryEntryId,
                                                        long repositoryId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchRepositoryEntryException,
                                                        SystemException
Returns the repository entries before and after the current repository entry in the ordered set where repositoryId = ?.

Specified by:
findByRepositoryId_PrevAndNext in interface 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:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

getByRepositoryId_PrevAndNext

protected RepositoryEntry getByRepositoryId_PrevAndNext(Session session,
                                                        RepositoryEntry repositoryEntry,
                                                        long repositoryId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

removeByRepositoryId

public void removeByRepositoryId(long repositoryId)
                          throws SystemException
Removes all the repository entries where repositoryId = ? from the database.

Specified by:
removeByRepositoryId in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
Throws:
SystemException - if a system exception occurred

countByRepositoryId

public int countByRepositoryId(long repositoryId)
                        throws SystemException
Returns the number of repository entries where repositoryId = ?.

Specified by:
countByRepositoryId in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
Returns:
the number of matching repository entries
Throws:
SystemException - if a system exception occurred

findByR_M

public RepositoryEntry findByR_M(long repositoryId,
                                 String mappedId)
                          throws NoSuchRepositoryEntryException,
                                 SystemException
Returns the repository entry where repositoryId = ? and mappedId = ? or throws a NoSuchRepositoryEntryException if it could not be found.

Specified by:
findByR_M in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
mappedId - the mapped ID
Returns:
the matching repository entry
Throws:
NoSuchRepositoryEntryException - if a matching repository entry could not be found
SystemException - if a system exception occurred

fetchByR_M

public RepositoryEntry fetchByR_M(long repositoryId,
                                  String mappedId)
                           throws SystemException
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 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
Throws:
SystemException - if a system exception occurred

fetchByR_M

public RepositoryEntry fetchByR_M(long repositoryId,
                                  String mappedId,
                                  boolean retrieveFromCache)
                           throws SystemException
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 RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
mappedId - the mapped ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching repository entry, or null if a matching repository entry could not be found
Throws:
SystemException - if a system exception occurred

removeByR_M

public RepositoryEntry removeByR_M(long repositoryId,
                                   String mappedId)
                            throws NoSuchRepositoryEntryException,
                                   SystemException
Removes the repository entry where repositoryId = ? and mappedId = ? from the database.

Specified by:
removeByR_M in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
mappedId - the mapped ID
Returns:
the repository entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchRepositoryEntryException

countByR_M

public int countByR_M(long repositoryId,
                      String mappedId)
               throws SystemException
Returns the number of repository entries where repositoryId = ? and mappedId = ?.

Specified by:
countByR_M in interface RepositoryEntryPersistence
Parameters:
repositoryId - the repository ID
mappedId - the mapped ID
Returns:
the number of matching repository entries
Throws:
SystemException - if a system exception occurred

cacheResult

public void cacheResult(RepositoryEntry repositoryEntry)
Caches the repository entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface RepositoryEntryPersistence
Parameters:
repositoryEntry - the repository entry

cacheResult

public void cacheResult(List<RepositoryEntry> repositoryEntries)
Caches the repository entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface 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 BasePersistence<RepositoryEntry>
Overrides:
clearCache in class BasePersistenceImpl<RepositoryEntry>

clearCache

public void clearCache(RepositoryEntry repositoryEntry)
Clears the cache for the repository entry.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<RepositoryEntry>
Overrides:
clearCache in class BasePersistenceImpl<RepositoryEntry>
Parameters:
repositoryEntry - the instance of this model to clear the cache for

clearCache

public void clearCache(List<RepositoryEntry> repositoryEntries)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<RepositoryEntry>
Overrides:
clearCache in class BasePersistenceImpl<RepositoryEntry>
Parameters:
repositoryEntries - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(RepositoryEntry repositoryEntry)

clearUniqueFindersCache

protected void clearUniqueFindersCache(RepositoryEntry repositoryEntry)

create

public 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 RepositoryEntryPersistence
Parameters:
repositoryEntryId - the primary key for the new repository entry
Returns:
the new repository entry

remove

public RepositoryEntry remove(long repositoryEntryId)
                       throws NoSuchRepositoryEntryException,
                              SystemException
Removes the repository entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface RepositoryEntryPersistence
Parameters:
repositoryEntryId - the primary key of the repository entry
Returns:
the repository entry that was removed
Throws:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

remove

public RepositoryEntry remove(Serializable primaryKey)
                       throws NoSuchRepositoryEntryException,
                              SystemException
Removes the repository entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<RepositoryEntry>
Overrides:
remove in class BasePersistenceImpl<RepositoryEntry>
Parameters:
primaryKey - the primary key of the repository entry
Returns:
the repository entry that was removed
Throws:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected RepositoryEntry removeImpl(RepositoryEntry repositoryEntry)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<RepositoryEntry>
Parameters:
repositoryEntry - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public RepositoryEntry updateImpl(RepositoryEntry repositoryEntry)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface RepositoryEntryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<RepositoryEntry>
Parameters:
repositoryEntry - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected RepositoryEntry toUnwrappedModel(RepositoryEntry repositoryEntry)

findByPrimaryKey

public RepositoryEntry findByPrimaryKey(Serializable primaryKey)
                                 throws NoSuchRepositoryEntryException,
                                        SystemException
Returns the repository entry with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<RepositoryEntry>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<RepositoryEntry>
Parameters:
primaryKey - the primary key of the repository entry
Returns:
the repository entry
Throws:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public RepositoryEntry findByPrimaryKey(long repositoryEntryId)
                                 throws NoSuchRepositoryEntryException,
                                        SystemException
Returns the repository entry with the primary key or throws a NoSuchRepositoryEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface RepositoryEntryPersistence
Parameters:
repositoryEntryId - the primary key of the repository entry
Returns:
the repository entry
Throws:
NoSuchRepositoryEntryException - if a repository entry with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public RepositoryEntry fetchByPrimaryKey(Serializable primaryKey)
                                  throws SystemException
Returns the repository entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<RepositoryEntry>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<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
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public RepositoryEntry fetchByPrimaryKey(long repositoryEntryId)
                                  throws SystemException
Returns the repository entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface 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
Throws:
SystemException - if a system exception occurred

findAll

public List<RepositoryEntry> findAll()
                              throws SystemException
Returns all the repository entries.

Specified by:
findAll in interface RepositoryEntryPersistence
Returns:
the repository entries
Throws:
SystemException - if a system exception occurred

findAll

public List<RepositoryEntry> findAll(int start,
                                     int end)
                              throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface 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
Throws:
SystemException - if a system exception occurred

findAll

public List<RepositoryEntry> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from RepositoryEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface 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
Throws:
SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws SystemException
Removes all the repository entries from the database.

Specified by:
removeAll in interface RepositoryEntryPersistence
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of repository entries.

Specified by:
countAll in interface RepositoryEntryPersistence
Returns:
the number of repository entries
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<RepositoryEntry>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the repository entry persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5