org.pentaho.di.ui.repository.repositoryexplorer.model
Class UIRepositoryObject
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
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
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 |
UIRepositoryObject
public UIRepositoryObject()
UIRepositoryObject
public UIRepositoryObject(RepositoryObjectInterface obj)
UIRepositoryObject
public UIRepositoryObject(RepositoryObjectInterface obj,
Repository rep)
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()