Class BaseSingleEntryBulkSelection<T>

java.lang.Object
com.liferay.bulk.selection.BaseSingleEntryBulkSelection<T>
All Implemented Interfaces:
BulkSelection<T>

public abstract class BaseSingleEntryBulkSelection<T> extends Object implements BulkSelection<T>
  • Constructor Details

    • BaseSingleEntryBulkSelection

      public BaseSingleEntryBulkSelection(long entryId, Map<String,String[]> parameterMap)
    • BaseSingleEntryBulkSelection

      @Deprecated public BaseSingleEntryBulkSelection(long entryId, Map<String,String[]> parameterMap, com.liferay.portal.kernel.resource.bundle.ResourceBundleLoader resourceBundleLoader, com.liferay.portal.kernel.language.Language language)
      Deprecated.
      As of Mueller (7.2.x), replaced by BaseSingleEntryBulkSelection(long, Map)
  • Method Details

    • forEach

      public <E extends com.liferay.portal.kernel.exception.PortalException> void forEach(com.liferay.petra.function.UnsafeConsumer<T,E> unsafeConsumer) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      forEach in interface BulkSelection<T>
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getParameterMap

      public Map<String,String[]> getParameterMap()
      Specified by:
      getParameterMap in interface BulkSelection<T>
    • getSize

      public long getSize()
      Specified by:
      getSize in interface BulkSelection<T>
    • serialize

      public Serializable serialize()
      Specified by:
      serialize in interface BulkSelection<T>
    • getEntry

      protected abstract T getEntry() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getEntryName

      protected abstract String getEntryName() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException