public class SFAsyncOperation extends SFODataObject
| Constructor and Description |
|---|
SFAsyncOperation() |
| Modifier and Type | Method and Description |
|---|---|
SFAccount |
getAccount()
ShareFile Account
|
SFZone |
getAuthorityZone()
Represents the Zone that is driving the asynchronous operation process.
|
java.lang.String |
getBatchID()
Batch Identifier for an asynchronous operation that includes multiple Items - for
example, a recursive Copy will create a single AsyncOp instance per file, all sharing
the same BatchID
|
java.lang.Double |
getBatchProgress()
BatchProgress indicates the progress of the Batch operation
|
java.lang.String |
getBatchSourceID()
Item ID used as source for the Batch operation
|
SFSafeEnum<SFAsyncOperationState> |
getBatchState()
Batch Operation state.
|
java.lang.String |
getBatchTargetID()
Item ID used as target for the Batch operation
|
java.lang.Integer |
getBatchTotal() |
java.util.Date |
getCreationDate()
Operation creation date
|
SFSafeEnum<SFAsyncOperationType> |
getOperation()
Operation type
|
SFItem |
getSource()
Source Item for the operation.
|
SFSafeEnum<SFAsyncOperationState> |
getState()
Operation state.
|
SFItem |
getTarget()
Target Item for the operation.
|
java.util.Date |
getUpdateDate()
Last time the operation state was modified
|
SFUser |
getUser()
User that initiated the operation
|
void |
setAccount(SFAccount account)
ShareFile Account
|
void |
setAuthorityZone(SFZone authorityzone)
Represents the Zone that is driving the asynchronous operation process.
|
void |
setBatchID(java.lang.String batchid)
Batch Identifier for an asynchronous operation that includes multiple Items - for
example, a recursive Copy will create a single AsyncOp instance per file, all sharing
the same BatchID
|
void |
setBatchProgress(java.lang.Double batchprogress)
BatchProgress indicates the progress of the Batch operation
|
void |
setBatchSourceID(java.lang.String batchsourceid)
Item ID used as source for the Batch operation
|
void |
setBatchState(SFSafeEnum<SFAsyncOperationState> batchstate)
Batch Operation state.
|
void |
setBatchTargetID(java.lang.String batchtargetid)
Item ID used as target for the Batch operation
|
void |
setBatchTotal(java.lang.Integer batchtotal) |
void |
setCreationDate(java.util.Date creationdate)
Operation creation date
|
void |
setOperation(SFSafeEnum<SFAsyncOperationType> operation)
Operation type
|
void |
setSource(SFItem source)
Source Item for the operation.
|
void |
setState(SFSafeEnum<SFAsyncOperationState> state)
Operation state.
|
void |
setTarget(SFItem target)
Target Item for the operation.
|
void |
setUpdateDate(java.util.Date updatedate)
Last time the operation state was modified
|
void |
setUser(SFUser user)
User that initiated the operation
|
addProperty, get__type, getId, getMetadataUrl, getProperties, geturl, set__type, setId, setMetadataUrl, setProperties, seturlpublic SFSafeEnum<SFAsyncOperationType> getOperation()
public void setOperation(SFSafeEnum<SFAsyncOperationType> operation)
public SFAccount getAccount()
public void setAccount(SFAccount account)
public SFZone getAuthorityZone()
public void setAuthorityZone(SFZone authorityzone)
public SFItem getSource()
public void setSource(SFItem source)
public SFUser getUser()
public void setUser(SFUser user)
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationdate)
public SFSafeEnum<SFAsyncOperationState> getState()
public void setState(SFSafeEnum<SFAsyncOperationState> state)
public java.util.Date getUpdateDate()
public void setUpdateDate(java.util.Date updatedate)
public SFItem getTarget()
public void setTarget(SFItem target)
public java.lang.String getBatchID()
public void setBatchID(java.lang.String batchid)
public java.lang.String getBatchSourceID()
public void setBatchSourceID(java.lang.String batchsourceid)
public java.lang.String getBatchTargetID()
public void setBatchTargetID(java.lang.String batchtargetid)
public java.lang.Double getBatchProgress()
public void setBatchProgress(java.lang.Double batchprogress)
public SFSafeEnum<SFAsyncOperationState> getBatchState()
public void setBatchState(SFSafeEnum<SFAsyncOperationState> batchstate)
public java.lang.Integer getBatchTotal()
public void setBatchTotal(java.lang.Integer batchtotal)