com.centrasite.control.ext.junit
Class FileSystemItem

java.lang.Object
  extended by com.centrasite.control.AbstractItem
      extended by com.centrasite.control.ext.junit.FileSystemItem
All Implemented Interfaces:
com.centrasite.control.Item
Direct Known Subclasses:
DirectoryItem, FileItem

public abstract class FileSystemItem
extends com.centrasite.control.AbstractItem


Field Summary
 
Fields inherited from class com.centrasite.control.AbstractItem
rcs_id
 
Constructor Summary
FileSystemItem(java.io.File file, com.centrasite.control.Connector connector)
           
 
Method Summary
 java.util.Iterator getChildren()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getNameEx()
           
 java.lang.String getPath()
           
 boolean hasNoChildren()
           
 void showReport(com.centrasite.control.ActionContext actionContext)
           
 
Methods inherited from class com.centrasite.control.AbstractItem
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, clearCache, clearProperties, getAccessControlElements, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getCurrentUserPermissionItem, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getKey, getLanguage, getLocale, getNonPermissionAccessControlElements, getPersistanceLocale, getPrivilegeDescriptor, getProperties, getRelatedItems, getReport, getReportForDetailView, hasRequiredAttribute, isLocked, isModified, isReadOnly, isStandalone, isSubTabModified, removeCommand, replaceCommand, save, setAccessControlElements, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setProperties, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.centrasite.control.Item
getChildren, getImageURL
 

Constructor Detail

FileSystemItem

public FileSystemItem(java.io.File file,
                      com.centrasite.control.Connector connector)
Method Detail

getName

public java.lang.String getName()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getNameEx

public java.lang.String getNameEx()
                           throws java.lang.Exception
Specified by:
getNameEx in interface com.centrasite.control.Item
Overrides:
getNameEx in class com.centrasite.control.AbstractItem
Throws:
java.lang.Exception

getDescription

public java.lang.String getDescription()
                                throws java.lang.Exception
Throws:
java.lang.Exception

getChildren

public java.util.Iterator getChildren()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getPath

public java.lang.String getPath()
                         throws java.lang.Exception
Specified by:
getPath in interface com.centrasite.control.Item
Overrides:
getPath in class com.centrasite.control.AbstractItem
Throws:
java.lang.Exception

hasNoChildren

public boolean hasNoChildren()
                      throws java.lang.Exception
Throws:
java.lang.Exception

showReport

public void showReport(com.centrasite.control.ActionContext actionContext)
Specified by:
showReport in interface com.centrasite.control.Item
Overrides:
showReport in class com.centrasite.control.AbstractItem