Class 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
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the repository entry persistence.intcountByR_M(long repositoryId, String mappedId) Returns the number of repository entries where repositoryId = ? and mappedId = ?.intcountByRepositoryId(long repositoryId) Returns the number of repository entries where repositoryId = ?.intcountByUuid(String uuid) Returns the number of repository entries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of repository entries where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of repository entries where uuid = ? and groupId = ?.com.liferay.portal.kernel.model.RepositoryEntrycreate(long repositoryEntryId) Creates a new repository entry with the primary key.voiddestroy()com.liferay.portal.kernel.model.RepositoryEntryfetchByPrimaryKey(long repositoryEntryId) Returns the repository entry with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.RepositoryEntryfetchByR_M(long repositoryId, String mappedId, boolean useFinderCache) Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.RepositoryEntryfetchByRepositoryId_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.RepositoryEntryfetchByUuid_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.RepositoryEntryfetchByUuid_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.RepositoryEntryfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the repository entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.RepositoryEntryfindByPrimaryKey(long repositoryEntryId) Returns the repository entry with the primary key or throws aNoSuchRepositoryEntryExceptionif it could not be found.com.liferay.portal.kernel.model.RepositoryEntryReturns the repository entry where repositoryId = ? and mappedId = ? or throws aNoSuchRepositoryEntryExceptionif it could not be found.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.RepositoryEntryfindByRepositoryId_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 = ?.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, 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.RepositoryEntryfindByUuid_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.RepositoryEntryfindByUuid_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.RepositoryEntryfindByUUID_G(String uuid, long groupId) Returns the repository entry where uuid = ? and groupId = ? or throws aNoSuchRepositoryEntryExceptionif it could not be found.getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelperprotected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.RepositoryEntryremove(long repositoryEntryId) Removes the repository entry with the primary key from the database.com.liferay.portal.kernel.model.RepositoryEntryremoveByR_M(long repositoryId, String mappedId) Removes the repository entry where repositoryId = ? and mappedId = ? from the database.voidremoveByRepositoryId(long repositoryId) Removes all the repository entries where repositoryId = ? from the database.voidremoveByUuid(String uuid) Removes all the repository entries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the repository entries where uuid = ? and companyId = ? from the database.com.liferay.portal.kernel.model.RepositoryEntryremoveByUUID_G(String uuid, long groupId) Removes the repository entry where uuid = ? and groupId = ? from the database.protected com.liferay.portal.kernel.model.RepositoryEntryremoveImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry) com.liferay.portal.kernel.model.RepositoryEntryupdateImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, cacheResult, cacheUniqueFindersResult, clearCache, clearCache, clearCache, clearCache, closeSession, convertCaseFunction, convertDateFunction, convertNullFunction, countAll, countWithDynamicQuery, countWithDynamicQuery, createUniqueFinderPath, dslQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDefaultOrderBySQL, getDefaultOrderBySQLInlineDistinct, getDialect, getEntityAlias, getEntityAliasPrefix, getFilterPKColumnName, getListeners, getModelClass, getModelImplClass, getNoSuchEntityWithKeyPrefix, getPKColumnName, getPKFieldName, isPermissionsInMemoryFilterEnabled, newNoSuchModelException, openNewSession, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence
fetchByR_M, fetchByUUID_G, findByRepositoryId, findByRepositoryId, findByRepositoryId, findByUuid, findByUuid, findByUuid, findByUuid_C, findByUuid_C, findByUuid_C
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of repository entriesend- the upper bound of the range of repository entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching repository entry, or
nullif a matching repository entry could not be found
-
removeByUuid
Removes all the repository entries where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of repository entries where uuid = ?.- Specified by:
countByUuidin interfacecom.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 aNoSuchRepositoryEntryExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidgroupId- 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, boolean useFinderCache) Returns the repository entry where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching repository entry, or
nullif 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_Gin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the repository entry that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
-
countByUUID_G
Returns the number of repository entries where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidgroupId- 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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of repository entriesend- the upper bound of the range of repository entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching repository entry, or
nullif a matching repository entry could not be found
-
removeByUuid_C
Removes all the repository entries where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of repository entries where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromRepositoryEntryModelImpl.- Specified by:
findByRepositoryIdin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDstart- the lower bound of the range of repository entriesend- the upper bound of the range of repository entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDorderByComparator- the comparator to order the set by (optionallynull)- 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_Firstin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching repository entry, or
nullif a matching repository entry could not be found
-
removeByRepositoryId
public void removeByRepositoryId(long repositoryId) Removes all the repository entries where repositoryId = ? from the database.- Specified by:
removeByRepositoryIdin interfacecom.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:
countByRepositoryIdin interfacecom.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 aNoSuchRepositoryEntryExceptionif it could not be found.- Specified by:
findByR_Min interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDmappedId- 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, boolean useFinderCache) Returns the repository entry where repositoryId = ? and mappedId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByR_Min interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDmappedId- the mapped IDuseFinderCache- whether to use the finder cache- Returns:
- the matching repository entry, or
nullif 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_Min interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDmappedId- the mapped ID- Returns:
- the repository entry that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException
-
countByR_M
Returns the number of repository entries where repositoryId = ? and mappedId = ?.- Specified by:
countByR_Min interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryId- the repository IDmappedId- the mapped ID- Returns:
- the number of matching repository entries
-
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:
createin interfacecom.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:
removein interfacecom.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
-
removeImpl
protected com.liferay.portal.kernel.model.RepositoryEntry removeImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
updateImpl
public com.liferay.portal.kernel.model.RepositoryEntry updateImpl(com.liferay.portal.kernel.model.RepositoryEntry repositoryEntry) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
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 aNoSuchRepositoryEntryExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.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
-
getCTPersistenceHelper
protected com.liferay.portal.kernel.service.persistence.change.tracking.helper.CTPersistenceHelper getCTPersistenceHelper()- Overrides:
getCTPersistenceHelperin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.RepositoryEntry fetchByPrimaryKey(long repositoryEntryId) Returns the repository entry with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.RepositoryEntryPersistence- Parameters:
repositoryEntryId- the primary key of the repository entry- Returns:
- the repository entry, or
nullif a repository entry with the primary key could not be found
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.RepositoryEntry>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.RepositoryEntry>- Overrides:
getTableNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.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:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.RepositoryEntry,com.liferay.portal.kernel.exception.NoSuchRepositoryEntryException>
-