@ProviderType public interface BackgroundTask extends BackgroundTaskModel, com.liferay.portal.kernel.model.PersistedModel
BackgroundTaskModel
Modifier and Type | Field and Description |
---|---|
static com.liferay.portal.kernel.util.Accessor<BackgroundTask,java.lang.Long> |
BACKGROUND_TASK_ID_ACCESSOR
NOTE FOR DEVELOPERS:
Never modify this interface directly.
|
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) |
com.liferay.portal.kernel.repository.model.Folder |
addAttachmentsFolder() |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
getAttachmentsFileEntries() |
java.util.List<com.liferay.portal.kernel.repository.model.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, setUserUuid
clone, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
static final com.liferay.portal.kernel.util.Accessor<BackgroundTask,java.lang.Long> BACKGROUND_TASK_ID_ACCESSOR
com.liferay.portal.background.task.model.impl.BackgroundTaskImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.void addAttachment(long userId, java.lang.String fileName, java.io.File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void addAttachment(long userId, java.lang.String fileName, java.io.InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
long getAttachmentsFolderId()
java.lang.String getStatusLabel()
boolean isInProgress()