public class BoxLock extends BoxTypedObject
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_CREATED_BY |
static String |
FIELD_EXPIRES_AT |
static String |
FIELD_FILE |
static String |
FIELD_IS_DOWNLOAD_PREVENTED |
static String |
FIELD_LOCK_TYPE |
static String |
FIELD_SERVICE_ACTION |
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE| Constructor and Description |
|---|
BoxLock()
Constructor.
|
BoxLock(BoxLock obj)
Copy constructor, this does deep copy for all the fields.
|
BoxLock(Map<String,Object> map)
Instantiate the object from a map.
|
| Modifier and Type | Method and Description |
|---|---|
BoxUser |
getCreatedBy() |
String |
getExpiresAt() |
BoxItem |
getFile() |
String |
getLockType() |
BoxServiceAction |
getServiceAction() |
Boolean |
isDownloadPrevented() |
void |
setCreatedBy(BoxUser createdBy) |
void |
setDownloadPrevented(Boolean lockType) |
void |
setExpiresAt(String expiresAt) |
void |
setFile(BoxItem file) |
void |
setLockType(String lockType) |
void |
setServiceAction(BoxServiceAction serviceAction) |
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setTypecontains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAlltoJSONStringpublic static final String FIELD_CREATED_BY
public static final String FIELD_FILE
public static final String FIELD_EXPIRES_AT
public static final String FIELD_LOCK_TYPE
public static final String FIELD_IS_DOWNLOAD_PREVENTED
public static final String FIELD_SERVICE_ACTION
public BoxLock()
public BoxLock(BoxLock obj)
obj - public BoxUser getCreatedBy()
public void setCreatedBy(BoxUser createdBy)
public BoxItem getFile()
public void setFile(BoxItem file)
public String getExpiresAt()
public void setExpiresAt(String expiresAt)
public String getLockType()
public void setLockType(String lockType)
public Boolean isDownloadPrevented()
public void setDownloadPrevented(Boolean lockType)
public BoxServiceAction getServiceAction()
public void setServiceAction(BoxServiceAction serviceAction)
Copyright © 2015 Nuxeo SA. All rights reserved.