@ProviderType public interface BackgroundTask extends BackgroundTaskModel, PersistedModel
BackgroundTaskModel| Modifier and Type | Field and Description |
|---|---|
static 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) |
Folder |
addAttachmentsFolder() |
java.util.List<FileEntry> |
getAttachmentsFileEntries() |
java.util.List<FileEntry> |
getAttachmentsFileEntries(int start,
int end) |
int |
getAttachmentsFileEntriesCount() |
long |
getAttachmentsFolderId() |
java.lang.String |
getStatusLabel() |
boolean |
isInProgress() |
getBackgroundTaskId, getCompanyId, getCompleted, getCompletionDate, getCreateDate, getGroupId, getModifiedDate, getMvccVersion, getName, getPrimaryKey, getServletContextNames, getStatus, getStatusMessage, getTaskContextMap, getTaskExecutorClassName, getUserId, getUserName, getUserUuid, isCompleted, setBackgroundTaskId, setCompanyId, setCompleted, setCompletionDate, setCreateDate, setGroupId, setModifiedDate, setMvccVersion, setName, setPrimaryKey, setServletContextNames, setStatus, setStatusMessage, setTaskContextMap, setTaskExecutorClassName, setUserId, setUserName, setUserUuidclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepersiststatic final Accessor<BackgroundTask,java.lang.Long> BACKGROUND_TASK_ID_ACCESSOR
void addAttachment(long userId,
java.lang.String fileName,
java.io.File file)
throws PortalException
PortalExceptionvoid addAttachment(long userId,
java.lang.String fileName,
java.io.InputStream inputStream)
throws PortalException
PortalExceptionFolder addAttachmentsFolder() throws PortalException
PortalExceptionjava.util.List<FileEntry> getAttachmentsFileEntries() throws PortalException
PortalExceptionjava.util.List<FileEntry> getAttachmentsFileEntries(int start, int end) throws PortalException
PortalExceptionint getAttachmentsFileEntriesCount()
throws PortalException
PortalExceptionlong getAttachmentsFolderId()
java.lang.String getStatusLabel()
boolean isInProgress()