Style Intelligence v12.0

inetsoft.sree
Class RepletFolderEntry

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

public class RepletFolderEntry
extends DefaultFolderEntry

Represents a replet 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
RepletFolderEntry()
          Constructor.
RepletFolderEntry(String path)
          Create a replet folder entry.
RepletFolderEntry(String path, int type, String owner)
          Create a replet folder entry.
RepletFolderEntry(String path, String owner)
          Create a replet folder entry.
 
Method Summary
 boolean isFileFolder()
          Check if is a file folder.
 void parseAttributes(Element tag)
          Method to parse attributes.
 void setFileFolder(boolean fileFolder)
          Set file folder 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.
 
Methods inherited from class inetsoft.sree.DefaultFolderEntry
getAlias, getDescription, getLabel, parseContents, setAlias, setDescription, setLabel, writeContents
 
Methods inherited from class inetsoft.sree.RepositoryEntry
compareTo, equals, getAssetEntry, getHtmlType, 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
 
Methods inherited from interface inetsoft.sree.FolderEntry
isRoot
 

Constructor Detail

RepletFolderEntry

public RepletFolderEntry()
Constructor.


RepletFolderEntry

public RepletFolderEntry(String path)
Create a replet folder entry.

Parameters:
path - the specified path.

RepletFolderEntry

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

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

RepletFolderEntry

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

Parameters:
path - the specified path.
type - the specified entry type.
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.

setFileFolder

public void setFileFolder(boolean fileFolder)
Set file folder option.

Parameters:
fileFolder - true indicates that the folder is a file folder, false otherwise.

isFileFolder

public boolean isFileFolder()
Check if is a file folder.

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

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

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