Style Intelligence v12.0

inetsoft.sree
Class RepletEntry

java.lang.Object
  extended by inetsoft.sree.RepositoryEntry
      extended by inetsoft.sree.RepletEntry
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Comparable

public class RepletEntry
extends RepositoryEntry

Represents a replet entry in the replet repository.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.sree.RepositoryEntry
ALL, ARCHIVE, ARCHIVED_REPORTS, CHANGE_FOLDER_OPERATION, COMPOSITE_ARCHIVE, FILE, FOLDER, LIVE_REPORTS, PROTOTYPE_FOLDER, REMOVE_OPERATION, RENAME_OPERATION, REPLET, REPOSITORY_FOLDER, SNAPSHOTS, TRASHCAN, TRASHCAN_FOLDER, USER_FOLDERS, USERS_FOLDER, VIEWSHEET, VIEWSHEETS, WORKSHEET, WORKSHEET_FOLDER, WORKSHEETS
 
Constructor Summary
RepletEntry()
          Constructor.
RepletEntry(String path)
          Create a replet entry.
RepletEntry(String path, String owner)
          Create a replet entry.
 
Method Summary
 String getAlias()
          Get the alias of the replet.
 String getDescription()
          Get the description of the replet.
 boolean isBursting()
          Check if the replet is a bursting report.
 boolean isFileReplet()
          Check if is a file relet.
 boolean isParamOnly()
          Check if the replet is a parameters only report.
 boolean isPortlet()
          Check if is a portlet.
 boolean isPregenerated()
          Check if is a pregenerated replet.
 boolean isVisible()
          Check if is visible.
 void parseAttributes(Element tag)
          Method to parse attributes.
 void parseContents(Element tag)
          Method to parse contents.
 void setAlias(String alias)
          Set the alias of the replet.
 void setBursting(boolean burst)
          Set the report bursting flag.
 void setDescription(String desc)
          Set the description of the replet.
 void setFileReplet(boolean fileReplet)
          Set file replet option.
 void setParamOnly(boolean paramOnly)
          Set the report parameters only flag.
 void setPortlet(boolean portlet)
          Set portlet option.
 void setPregenerated(boolean pregen)
          Set pregenerated replet option.
 void setVisible(boolean visible)
          Set visible option.
 boolean supportsOperation(int operation)
          Check if supports an operation, which should be one of the predefined operation like RENAME_OPERATION, CHANGE_FOLDER_OPERATION, REMOVE_OPERATION, etc.
 void writeAttributes(PrintWriter writer)
          Write attributes.
 void writeContents(PrintWriter writer)
          Write contents.
 
Methods inherited from class inetsoft.sree.RepositoryEntry
compareTo, equals, getAssetEntry, getHtmlType, getLabel, getName, getOwner, getParent, getParentPath, getPath, getType, hashCode, isArchive, isFolder, isMyReport, isReplet, isRoot, parseXML, setHtmlType, toString, writeCDATA, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepletEntry

public RepletEntry()
Constructor.


RepletEntry

public RepletEntry(String path)
Create a replet entry.

Parameters:
path - the specified path.

RepletEntry

public RepletEntry(String path,
                   String owner)
Create a replet entry.

Parameters:
path - the specified path.
owner - the specified owner.
Method Detail

supportsOperation

public boolean supportsOperation(int operation)
Check if supports an operation, which should be one of the predefined operation like RENAME_OPERATION, CHANGE_FOLDER_OPERATION, REMOVE_OPERATION, etc.

Overrides:
supportsOperation in class RepositoryEntry
Parameters:
operation - the specified operation.
Returns:
true if supports the operation, false otherwise.

setVisible

public void setVisible(boolean visible)
Set visible option.

Parameters:
visible - true is visible, and false is invisible.

isVisible

public boolean isVisible()
Check if is visible.

Returns:
true if is visible, false otherwise.

setPregenerated

public void setPregenerated(boolean pregen)
Set pregenerated replet option.

Parameters:
pregen - true is pregenerated replet, false otherwise.

isPregenerated

public boolean isPregenerated()
Check if is a pregenerated replet.

Returns:
true is pregenerated replet, false otherwise.

setPortlet

public void setPortlet(boolean portlet)
Set portlet option.

Parameters:
portlet - true if is a portlet, false otherwise.

isPortlet

public boolean isPortlet()
Check if is a portlet.

Returns:
true if is a portlet, false otherwise.

setBursting

public void setBursting(boolean burst)
Set the report bursting flag.


isBursting

public boolean isBursting()
Check if the replet is a bursting report.


setParamOnly

public void setParamOnly(boolean paramOnly)
Set the report parameters only flag.


isParamOnly

public boolean isParamOnly()
Check if the replet is a parameters only report.


setDescription

public void setDescription(String desc)
Set the description of the replet.

Parameters:
desc - the specified description.

getDescription

public String getDescription()
Get the description of the replet.

Returns:
the description of the replet.

setFileReplet

public void setFileReplet(boolean fileReplet)
Set file replet option.

Parameters:
fileReplet - true indicates that the replet is a file replet, false otherwise.

isFileReplet

public boolean isFileReplet()
Check if is a file relet.

Returns:
true indicates that the replet is a file replet, false otherwise.

setAlias

public void setAlias(String alias)
Set the alias of the replet.

Parameters:
alias - the specified alias.

getAlias

public String getAlias()
Get the alias of the replet.

Returns:
the alias of the replet.

writeAttributes

public void writeAttributes(PrintWriter writer)
Write attributes.

Overrides:
writeAttributes in class RepositoryEntry
Parameters:
writer - the destination print writer.

parseAttributes

public void parseAttributes(Element tag)
                     throws Exception
Method to parse attributes.

Overrides:
parseAttributes in class RepositoryEntry
Throws:
Exception

writeContents

public void writeContents(PrintWriter writer)
Write contents.

Overrides:
writeContents in class RepositoryEntry
Parameters:
writer - the destination print writer.

parseContents

public void parseContents(Element tag)
                   throws Exception
Method to parse contents.

Overrides:
parseContents in class RepositoryEntry
Throws:
Exception

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