|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.livecycle.rightsmanagement.re.UsageRights
public class UsageRights
Represents individual rights that can be applied to a rights-enabled PDF document. Rights-enabled PDF documents contain a usage rights dictionary. When Adobe Reader opens a document containing such a dictionary, it enables the usage rights specified in the dictionary for that document only. For information about the usage rights dictionary, see PDF Reference.
| Constructor Summary | |
|---|---|
UsageRights()
Creates a new instance of a UsageRights object with all usage rights set to false. |
|
| Method Summary | |
|---|---|
boolean |
isEnabledBarcodeDecoding()
Specifies whether the enabledBarcodeDecoding right is set. |
boolean |
isEnabledComments()
Specifies whether the enabledComments right is set. |
boolean |
isEnabledCommentsOnline()
Specifies whether the enabledCommentsOnline right is set. |
boolean |
isEnabledDigitalSignatures()
Specifies whether the enabledDigitalSignatures right is set. |
boolean |
isEnabledDynamicFormFields()
Specifies whether the enabledDynamicFormFields right is set. |
boolean |
isEnabledDynamicFormPages()
Specifies whether the enabledDynamicFormPages right is set. |
boolean |
isEnabledEmbeddedFiles()
Specifies whether the enabledEmbeddedFiles right is set. |
boolean |
isEnabledFormDataImportExport()
Specifies whether the enabledFormDataImportExport right is set. |
boolean |
isEnabledFormFillIn()
Specifies whether the enabledFormFillIn right is set. |
boolean |
isEnabledOnlineForms()
Specifies whether the enabledOnlineForms right is set. |
boolean |
isEnabledSubmitStandalone()
Specifies whether the enabledSubmitStandalone right is set. |
boolean |
isLegacyEnableExportOnly()
|
boolean |
isLegacyEnableImportOnly()
|
void |
setEnabledBarcodeDecoding(boolean enabledBarcodeDecoding)
Sets the value of the enabledBarcodeDecoding right. |
void |
setEnabledComments(boolean enabledComments)
Sets the value of the enabledComments right. |
void |
setEnabledCommentsOnline(boolean enabledCommentsOnline)
Sets the value of the enabledCommentsOnline right. |
void |
setEnabledDigitalSignatures(boolean enabledDigitalSignatures)
Sets the value of the enabledDigitalSignatures right. |
void |
setEnabledDynamicFormFields(boolean enabledDynamicFormFields)
Sets the enabledDynamicFormFields right. |
void |
setEnabledDynamicFormPages(boolean enabledDynamicFormPages)
Sets the enabledDynamicFormPages right. |
void |
setEnabledEmbeddedFiles(boolean enabledEmbeddedFiles)
Sets the enabledEmbeddedFiles right. |
void |
setEnabledFormDataImportExport(boolean enabledFormDataImportExport)
Sets the enabledFormDataImportExport right. |
void |
setEnabledFormFillIn(boolean enabledFormFillIn)
Sets the enabledFormFillIn right. |
void |
setEnabledOnlineForms(boolean enabledOnlineForms)
Sets the enabledOnlineForms right. |
void |
setEnabledSubmitStandalone(boolean enabledSubmitStandalone)
Sets the enabledSubmitStandalone right. |
void |
setLegacyEnableExportOnly(boolean legacyEnableExportOnly)
|
void |
setLegacyEnableImportOnly(boolean legacyEnableImportOnly)
|
java.lang.String |
toString()
Converts this object to a string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UsageRights()
UsageRights object with all usage rights set to false.
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEnabledBarcodeDecoding()
enabledBarcodeDecoding right is set. If set, this method
returns true. This right enables the PDF document to use barcoded forms within
Adobe Reader.
enabledBarcodeDecoding right is set.enableBarcodeDecodingpublic void setEnabledBarcodeDecoding(boolean enabledBarcodeDecoding)
enabledBarcodeDecoding right. This right enables the PDF
document to use barcoded forms within Adobe Reader.
enabledBarcodeDecoding - A Boolean value that sets the the enabledBarcodeDecoding right.isEnabledBarcodeDecodingpublic boolean isEnabledComments()
enabledComments right is set. If set, this method returns true.
When applied to a document, this right enables a user to add comments within Adobe Reader.
enabledComments right is set.enableCommentspublic void setEnabledComments(boolean enabledComments)
enabledComments right. When applied to a document, this right
enables a user to add comments within Adobe Reader.
enabledComments - A Boolean value that sets the the enabledComments right.isEnabledCommentspublic boolean isEnabledCommentsOnline()
enabledCommentsOnline right is set. If set, this method returns
true. When applied to a document, this right enables a user to add comments within Adobe Reader while online.
enabledCommentsOnline right is set.enableCommentsOnlinepublic void setEnabledCommentsOnline(boolean enabledCommentsOnline)
enabledCommentsOnline right. When applied to a document,
this right enables a user to add comments within Adobe Reader while online.
enabledCommentsOnline - A Boolean value that sets the enabledCommentsOnline right.isEnabledCommentsOnlinepublic boolean isEnabledDigitalSignatures()
enabledDigitalSignatures right is set. If set, this method
returns true. This right enables a user to sign a PDF document within Adobe Reader.
enabledDigitalSignatures right is set.enableDigitalSignaturespublic void setEnabledDigitalSignatures(boolean enabledDigitalSignatures)
enabledDigitalSignatures right. This right enables a user to
sign a PDF document within Adobe Reader.
enabledDigitalSignatures - A Boolean value that sets the enabledDigitalSignatures right.isEnabledDigitalSignaturespublic boolean isEnabledDynamicFormFields()
enabledDynamicFormFields right is set. If set, this method
returns true. When applied to a document, this right enables a user to work with
dynamic form fields within Adobe Reader.
enabledDynamicFormFields right is set.enableDynamicFormFieldspublic void setEnabledDynamicFormFields(boolean enabledDynamicFormFields)
enabledDynamicFormFields right. When applied to a document, this right
enables a user to work with dynamic form fields within Adobe Reader.
enabledDynamicFormFields - A Boolean value that sets the enabledDynamicFormFields right.isEnabledDynamicFormFieldspublic boolean isEnabledDynamicFormPages()
enabledDynamicFormPages right is set.
enabledDynamicFormPages right is set.public void setEnabledDynamicFormPages(boolean enabledDynamicFormPages)
enabledDynamicFormPages right.
enabledDynamicFormPages - A Boolean value that sets the enabledDynamicFormPages right.public boolean isEnabledEmbeddedFiles()
enabledEmbeddedFiles right is set. If set, this method returns
true. When applied to a document, this right enables a user to attach file attachments
to a PDF document within Adobe Reader.
enabledEmbeddedFiles right is set.public void setEnabledEmbeddedFiles(boolean enabledEmbeddedFiles)
enabledEmbeddedFiles right. When applied to a document, this right
enables a user to attach file attachments to a PDF document within Adobe Reader.
enabledEmbeddedFiles - A Boolean value that sets the enabledEmbeddedFiles right.public boolean isEnabledFormDataImportExport()
enabledFormDataImportExport right is set. If set, this method
returns true. When applied to a document, this right enables a user to import and
export form data from a PDF document from within Adobe Reader.
enabledFormDataImportExport right is set.public void setEnabledFormDataImportExport(boolean enabledFormDataImportExport)
enabledFormDataImportExport right. When applied to a document, this
right enables a user to import and export form data from a PDF document from within
Adobe Reader.
enabledFormDataImportExport - A Boolean value that sets the enabledFormDataImportExport right.public boolean isEnabledFormFillIn()
enabledFormFillIn right is set. If set, this method returns
true. When applied to a document, this right enables a user to fill in form fields and
save the PDF document from within Adobe Reader.
public void setEnabledFormFillIn(boolean enabledFormFillIn)
enabledFormFillIn right. When applied to a document, this right enables a
user to fill in form fields and save the PDF document from within Adobe Reader.
enabledFormFillIn - A Boolean value that specifies whether the enabledFormFillIn right is set.public boolean isEnabledOnlineForms()
enabledOnlineForms right is set. If set, this method returns
true. When applied to a document, this right enables a user to interact with a form
while online.
enabledOnlineForms right is set.public void setEnabledOnlineForms(boolean enabledOnlineForms)
enabledOnlineForms right. When applied to a document,
this right enables a user to interact with a form while online.
enabledOnlineForms - A Boolean value that specifies whether the enabledOnlineForms right is set.public boolean isEnabledSubmitStandalone()
enabledSubmitStandalone right is set. If set, this method returns true.
When applied to a document, this right enables a user to submit information from a form within Adobe Reader.
enabledSubmitStandalone right is set.public void setEnabledSubmitStandalone(boolean enabledSubmitStandalone)
enabledSubmitStandalone right. When applied to a document, this right
enables a user to submit information from a form within Adobe Reader.
enabledSubmitStandalone - A Boolean value that specifies whether the enabledSubmitStandalone right is set.public boolean isLegacyEnableImportOnly()
public void setLegacyEnableImportOnly(boolean legacyEnableImportOnly)
legacyEnableImportOnly - the legacyEnableImportOnly to setpublic boolean isLegacyEnableExportOnly()
public void setLegacyEnableExportOnly(boolean legacyEnableExportOnly)
legacyEnableExportOnly - the legacyEnableExportOnly to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||