org.pentaho.di.ui.repository.repositoryexplorer.model
Class UIRepositoryObject

java.lang.Object
  extended by org.pentaho.ui.xul.XulEventSourceAdapter
      extended by org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
          extended by org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject
All Implemented Interfaces:
Serializable, Iterable<UIRepositoryObject>, Collection<UIRepositoryObject>, List<UIRepositoryObject>, org.pentaho.ui.xul.XulEventSource
Direct Known Subclasses:
UIRepositoryContent, UIRepositoryDirectory

public abstract class UIRepositoryObject
extends org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>

See Also:
Serialized Form

Constructor Summary
UIRepositoryObject()
           
UIRepositoryObject(RepositoryObjectInterface obj)
           
UIRepositoryObject(RepositoryObjectInterface obj, Repository rep)
           
 
Method Summary
abstract  void delete()
           
abstract  int getCategory()
           
 org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject.RepositoryObjectComparator getComparator()
           
abstract  String getDescription()
           
abstract  String getFormatModifiedDate()
           
 String getId()
           
abstract  String getImage()
           
abstract  Date getModifiedDate()
           
abstract  String getModifiedUser()
           
 String getName()
           
 ObjectId getObjectId()
           
abstract  UIRepositoryDirectory getParent()
           
 String getParentPath()
           
 String getPath()
           
 Repository getRepository()
           
abstract  RepositoryObjectType getRepositoryElementType()
           
 IRepositoryService getRepositoryService()
           
abstract  String getType()
           
 boolean isDeleted()
           
abstract  void move(UIRepositoryDirectory newParentDir)
           
 void setComparator(org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject.RepositoryObjectComparator roc)
           
abstract  void setName(String name)
           
 void setRepository(Repository rep)
           
 void setRepositoryService(IRepositoryService repositoryService)
           
 
Methods inherited from class org.pentaho.ui.xul.util.AbstractModelNode
add, add, addAll, addAll, asList, clear, contains, containsAll, get, indexOf, isEmpty, isUniqueList, iterator, lastIndexOf, listIterator, listIterator, moveChildDown, moveChildDown, moveChildUp, moveChildUp, onAdd, onRemove, remove, remove, removeAll, removeModel, retainAll, set, setParent, setUniqueList, size, subList, toArray, toArray
 
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

UIRepositoryObject

public UIRepositoryObject()

UIRepositoryObject

public UIRepositoryObject(RepositoryObjectInterface obj)

UIRepositoryObject

public UIRepositoryObject(RepositoryObjectInterface obj,
                          Repository rep)
Method Detail

getId

public String getId()

getObjectId

public ObjectId getObjectId()

getName

public String getName()

setName

public abstract void setName(String name)
                      throws Exception
Throws:
Exception

move

public abstract void move(UIRepositoryDirectory newParentDir)
                   throws Exception
Throws:
Exception

delete

public abstract void delete()
                     throws Exception
Throws:
Exception

getModifiedDate

public abstract Date getModifiedDate()

getFormatModifiedDate

public abstract String getFormatModifiedDate()

getModifiedUser

public abstract String getModifiedUser()

getRepositoryElementType

public abstract RepositoryObjectType getRepositoryElementType()

getType

public abstract String getType()

getDescription

public abstract String getDescription()

getParent

public abstract UIRepositoryDirectory getParent()
Overrides:
getParent in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>

getParentPath

public String getParentPath()

isDeleted

public boolean isDeleted()

getImage

public abstract String getImage()

getRepository

public Repository getRepository()

setRepository

public void setRepository(Repository rep)

getPath

public String getPath()

getComparator

public org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject.RepositoryObjectComparator getComparator()

setComparator

public void setComparator(org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject.RepositoryObjectComparator roc)

getRepositoryService

public IRepositoryService getRepositoryService()

setRepositoryService

public void setRepositoryService(IRepositoryService repositoryService)

getCategory

public abstract int getCategory()