public class DDMStructureBackgroundTask extends java.lang.Object implements BackgroundTask
| Constructor and Description |
|---|
DDMStructureBackgroundTask(long structureId) |
| 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() |
int |
getAttachmentsFileEntriesCount() |
long |
getAttachmentsFolderId() |
long |
getBackgroundTaskId() |
long |
getCompanyId() |
java.util.Date |
getCompletionDate() |
java.util.Date |
getCreateDate() |
long |
getGroupId() |
BaseModel<?> |
getModel() |
java.lang.String |
getName() |
java.lang.String |
getServletContextNames() |
int |
getStatus() |
java.lang.String |
getStatusLabel() |
java.lang.String |
getStatusMessage() |
java.util.Map<java.lang.String,java.io.Serializable> |
getTaskContextMap() |
java.lang.String |
getTaskExecutorClassName() |
long |
getUserId() |
boolean |
isCompleted() |
boolean |
isInProgress() |
void |
setTaskContextMap(java.util.Map<java.lang.String,java.io.Serializable> taskContextMap) |
public void addAttachment(long userId,
java.lang.String fileName,
java.io.File file)
throws PortalException
addAttachment in interface BackgroundTaskPortalExceptionpublic void addAttachment(long userId,
java.lang.String fileName,
java.io.InputStream inputStream)
throws PortalException
addAttachment in interface BackgroundTaskPortalExceptionpublic Folder addAttachmentsFolder() throws PortalException
addAttachmentsFolder in interface BackgroundTaskPortalExceptionpublic java.util.List<FileEntry> getAttachmentsFileEntries() throws PortalException
getAttachmentsFileEntries in interface BackgroundTaskPortalExceptionpublic int getAttachmentsFileEntriesCount()
throws PortalException
getAttachmentsFileEntriesCount in interface BackgroundTaskPortalExceptionpublic long getAttachmentsFolderId()
getAttachmentsFolderId in interface BackgroundTaskpublic long getBackgroundTaskId()
getBackgroundTaskId in interface BackgroundTaskpublic long getCompanyId()
getCompanyId in interface BackgroundTaskpublic java.util.Date getCompletionDate()
getCompletionDate in interface BackgroundTaskpublic java.util.Date getCreateDate()
getCreateDate in interface BackgroundTaskpublic long getGroupId()
getGroupId in interface BackgroundTaskpublic BaseModel<?> getModel()
getModel in interface BackgroundTaskpublic java.lang.String getName()
getName in interface BackgroundTaskpublic java.lang.String getServletContextNames()
getServletContextNames in interface BackgroundTaskpublic int getStatus()
getStatus in interface BackgroundTaskpublic java.lang.String getStatusLabel()
getStatusLabel in interface BackgroundTaskpublic java.lang.String getStatusMessage()
getStatusMessage in interface BackgroundTaskpublic java.util.Map<java.lang.String,java.io.Serializable> getTaskContextMap()
getTaskContextMap in interface BackgroundTaskpublic java.lang.String getTaskExecutorClassName()
getTaskExecutorClassName in interface BackgroundTaskpublic long getUserId()
getUserId in interface BackgroundTaskpublic boolean isCompleted()
isCompleted in interface BackgroundTaskpublic boolean isInProgress()
isInProgress in interface BackgroundTaskpublic void setTaskContextMap(java.util.Map<java.lang.String,java.io.Serializable> taskContextMap)
setTaskContextMap in interface BackgroundTask