Interface EntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<Entry>
@ProviderType
public interface EntryPersistence
extends com.liferay.portal.kernel.service.persistence.BasePersistence<Entry>
The persistence interface for the entry service.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptioncreate(long entryId) Creates a new entry with the primary key.fetchByPrimaryKey(long entryId) Returns the entry with the primary key or returnsnullif it could not be found.findByPrimaryKey(long entryId) Returns the entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.remove(long entryId) Removes the entry with the primary key from the database.updateImpl(Entry entry) Methods 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, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
create
Creates a new entry with the primary key. Does not add the entry to the database.- Parameters:
entryId- the primary key for the new entry- Returns:
- the new entry
-
remove
Removes the entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
entryId- the primary key of the entry- Returns:
- the entry that was removed
- Throws:
NoSuchEntryException- if a entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the entry with the primary key or throws aNoSuchEntryExceptionif it could not be found.- Parameters:
entryId- the primary key of the entry- Returns:
- the entry
- Throws:
NoSuchEntryException- if a entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the entry with the primary key or returnsnullif it could not be found.- Parameters:
entryId- the primary key of the entry- Returns:
- the entry, or
nullif a entry with the primary key could not be found
-