Style Intelligence v12.0

inetsoft.sree
Class WorksheetEntry

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

public class WorksheetEntry
extends RepositoryEntry

Represents a worksheet 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
WorksheetEntry()
          Constructor.
WorksheetEntry(String path)
          Create a worksheet entry.
WorksheetEntry(String path, String owner)
          Create a worksheet entry.
 
Method Summary
 String getAlias()
          Get the alias of the worksheet.
 AssetEntry getAssetEntry()
          Get the asset entry.
 String getDescription()
          Get the description of the replet.
 String getIdentifier()
          Get identifier of the corresponding asset entry.
 boolean isOnReport()
          Check if is on report.
 boolean isSnapshot()
          Check if is snapshot.
 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 worksheet.
 void setAssetEntry(AssetEntry entry)
          Set the asset entry.
 void setDescription(String desc)
          Set the description of the replet.
 void setIdentifier(String identifier)
          Set identifier of the corresponding asset entry.
 void setOnReport(boolean onReport)
          Set whether is on report.
 void setSnapshot(boolean snapshot)
          Set whether is snapshot.
 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, 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

WorksheetEntry

public WorksheetEntry()
Constructor.


WorksheetEntry

public WorksheetEntry(String path)
Create a worksheet entry.

Parameters:
path - the specified path.

WorksheetEntry

public WorksheetEntry(String path,
                      String owner)
Create a worksheet entry.

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

setAssetEntry

public void setAssetEntry(AssetEntry entry)
Set the asset entry.


getAssetEntry

public AssetEntry getAssetEntry()
Get the asset entry.

Overrides:
getAssetEntry in class RepositoryEntry

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.

isOnReport

public boolean isOnReport()
Check if is on report.

Returns:
true if on report, false otherwise.

setOnReport

public void setOnReport(boolean onReport)
Set whether is on report.

Parameters:
onReport - true if on report, false otherwise.

getIdentifier

public String getIdentifier()
Get identifier of the corresponding asset entry.

Returns:
identifier of the corresponding asset entry.

setIdentifier

public void setIdentifier(String identifier)
Set identifier of the corresponding asset entry.

Parameters:
identifier - identifier of the corresponding asset entry.

isSnapshot

public boolean isSnapshot()
Check if is snapshot.

Returns:
true if is snapshot, false otherwise.

setSnapshot

public void setSnapshot(boolean snapshot)
Set whether is snapshot.

Parameters:
snapshot - true if is snapshot, false otherwise.

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.

setAlias

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

Parameters:
alias - the specified worksheet.

getAlias

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

Returns:
the alias of the worksheet.

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.