Class ExistingDocumentJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.ExistingDocumentJson
- All Implemented Interfaces:
Serializable
public class ExistingDocumentJson extends BaseJson
A file that exists, but with a new suggested name
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExistingDocumentJson()
-
Method Summary
Modifier and Type Method Description String
getDocumentGuid()
The guid of the existing fileBoolean
getLockedForUser()
Boolean
getPermitted()
Indicates if the caller is permitted to see the conflicting fileString
getSuggestedName()
A suggested name if the caller choose to submit in a new nameString
getVersionGuid()
The last version guid of the existing filevoid
setDocumentGuid(String documentGuid)
The guid of the existing filevoid
setLockedForUser(Boolean lockedForUser)
void
setPermitted(Boolean permitted)
Indicates if the caller is permitted to see the conflicting filevoid
setSuggestedName(String suggestedName)
A suggested name if the caller choose to submit in a new namevoid
setVersionGuid(String versionGuid)
The last version guid of the existing fileMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
ExistingDocumentJson
public ExistingDocumentJson()
-
-
Method Details
-
getPermitted
Indicates if the caller is permitted to see the conflicting file- Returns:
- Indicates if the caller is permitted to see the conflicting file
-
setPermitted
Indicates if the caller is permitted to see the conflicting file- Parameters:
permitted
- Indicates if the caller is permitted to see the conflicting file
-
getSuggestedName
A suggested name if the caller choose to submit in a new name- Returns:
- A suggested name if the caller choose to submit in a new name
-
setSuggestedName
A suggested name if the caller choose to submit in a new name- Parameters:
suggestedName
- A suggested name if the caller choose to submit in a new name
-
getLockedForUser
-
setLockedForUser
-
getVersionGuid
The last version guid of the existing file- Returns:
- The last version guid of the existing file
-
setVersionGuid
The last version guid of the existing file- Parameters:
versionGuid
- The last version guid of the existing file
-
getDocumentGuid
The guid of the existing file- Returns:
- The guid of the existing file
-
setDocumentGuid
The guid of the existing file- Parameters:
documentGuid
- The guid of the existing file
-