java.lang.Object
com.liferay.portal.reports.engine.console.service.persistence.EntryUtil

public class EntryUtil extends Object
The persistence utility for the entry service. This utility wraps com.liferay.portal.reports.engine.console.service.persistence.impl.EntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • EntryUtil

      public EntryUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<Entry> entries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(Entry entry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(Entry entry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,Entry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<Entry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<Entry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<Entry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Entry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static Entry update(Entry entry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static Entry update(Entry entry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • create

      public static 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

      public static 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
    • updateImpl

      public static Entry updateImpl(Entry entry)
    • findByPrimaryKey

      public static 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
    • fetchByPrimaryKey

      public static 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
    • getPersistence

      public static EntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(EntryPersistence persistence)