Interface BackgroundTask

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, BackgroundTaskModel, com.liferay.portal.kernel.model.BaseModel<BackgroundTask>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<BackgroundTask>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Implementing Classes:
BackgroundTaskWrapper

@ProviderType public interface BackgroundTask extends BackgroundTaskModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the BackgroundTask service. Represents a row in the "BackgroundTask" database table, with each column mapped to a property of this class.
See Also:
Generated:
  • Field Details

    • BACKGROUND_TASK_ID_ACCESSOR

      static final com.liferay.portal.kernel.util.Accessor<BackgroundTask,Long> BACKGROUND_TASK_ID_ACCESSOR
  • Method Details

    • addAttachment

      void addAttachment(long userId, String fileName, File file) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAttachment

      void addAttachment(long userId, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAttachmentsFolder

      com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntries

      List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntries

      List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntriesCount

      int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFolderId

      long getAttachmentsFolderId()
    • getStatusLabel

      String getStatusLabel()
    • isInProgress

      boolean isInProgress()