public class UIRepositoryDirectory extends UIRepositoryObject
Constructor and Description |
---|
UIRepositoryDirectory() |
UIRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface rd,
UIRepositoryDirectory uiParent,
org.pentaho.di.repository.Repository rep) |
getComparator, getDateComparator, getId, getName, getObjectId, getParentPath, getRepository, getRepositoryService, setComparator, setRepository, setRepositoryService
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
public UIRepositoryDirectory()
public UIRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface rd, UIRepositoryDirectory uiParent, org.pentaho.di.repository.Repository rep)
public UIRepositoryDirectories getChildren()
public void setChildren(UIRepositoryDirectories children)
public UIRepositoryObjects getRepositoryObjects() throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleException
public void setName(String name) throws Exception
setName
in class UIRepositoryObject
Exception
public String getDescription()
getDescription
in class UIRepositoryObject
public String getLockMessage()
public Date getModifiedDate()
getModifiedDate
in class UIRepositoryObject
public String getModifiedUser()
getModifiedUser
in class UIRepositoryObject
public org.pentaho.di.repository.RepositoryObjectType getRepositoryElementType()
getRepositoryElementType
in class UIRepositoryObject
public boolean isDeleted()
isDeleted
in class UIRepositoryObject
public String getType()
getType
in class UIRepositoryObject
public String getFormatModifiedDate()
getFormatModifiedDate
in class UIRepositoryObject
public org.pentaho.di.repository.RepositoryDirectory getDirectory()
public String getImage()
getImage
in class UIRepositoryObject
public void delete() throws Exception
delete
in class UIRepositoryObject
Exception
public String checkDirNameExistsInRepo(String name) throws org.pentaho.di.core.exception.KettleException
name
- - the name of a subdirectoryorg.pentaho.di.core.exception.KettleException
public UIRepositoryDirectory createFolder(String name) throws Exception
Exception
public void fireCollectionChanged()
fireCollectionChanged
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
public void move(UIRepositoryDirectory newParentDir) throws Exception
move
in class UIRepositoryObject
Exception
public void refresh()
public int getCategory()
getCategory
in class UIRepositoryObject
public boolean isExpanded()
public void setExpanded(boolean expand)
public void toggleExpanded()
public UIRepositoryDirectory getParent()
getParent
in class UIRepositoryObject
public String getPath()
getPath
in class UIRepositoryObject
public boolean isVisible()
public int size()
size
in interface Collection<UIRepositoryObject>
size
in interface List<UIRepositoryObject>
size
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
public UIRepositoryObject get(int index)
get
in interface List<UIRepositoryObject>
get
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
public Iterator<UIRepositoryObject> iterator()
iterator
in interface Iterable<UIRepositoryObject>
iterator
in interface Collection<UIRepositoryObject>
iterator
in interface List<UIRepositoryObject>
iterator
in class org.pentaho.ui.xul.util.AbstractModelNode<UIRepositoryObject>
public boolean contains(String dirName)
public int hashCode()
hashCode
in interface Collection<UIRepositoryObject>
hashCode
in interface List<UIRepositoryObject>
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface Collection<UIRepositoryObject>
equals
in interface List<UIRepositoryObject>
equals
in class Object