org.pentaho.di.ui.repository.repositoryexplorer.model
Class UIRepositoryDirectory
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryObject
org.pentaho.di.ui.repository.repositoryexplorer.model.UIRepositoryDirectory
- All Implemented Interfaces:
- Serializable, Iterable<UIRepositoryObject>, Collection<UIRepositoryObject>, List<UIRepositoryObject>, org.pentaho.ui.xul.XulEventSource
public class UIRepositoryDirectory
- extends UIRepositoryObject
- See Also:
- Serialized Form
Methods inherited from class org.pentaho.ui.xul.util.AbstractModelNode |
add, add, addAll, addAll, asList, clear, contains, containsAll, indexOf, isEmpty, isUniqueList, lastIndexOf, listIterator, listIterator, moveChildDown, moveChildDown, moveChildUp, moveChildUp, onAdd, onRemove, remove, remove, removeAll, removeModel, retainAll, set, setParent, setUniqueList, subList, toArray, toArray |
Methods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
UIRepositoryDirectory
public UIRepositoryDirectory()
UIRepositoryDirectory
public UIRepositoryDirectory(RepositoryDirectoryInterface rd,
UIRepositoryDirectory uiParent,
Repository rep)
getChildren
public UIRepositoryDirectories getChildren()
setChildren
public void setChildren(UIRepositoryDirectories children)
getRepositoryObjects
public UIRepositoryObjects getRepositoryObjects()
throws KettleException
- Throws:
KettleException
toString
public String toString()
- Overrides:
toString
in class Object
setName
public void setName(String name)
throws Exception
- Specified by:
setName
in class UIRepositoryObject
- Throws:
Exception
getDescription
public String getDescription()
- Specified by:
getDescription
in class UIRepositoryObject
getLockMessage
public String getLockMessage()
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate
in class UIRepositoryObject
getModifiedUser
public String getModifiedUser()
- Specified by:
getModifiedUser
in class UIRepositoryObject
getRepositoryElementType
public RepositoryObjectType getRepositoryElementType()
- Specified by:
getRepositoryElementType
in class UIRepositoryObject
isDeleted
public boolean isDeleted()
- Overrides:
isDeleted
in class UIRepositoryObject
getType
public String getType()
- Specified by:
getType
in class UIRepositoryObject
getFormatModifiedDate
public String getFormatModifiedDate()
- Specified by:
getFormatModifiedDate
in class UIRepositoryObject
getDirectory
public RepositoryDirectory getDirectory()
getImage
public String getImage()
- Specified by:
getImage
in class UIRepositoryObject
delete
public void delete()
throws Exception
- Specified by:
delete
in class UIRepositoryObject
- Throws:
Exception
createFolder
public UIRepositoryDirectory createFolder(String name)
throws Exception
- Throws:
Exception
fireCollectionChanged
public void fireCollectionChanged()
- Overrides:
fireCollectionChanged
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
move
public void move(UIRepositoryDirectory newParentDir)
throws Exception
- Specified by:
move
in class UIRepositoryObject
- Throws:
Exception
refresh
public void refresh()
- Synchronize this folder with the back-end
getCategory
public int getCategory()
- Specified by:
getCategory
in class UIRepositoryObject
isExpanded
public boolean isExpanded()
setExpanded
public void setExpanded(boolean expand)
toggleExpanded
public void toggleExpanded()
getParent
public UIRepositoryDirectory getParent()
- Specified by:
getParent
in class UIRepositoryObject
getPath
public String getPath()
- Overrides:
getPath
in class UIRepositoryObject
isVisible
public boolean isVisible()
size
public int size()
- Specified by:
size
in interface Collection<UIRepositoryObject>
- Specified by:
size
in interface List<UIRepositoryObject>
- Overrides:
size
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
get
public UIRepositoryObject get(int index)
- Specified by:
get
in interface List<UIRepositoryObject>
- Overrides:
get
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
iterator
public Iterator<UIRepositoryObject> iterator()
- Specified by:
iterator
in interface Iterable<UIRepositoryObject>
- Specified by:
iterator
in interface Collection<UIRepositoryObject>
- Specified by:
iterator
in interface List<UIRepositoryObject>
- Overrides:
iterator
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<UIRepositoryObject>
- Specified by:
hashCode
in interface List<UIRepositoryObject>
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Collection<UIRepositoryObject>
- Specified by:
equals
in interface List<UIRepositoryObject>
- Overrides:
equals
in class Object