Style Intelligence v12.0

inetsoft.sree
Class DefaultFolderEntry

java.lang.Object
  extended by inetsoft.sree.RepositoryEntry
      extended by inetsoft.sree.DefaultFolderEntry
All Implemented Interfaces:
FolderEntry, inetsoft.util.XMLSerializable, Serializable, Comparable
Direct Known Subclasses:
RepletFolderEntry

public class DefaultFolderEntry
extends RepositoryEntry
implements FolderEntry

Represents a folder 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
DefaultFolderEntry()
          Constructor.
DefaultFolderEntry(String path)
          Create a folder entry.
DefaultFolderEntry(String path, int type, String owner)
          Create a folder entry.
DefaultFolderEntry(String path, String owner)
          Create a folder entry.
 
Method Summary
 String getAlias()
          Get folder alias name.
 String getDescription()
          Get the description of the folder.
 String getLabel()
          Get the label of the repository entry.
 void parseContents(Element tag)
          Method to parse contents.
 void setAlias(String alias)
          Set folder alias name.
 void setDescription(String desc)
          Set the description of the folder.
 void setLabel(String label)
          Set label.
 void writeContents(PrintWriter writer)
          Write contents.
 
Methods inherited from class inetsoft.sree.RepositoryEntry
compareTo, equals, getAssetEntry, getHtmlType, getName, getOwner, getParent, getParentPath, getPath, getType, hashCode, isArchive, isFolder, isMyReport, isReplet, isRoot, parseAttributes, parseXML, setHtmlType, supportsOperation, toString, writeAttributes, writeCDATA, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface inetsoft.sree.FolderEntry
isRoot
 

Constructor Detail

DefaultFolderEntry

public DefaultFolderEntry()
Constructor.


DefaultFolderEntry

public DefaultFolderEntry(String path)
Create a folder entry.

Parameters:
path - the specified path.

DefaultFolderEntry

public DefaultFolderEntry(String path,
                          String owner)
Create a folder entry.

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

DefaultFolderEntry

public DefaultFolderEntry(String path,
                          int type,
                          String owner)
Create a folder entry.

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

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

setDescription

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

Parameters:
desc - the specified description.

getDescription

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

Returns:
the description of the folder.

getAlias

public String getAlias()
Get folder alias name.


setAlias

public void setAlias(String alias)
Set folder alias name.


getLabel

public String getLabel()
Get the label of the repository entry.

Overrides:
getLabel in class RepositoryEntry
Returns:
the label of the repository entry.

setLabel

public void setLabel(String label)
Set label.


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