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 Type
    Method
    Description
    create(long entryId)
    Creates a new entry with the primary key.
    fetchByPrimaryKey(long entryId)
    Returns the entry with the primary key or returns null if it could not be found.
    findByPrimaryKey(long entryId)
    Returns the entry with the primary key or throws a NoSuchEntryException if it could not be found.
    remove(long entryId)
    Removes the entry with the primary key from the database.
     

    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

      Entry create(long entryId)
      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

      Entry remove(long entryId) throws NoSuchEntryException
      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

      Entry updateImpl(Entry entry)
    • findByPrimaryKey

      Entry findByPrimaryKey(long entryId) throws NoSuchEntryException
      Returns the entry with the primary key or throws a NoSuchEntryException if 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

      Entry fetchByPrimaryKey(long entryId)
      Returns the entry with the primary key or returns null if it could not be found.
      Parameters:
      entryId - the primary key of the entry
      Returns:
      the entry, or null if a entry with the primary key could not be found