@ProviderType public interface BackgroundTask extends BackgroundTaskModel, com.liferay.portal.kernel.model.PersistedModel
BackgroundTaskModel,
com.liferay.portal.background.task.model.impl.BackgroundTaskImpl,
com.liferay.portal.background.task.model.impl.BackgroundTaskModelImpl| Modifier and Type | Field and Description |
|---|---|
static com.liferay.portal.kernel.util.Accessor<BackgroundTask,java.lang.Long> |
BACKGROUND_TASK_ID_ACCESSOR |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(long userId,
java.lang.String fileName,
java.io.File file) |
void |
addAttachment(long userId,
java.lang.String fileName,
java.io.InputStream inputStream) |
com.liferay.portal.kernel.repository.model.Folder |
addAttachmentsFolder() |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getAttachmentsFileEntries() |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getAttachmentsFileEntries(int start,
int end) |
int |
getAttachmentsFileEntriesCount() |
long |
getAttachmentsFolderId() |
java.lang.String |
getStatusLabel() |
boolean |
isInProgress() |
clone, compareTo, getBackgroundTaskId, getCompanyId, getCompleted, getCompletionDate, getCreateDate, getExpandoBridge, getGroupId, getModifiedDate, getMvccVersion, getName, getPrimaryKey, getPrimaryKeyObj, getServletContextNames, getStatus, getStatusMessage, getTaskContextMap, getTaskExecutorClassName, getUserId, getUserName, getUserUuid, hashCode, isCachedModel, isCompleted, isEscapedModel, isNew, setBackgroundTaskId, setCachedModel, setCompanyId, setCompleted, setCompletionDate, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setModifiedDate, setMvccVersion, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setServletContextNames, setStatus, setStatusMessage, setTaskContextMap, setTaskExecutorClassName, setUserId, setUserName, setUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesstatic final com.liferay.portal.kernel.util.Accessor<BackgroundTask,java.lang.Long> BACKGROUND_TASK_ID_ACCESSOR
void addAttachment(long userId,
java.lang.String fileName,
java.io.File file)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionvoid addAttachment(long userId,
java.lang.String fileName,
java.io.InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionint getAttachmentsFileEntriesCount()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionlong getAttachmentsFolderId()
java.lang.String getStatusLabel()
boolean isInProgress()