Interface BackgroundTask
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,BackgroundTaskModel,com.liferay.portal.kernel.model.BaseModel<BackgroundTask>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<BackgroundTask>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Implementing Classes:
BackgroundTaskWrapper
@ProviderType
public interface BackgroundTask
extends BackgroundTaskModel, com.liferay.portal.kernel.model.PersistedModel
The extended model interface for the BackgroundTask service. Represents a row in the "BackgroundTask" database table, with each column mapped to a property of this class.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.liferay.portal.kernel.util.Accessor<BackgroundTask, Long> -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(long userId, String fileName, File file) voidaddAttachment(long userId, String fileName, InputStream inputStream) com.liferay.portal.kernel.repository.model.FolderList<com.liferay.portal.kernel.repository.model.FileEntry> List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) intlongbooleanMethods inherited from interface com.liferay.portal.background.task.model.BackgroundTaskModel
cloneWithOriginalValues, 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, toXmlStringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persist
-
Field Details
-
BACKGROUND_TASK_ID_ACCESSOR
static final com.liferay.portal.kernel.util.Accessor<BackgroundTask,Long> BACKGROUND_TASK_ID_ACCESSOR
-
-
Method Details
-
addAttachment
void addAttachment(long userId, String fileName, File file) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAttachment
void addAttachment(long userId, String fileName, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addAttachmentsFolder
com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntriesCount
int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
long getAttachmentsFolderId() -
getStatusLabel
String getStatusLabel() -
isInProgress
boolean isInProgress()
-