Package com.ironcorelabs.sdk
Class DocumentEncryptOpts
- java.lang.Object
-
- com.ironcorelabs.sdk.DocumentEncryptOpts
-
public final class DocumentEncryptOpts extends java.lang.Object
Options for document creation.
-
-
Constructor Summary
Constructors Constructor Description DocumentEncryptOpts()
DocumentEncryptOpts(DocumentId id, DocumentName name, boolean grantToAuthor, UserId[] userGrants, GroupId[] groupGrants, PolicyGrant policyGrant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
int
hashCode()
-
-
-
Constructor Detail
-
DocumentEncryptOpts
public DocumentEncryptOpts()
-
DocumentEncryptOpts
public DocumentEncryptOpts(DocumentId id, DocumentName name, boolean grantToAuthor, UserId[] userGrants, GroupId[] groupGrants, PolicyGrant policyGrant)
- Parameters:
id
- unique id of a document. If `null`, the server will assign an idname
- human readable name of the document. Does not need to be uniquegrantToAuthor
- Flag determining whether to encrypt to the calling user or not. If set to false at least one value must be present in the `grant` lists.userGrants
- list of user ids that will be granted access to the documentgroupGrants
- list of group ids that will be granted access to the documentpolicyGrant
- The policy labels which will be evaluated to determine grants.
-
-
Method Detail
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-