Class GetInfoUnauthDocumentResultJson
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.json.BaseJson
-
- com.blackberry.workspaces.sdk.api.json.GetInfoUnauthDocumentResultJson
-
- All Implemented Interfaces:
Serializable
public class GetInfoUnauthDocumentResultJson extends BaseJson
Result from getting informaton about an unauthorized file- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetInfoUnauthDocumentResultJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getAnnotatingUser()
String
getContentType()
Date
getCreationDate()
Date of creation.Date
getDeleteDate()
DocumentCurrentVersionJson
getDocumentCurrentVersion()
A json which represents the current version of the fileString
getEditorUrl()
URL to edit the document using WopiString
getGuid()
Signed GUID of a file, created by the server.Date
getLastUpdated()
Date of creation or last update of the file.Date
getModifiedDate()
Date of modified.String
getName()
File nameString
getOnlineEditorUrl()
Long
getOriginalSize()
Original size of file (bytes)String
getSender()
Sender's email addressString
getViewerUrl()
boolean
isIsSimplyShared()
Indicates that the file is available for download without authentication If false, all other fields might be invalidboolean
isSimplyShared()
Deprecated.void
setAnnotatingUser(String annotatingUser)
void
setContentType(String contentType)
void
setCreationDate(Date creationDate)
Date of creation.void
setDeleteDate(Date deleteDate)
void
setDocumentCurrentVersion(DocumentCurrentVersionJson documentCurrentVersion)
A json which represents the current version of the filevoid
setEditorUrl(String editorUrl)
URL to edit the document using Wopivoid
setGuid(String guid)
Signed GUID of a file, created by the server.void
setIsSimplyShared(boolean isSimplyShared)
Indicates that the file is available for download without authentication If false, all other fields might be invalidvoid
setLastUpdated(Date lastUpdated)
Date of creation or last update of the file.void
setModifiedDate(Date modifiedDate)
Date of modified.void
setName(String name)
File namevoid
setOnlineEditorUrl(String onlineEditorUrl)
void
setOriginalSize(Long originalSize)
Original size of file (bytes)void
setSender(String sender)
Sender's email addressvoid
setSimplyShared(boolean isSimplyShared)
Deprecated.void
setViewerUrl(String viewerUrl)
-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getOnlineEditorUrl
public String getOnlineEditorUrl()
-
setOnlineEditorUrl
public void setOnlineEditorUrl(String onlineEditorUrl)
-
getEditorUrl
public String getEditorUrl()
URL to edit the document using Wopi- Returns:
- URL to edit the document using Wopi
-
setEditorUrl
public void setEditorUrl(String editorUrl)
URL to edit the document using Wopi- Parameters:
editorUrl
- URL to edit the document using Wopi
-
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.
-
getViewerUrl
public String getViewerUrl()
-
setViewerUrl
public void setViewerUrl(String viewerUrl)
-
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
-
getLastUpdated
public Date getLastUpdated()
Date of creation or last update of the file.- Returns:
- Date of creation or last update of the file.
-
setLastUpdated
public void setLastUpdated(Date lastUpdated)
Date of creation or last update of the file.- Parameters:
lastUpdated
- Date of creation or last update of the file.
-
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.
-
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)
-
isIsSimplyShared
public boolean isIsSimplyShared()
Indicates that the file is available for download without authentication If false, all other fields might be invalid- Returns:
- Indicates that the file is available for download without authentication If false, all other fields might be invalid
-
isSimplyShared
@Deprecated public boolean isSimplyShared()
Deprecated.Indicates that the file is available for download without authentication If false, all other fields might be invalid- Returns:
- Indicates that the file is available for download without authentication If false, all other fields might be invalid
-
setIsSimplyShared
public void setIsSimplyShared(boolean isSimplyShared)
Indicates that the file is available for download without authentication If false, all other fields might be invalid- Parameters:
isSimplyShared
- Indicates that the file is available for download without authentication If false, all other fields might be invalid
-
setSimplyShared
@Deprecated public void setSimplyShared(boolean isSimplyShared)
Deprecated.Indicates that the file is available for download without authentication If false, all other fields might be invalid- Parameters:
isSimplyShared
- Indicates that the file is available for download without authentication If false, all other fields might be invalid
-
getAnnotatingUser
public String getAnnotatingUser()
-
setAnnotatingUser
public void setAnnotatingUser(String annotatingUser)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getDeleteDate
public Date getDeleteDate()
-
setDeleteDate
public void setDeleteDate(Date deleteDate)
-
-