Class SubmitIManageDocumentResultJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.SubmitIManageDocumentResultJson
-
- All Implemented Interfaces:
Serializable
public class SubmitIManageDocumentResultJson extends BaseJson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubmitIManageDocumentResultJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentAccessLevel
getAccessLevel()
Document Access Level.DocumentAnnotationsListJson
getAnnotationsList()
A json which represents the users who annotated the file, and the last update date of their annotationString
getClassification()
Classification, if exists.String
getContentType()
String
getConvertedName()
Converted name for fileDate
getCreationDate()
Date of creation.DocumentCurrentVersionJson
getDocumentCurrentVersion()
A json which represents the current version of the fileExistingDocumentJson
getExistingDocument()
DocumentExternalRepositoryDataJson
getExternalRepositoryData()
String
getFilename()
File name.String
getGuid()
Signed GUID of a file, created by the server.Integer
getId()
String
getItemId()
Date
getLastUpdated()
Date of creation or last update of the document.Date
getModifiedDate()
Date of modified.String
getName()
File nameLong
getOriginalSize()
Original size of file (bytes)String
getParentItemId()
String
getPath()
Path of the file in the transient external repositoryPdfConversionStatus
getPdfConversionStatus()
The status of PDF conversionInteger
getPendingRequests()
Number of pending requests to access the fileInteger
getPercentCompleted()
Progress status.PermissionsToUserJson
getPermissionsJson()
Permissions, in some contexts may be null.String
getPreviewUrl()
URL to preview the fileBoolean
getRead()
Will be true if the last file was read since its last update.String
getRoom()
Id of the workspace the file has been submitted to.Float
getScore()
The score of the file in the current searchBoolean
getSecureTransferFile()
String
getSender()
Sender's email addressBoolean
getStarred()
Will be true if the file was marked as starred (favorite).StatusJson
getStatus()
Status, status number and error string in case of error.TagListJson
getTagList()
Tags, if exist.String
getUrl()
URL of a (protected) file.String
getViewerUrl()
URL of a (protected) file for viewing .void
setAccessLevel(DocumentAccessLevel accessLevel)
Document Access Level.void
setAnnotationsList(DocumentAnnotationsListJson annotationsList)
A json which represents the users who annotated the file, and the last update date of their annotationvoid
setClassification(String classification)
Classification, if exists.void
setContentType(String contentType)
void
setConvertedName(String convertedName)
Converted name for filevoid
setCreationDate(Date creationDate)
Date of creation.void
setDocumentCurrentVersion(DocumentCurrentVersionJson documentCurrentVersion)
A json which represents the current version of the filevoid
setExistingDocument(ExistingDocumentJson existingDocument)
void
setExternalRepositoryData(DocumentExternalRepositoryDataJson externalRepositoryData)
void
setFilename(String filename)
File name.void
setGuid(String guid)
Signed GUID of a file, created by the server.void
setId(Integer id)
void
setItemId(String itemId)
void
setLastUpdated(Date lastUpdated)
Date of creation or last update of the document.void
setModifiedDate(Date modifiedDate)
Date of modified.void
setName(String name)
File namevoid
setOriginalSize(Long originalSize)
Original size of file (bytes)void
setParentItemId(String parentItemId)
void
setPath(String path)
Path of the file in the transient external repositoryvoid
setPdfConversionStatus(PdfConversionStatus pdfConversionStatus)
The status of PDF conversionvoid
setPendingRequests(Integer pendingRequests)
Number of pending requests to access the filevoid
setPercentCompleted(Integer percentCompleted)
Progress status.void
setPermissionsJson(PermissionsToUserJson permissionsJson)
Permissions, in some contexts may be null.void
setPreviewUrl(String previewUrl)
URL to preview the filevoid
setRead(Boolean read)
Will be true if the last file was read since its last update.void
setRoom(String room)
Id of the workspace the file has been submitted to.void
setScore(Float score)
The score of the file in the current searchvoid
setSecureTransferFile(Boolean secureTransferFile)
void
setSender(String sender)
Sender's email addressvoid
setStarred(Boolean starred)
Will be true if the file was marked as starred (favorite).void
setStatus(StatusJson status)
Status, status number and error string in case of error.void
setTagList(TagListJson tagList)
Tags, if exist.void
setUrl(String url)
URL of a (protected) file.void
setViewerUrl(String viewerUrl)
URL of a (protected) file for viewing .-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getPercentCompleted
public Integer getPercentCompleted()
Progress status.- Returns:
- Progress status.
-
setPercentCompleted
public void setPercentCompleted(Integer percentCompleted)
Progress status.- Parameters:
percentCompleted
- Progress status.
-
getPreviewUrl
public String getPreviewUrl()
URL to preview the file- Returns:
- URL to preview the file
-
setPreviewUrl
public void setPreviewUrl(String previewUrl)
URL to preview the file- Parameters:
previewUrl
- URL to preview the file
-
getPendingRequests
public Integer getPendingRequests()
Number of pending requests to access the file- Returns:
- Number of pending requests to access the file
-
setPendingRequests
public void setPendingRequests(Integer pendingRequests)
Number of pending requests to access the file- Parameters:
pendingRequests
- Number of pending requests to access the file
-
getPdfConversionStatus
public PdfConversionStatus getPdfConversionStatus()
The status of PDF conversion- Returns:
- The status of PDF conversion
-
setPdfConversionStatus
public void setPdfConversionStatus(PdfConversionStatus pdfConversionStatus)
The status of PDF conversion- Parameters:
pdfConversionStatus
- The status of PDF conversion
-
getLastUpdated
public Date getLastUpdated()
Date of creation or last update of the document.- Returns:
- Date of creation or last update of the document.
-
setLastUpdated
public void setLastUpdated(Date lastUpdated)
Date of creation or last update of the document.- Parameters:
lastUpdated
- Date of creation or last update of the document.
-
getPath
public String getPath()
Path of the file in the transient external repository- Returns:
- Path of the file in the transient external repository
-
setPath
public void setPath(String path)
Path of the file in the transient external repository- Parameters:
path
- Path of the file in the transient external repository
-
getScore
public Float getScore()
The score of the file in the current search- Returns:
- The score of the file in the current search
-
setScore
public void setScore(Float score)
The score of the file in the current search- Parameters:
score
- The score of the file in the current search
-
getExistingDocument
public ExistingDocumentJson getExistingDocument()
-
setExistingDocument
public void setExistingDocument(ExistingDocumentJson existingDocument)
-
getParentItemId
public String getParentItemId()
-
setParentItemId
public void setParentItemId(String parentItemId)
-
getConvertedName
public String getConvertedName()
Converted name for file- Returns:
- Converted name for file
-
setConvertedName
public void setConvertedName(String convertedName)
Converted name for file- Parameters:
convertedName
- Converted name for file
-
getStarred
public Boolean getStarred()
Will be true if the file was marked as starred (favorite).- Returns:
- Will be true if the file was marked as starred (favorite).
-
setStarred
public void setStarred(Boolean starred)
Will be true if the file was marked as starred (favorite).- Parameters:
starred
- Will be true if the file was marked as starred (favorite).
-
getExternalRepositoryData
public DocumentExternalRepositoryDataJson getExternalRepositoryData()
-
setExternalRepositoryData
public void setExternalRepositoryData(DocumentExternalRepositoryDataJson externalRepositoryData)
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getOriginalSize
public Long getOriginalSize()
Original size of file (bytes)- Returns:
- Original size of file (bytes)
-
setOriginalSize
public void setOriginalSize(Long originalSize)
Original size of file (bytes)- Parameters:
originalSize
- Original size of file (bytes)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getRead
public Boolean getRead()
Will be true if the last file was read since its last update.- Returns:
- Will be true if the last file was read since its last update.
-
setRead
public void setRead(Boolean read)
Will be true if the last file was read since its last update.- Parameters:
read
- Will be true if the last file was read since its last update.
-
getAccessLevel
public DocumentAccessLevel getAccessLevel()
Document Access Level. Levels are FULL, VIEWER, TRACKING, NONE.- Returns:
- Document Access Level. Levels are FULL, VIEWER, TRACKING, NONE.
-
setAccessLevel
public void setAccessLevel(DocumentAccessLevel accessLevel)
Document Access Level. Levels are FULL, VIEWER, TRACKING, NONE.- Parameters:
accessLevel
- Document Access Level. Levels are FULL, VIEWER, TRACKING, NONE.
-
getSecureTransferFile
public Boolean getSecureTransferFile()
-
setSecureTransferFile
public void setSecureTransferFile(Boolean secureTransferFile)
-
getViewerUrl
public String getViewerUrl()
URL of a (protected) file for viewing .- Returns:
- URL of a (protected) file for viewing .
-
setViewerUrl
public void setViewerUrl(String viewerUrl)
URL of a (protected) file for viewing .- Parameters:
viewerUrl
- URL of a (protected) file for viewing .
-
getPermissionsJson
public PermissionsToUserJson getPermissionsJson()
Permissions, in some contexts may be null.- Returns:
- Permissions, in some contexts may be null.
-
setPermissionsJson
public void setPermissionsJson(PermissionsToUserJson permissionsJson)
Permissions, in some contexts may be null.- Parameters:
permissionsJson
- Permissions, in some contexts may be null.
-
getClassification
public String getClassification()
Classification, if exists.- Returns:
- Classification, if exists.
-
setClassification
public void setClassification(String classification)
Classification, if exists.- Parameters:
classification
- Classification, if exists.
-
getCreationDate
public Date getCreationDate()
Date of creation.- Returns:
- Date of creation.
-
setCreationDate
public void setCreationDate(Date creationDate)
Date of creation.- Parameters:
creationDate
- Date of creation.
-
getDocumentCurrentVersion
public DocumentCurrentVersionJson getDocumentCurrentVersion()
A json which represents the current version of the file- Returns:
- A json which represents the current version of the file
-
setDocumentCurrentVersion
public void setDocumentCurrentVersion(DocumentCurrentVersionJson documentCurrentVersion)
A json which represents the current version of the file- Parameters:
documentCurrentVersion
- A json which represents the current version of the file
-
getRoom
public String getRoom()
Id of the workspace the file has been submitted to.- Returns:
- Id of the workspace the file has been submitted to.
-
setRoom
public void setRoom(String room)
Id of the workspace the file has been submitted to.- Parameters:
room
- Id of the workspace the file has been submitted to.
-
getUrl
public String getUrl()
URL of a (protected) file.- Returns:
- URL of a (protected) file.
-
setUrl
public void setUrl(String url)
URL of a (protected) file.- Parameters:
url
- URL of a (protected) file.
-
getTagList
public TagListJson getTagList()
Tags, if exist.- Returns:
- Tags, if exist.
-
setTagList
public void setTagList(TagListJson tagList)
Tags, if exist.- Parameters:
tagList
- Tags, if exist.
-
getItemId
public String getItemId()
-
setItemId
public void setItemId(String itemId)
-
getFilename
public String getFilename()
File name.- Returns:
- File name.
-
setFilename
public void setFilename(String filename)
File name.- Parameters:
filename
- File name.
-
getAnnotationsList
public DocumentAnnotationsListJson getAnnotationsList()
A json which represents the users who annotated the file, and the last update date of their annotation- Returns:
- A json which represents the users who annotated the file, and the last update date of their annotation
-
setAnnotationsList
public void setAnnotationsList(DocumentAnnotationsListJson annotationsList)
A json which represents the users who annotated the file, and the last update date of their annotation- Parameters:
annotationsList
- A json which represents the users who annotated the file, and the last update date of their annotation
-
getSender
public String getSender()
Sender's email address- Returns:
- Sender's email address
-
setSender
public void setSender(String sender)
Sender's email address- Parameters:
sender
- Sender's email address
-
getName
public String getName()
File name- Returns:
- File name
-
setName
public void setName(String name)
File name- Parameters:
name
- File name
-
getModifiedDate
public Date getModifiedDate()
Date of modified.- Returns:
- Date of modified.
-
setModifiedDate
public void setModifiedDate(Date modifiedDate)
Date of modified.- Parameters:
modifiedDate
- Date of modified.
-
getGuid
public String getGuid()
Signed GUID of a file, created by the server.- Returns:
- Signed GUID of a file, created by the server.
-
setGuid
public void setGuid(String guid)
Signed GUID of a file, created by the server.- Parameters:
guid
- Signed GUID of a file, created by the server.
-
getStatus
public StatusJson getStatus()
Status, status number and error string in case of error.- Returns:
- Status, status number and error string in case of error.
-
setStatus
public void setStatus(StatusJson status)
Status, status number and error string in case of error.- Parameters:
status
- Status, status number and error string in case of error.
-
-