com.liferay.portal.kernel.backgroundtask
Interface BackgroundTask
public interface BackgroundTask
addAttachment
void addAttachment(long userId,
String fileName,
File file)
throws PortalException
- Throws:
PortalException
addAttachment
void addAttachment(long userId,
String fileName,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
addAttachmentsFolder
Folder addAttachmentsFolder()
throws PortalException
- Throws:
PortalException
getAttachmentsFileEntries
List<FileEntry> getAttachmentsFileEntries()
throws PortalException
- Throws:
PortalException
getAttachmentsFileEntriesCount
int getAttachmentsFileEntriesCount()
throws PortalException
- 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
void setTaskContextMap(Map<String,Serializable> taskContextMap)