Interface BackgroundTask
public interface BackgroundTask
- Author:
- Michael C. Han
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttachment
(long userId, String fileName, File file) void
addAttachment
(long userId, String fileName, InputStream inputStream) int
long
long
long
long
BaseModel<?>
getModel()
getName()
int
long
boolean
boolean
void
setTaskContextMap
(Map<String, Serializable> taskContextMap)
-
Method Details
-
addAttachment
- Throws:
PortalException
-
addAttachment
- Throws:
PortalException
-
addAttachmentsFolder
- Throws:
PortalException
-
getAttachmentsFileEntries
- Throws:
PortalException
-
getAttachmentsFileEntriesCount
- Throws:
PortalException
-
getAttachmentsFolderId
long getAttachmentsFolderId() -
getBackgroundTaskId
long getBackgroundTaskId() -
getCompanyId
long getCompanyId() -
getCompletionDate
Date getCompletionDate() -
getCreateDate
Date getCreateDate() -
getGroupId
long getGroupId() -
getModel
BaseModel<?> getModel() -
getName
String getName() -
getServletContextNames
String getServletContextNames() -
getStatus
int getStatus() -
getStatusLabel
String getStatusLabel() -
getStatusMessage
String getStatusMessage() -
getTaskContextMap
Map<String,Serializable> getTaskContextMap() -
getTaskExecutorClassName
String getTaskExecutorClassName() -
getUserId
long getUserId() -
isCompleted
boolean isCompleted() -
isInProgress
boolean isInProgress() -
setTaskContextMap
-