Style Intelligence v12.0

inetsoft.sree.schedule
Class ArchiveInfo

java.lang.Object
  extended by inetsoft.sree.schedule.ArchiveInfo
All Implemented Interfaces:
inetsoft.sree.internal.HttpXMLSerializable, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class ArchiveInfo
extends Object
implements Cloneable, Serializable, inetsoft.sree.internal.HttpXMLSerializable

ArchiveInfo stores information on saving in archive options.

See Also:
Serialized Form

Constructor Summary
ArchiveInfo()
          Create an empty object.
 
Method Summary
 String byteDecode(String encString)
          Convert the encoded string to the original unencoded string.
 String byteEncode(String source)
          Encode non-ascii characters to unicode enclosed in '[]'.
 Object clone()
           
 boolean equals(Object val)
           
 String getArchiveComment()
          Get the comment associated with this report.
 int getArchiveFormat()
          Get the format to save the report in archive.
 String getArchivePath()
          Get the path in the archive to save a report.
 Permission getArchivePermission()
          Get the saved copy's permission.
 ArchiveRule getArchiveRule()
          Get the archive rule of the saved report.
 boolean isEncoding()
          Check if this object should encoded when writing.
 void parseXML(Element aelem)
          Parse the replet action definition from xml.
 void setArchiveComment(String comment)
          Set the comment associated with this report.
 void setArchiveFormat(int format)
          Set the format to save the report in archive.
 void setArchivePath(String path)
          Set the path in the archive to save a report.
 void setArchivePermission(Permission perm)
          Set the permission in the archive to save a report.
 void setArchiveRule(ArchiveRule rule)
          Set the archive rule of the saved report.
 void setEncoding(boolean encoding)
          Set encoding flag.
 void writeXML(PrintWriter writer)
          Write itself to a xml file
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveInfo

public ArchiveInfo()
Create an empty object.

Method Detail

setArchivePath

public void setArchivePath(String path)
Set the path in the archive to save a report.


getArchivePath

public String getArchivePath()
Get the path in the archive to save a report.


setArchiveFormat

public void setArchiveFormat(int format)
Set the format to save the report in archive.


getArchiveFormat

public int getArchiveFormat()
Get the format to save the report in archive.


setArchivePermission

public void setArchivePermission(Permission perm)
Set the permission in the archive to save a report.


getArchivePermission

public Permission getArchivePermission()
Get the saved copy's permission.


setArchiveRule

public void setArchiveRule(ArchiveRule rule)
Set the archive rule of the saved report.


getArchiveRule

public ArchiveRule getArchiveRule()
Get the archive rule of the saved report.


setArchiveComment

public void setArchiveComment(String comment)
Set the comment associated with this report.


getArchiveComment

public String getArchiveComment()
Get the comment associated with this report.


clone

public Object clone()
Overrides:
clone in class Object

writeXML

public void writeXML(PrintWriter writer)
Write itself to a xml file

Specified by:
writeXML in interface inetsoft.util.XMLSerializable

parseXML

public void parseXML(Element aelem)
              throws Exception
Parse the replet action definition from xml.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Throws:
Exception

equals

public boolean equals(Object val)
Overrides:
equals in class Object

byteEncode

public String byteEncode(String source)
Encode non-ascii characters to unicode enclosed in '[]'.

Specified by:
byteEncode in interface inetsoft.sree.internal.HttpXMLSerializable
Parameters:
source - source string.
Returns:
encoded string.

byteDecode

public String byteDecode(String encString)
Convert the encoded string to the original unencoded string.

Specified by:
byteDecode in interface inetsoft.sree.internal.HttpXMLSerializable
Parameters:
encString - a string encoded using the byteEncode method.
Returns:
original string.

isEncoding

public boolean isEncoding()
Check if this object should encoded when writing.

Specified by:
isEncoding in interface inetsoft.sree.internal.HttpXMLSerializable
Returns:
true if should encoded, false otherwise.

setEncoding

public void setEncoding(boolean encoding)
Set encoding flag.

Specified by:
setEncoding in interface inetsoft.sree.internal.HttpXMLSerializable
Parameters:
encoding - true to encode.

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