public interface BackgroundTask
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(long userId,
String fileName,
File file) |
void |
addAttachment(long userId,
String fileName,
InputStream inputStream) |
Folder |
addAttachmentsFolder() |
List<FileEntry> |
getAttachmentsFileEntries() |
int |
getAttachmentsFileEntriesCount() |
long |
getAttachmentsFolderId() |
long |
getBackgroundTaskId() |
long |
getCompanyId() |
Date |
getCompletionDate() |
Date |
getCreateDate() |
long |
getGroupId() |
BaseModel<?> |
getModel() |
String |
getName() |
String |
getServletContextNames() |
int |
getStatus() |
String |
getStatusLabel() |
String |
getStatusMessage() |
Map<String,Serializable> |
getTaskContextMap() |
String |
getTaskExecutorClassName() |
long |
getUserId() |
boolean |
isCompleted() |
boolean |
isInProgress() |
void |
setTaskContextMap(Map<String,Serializable> taskContextMap) |
void addAttachment(long userId, String fileName, File file) throws PortalException
PortalException
void addAttachment(long userId, String fileName, InputStream inputStream) throws PortalException
PortalException
Folder addAttachmentsFolder() throws PortalException
PortalException
List<FileEntry> getAttachmentsFileEntries() throws PortalException
PortalException
int getAttachmentsFileEntriesCount() throws PortalException
PortalException
long getAttachmentsFolderId()
long getBackgroundTaskId()
long getCompanyId()
Date getCompletionDate()
Date getCreateDate()
long getGroupId()
BaseModel<?> getModel()
String getName()
String getServletContextNames()
int getStatus()
String getStatusLabel()
String getStatusMessage()
Map<String,Serializable> getTaskContextMap()
String getTaskExecutorClassName()
long getUserId()
boolean isCompleted()
boolean isInProgress()
void setTaskContextMap(Map<String,Serializable> taskContextMap)