Style Intelligence v12.0

inetsoft.report.pdf
Class PDFEncryptInfo

java.lang.Object
  extended by inetsoft.report.pdf.PDFEncryptInfo

public class PDFEncryptInfo
extends Object

This class holds the PDF encrypt info attributes. It can be set in PDFPrinter to encrypt the generated PDF file.


Constructor Summary
PDFEncryptInfo()
           
 
Method Summary
 String getOwnerPassword()
          Get the owner password(plain text).
 int getPermissionCode()
          Get the permission code.
 String getUserPassword()
          Get the user password(plain text).
 boolean isAddPermitted()
          Check if the add content operation permitted.
 boolean isChangePermitted()
          Check if the change content operation permitted.
 boolean isCopyPermitted()
          Check if the copy content operation permitted.
 boolean isEncrypted()
          Check if encrypt enabled.
 boolean isPrintPermitted()
          Check if print permitted.
 void setAddPermission(boolean perm)
          Set the add content permission.
 void setChangePermission(boolean perm)
          Set the change content permission.
 void setCopyPermission(boolean perm)
          Set the copy content operation permission.
 void setOwnerPassword(String password)
          Set owner password(plain text).
 void setPrintPermission(boolean perm)
          Set the print permission;
 void setUserPassword(String password)
          Set the user password(plain text).
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PDFEncryptInfo

public PDFEncryptInfo()
Method Detail

isEncrypted

public boolean isEncrypted()
Check if encrypt enabled.


setOwnerPassword

public void setOwnerPassword(String password)
Set owner password(plain text).


getOwnerPassword

public String getOwnerPassword()
Get the owner password(plain text).


setUserPassword

public void setUserPassword(String password)
Set the user password(plain text).


getUserPassword

public String getUserPassword()
Get the user password(plain text).


getPermissionCode

public int getPermissionCode()
Get the permission code.


setPrintPermission

public void setPrintPermission(boolean perm)
Set the print permission;


isPrintPermitted

public boolean isPrintPermitted()
Check if print permitted.


setChangePermission

public void setChangePermission(boolean perm)
Set the change content permission.


isChangePermitted

public boolean isChangePermitted()
Check if the change content operation permitted.


setCopyPermission

public void setCopyPermission(boolean perm)
Set the copy content operation permission.


isCopyPermitted

public boolean isCopyPermitted()
Check if the copy content operation permitted.


setAddPermission

public void setAddPermission(boolean perm)
Set the add content permission.


isAddPermitted

public boolean isAddPermitted()
Check if the add content operation permitted.


toString

public String toString()
Overrides:
toString in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.