| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRepositoryFile
| Field Summary | |
|---|---|
static char | 
SEPARATOR
 | 
| Fields inherited from interface org.pentaho.platform.api.repository.ISearchable | 
|---|
SEARCH_TYPE_PHRASE, SEARCH_TYPE_WORDS_AND, SEARCH_TYPE_WORDS_OR | 
| Fields inherited from interface org.pentaho.platform.api.engine.IAclHolder | 
|---|
ACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE | 
| Method Summary | |
|---|---|
 void | 
addChildFile(IRepositoryFile file)
 | 
 int | 
compareTo(Object o)
 | 
 boolean | 
containsActions()
 | 
 boolean | 
exists()
 | 
 Set | 
getChildrenFiles()
Gets the set children IAclSolutionFiles from this IAclSolutionFile. | 
 byte[] | 
getData()
 | 
 String | 
getExtension()
 | 
 String | 
getFileId()
 | 
 String | 
getFileName()
 | 
 String | 
getFullPath()
 | 
 long | 
getLastModified()
 | 
 IRepositoryFile | 
getParent()
 | 
 String | 
getPhraseSearchQueryName()
 | 
 int | 
getRevision()
 | 
 String[] | 
getSearchableColumns()
 | 
 String | 
getSearchableTable()
 | 
 String | 
getSolution()
 | 
 String | 
getSolutionPath()
 | 
 boolean | 
hasExtension()
 | 
 boolean | 
isDirectory()
 | 
 boolean | 
isRoot()
 | 
 ISolutionFile[] | 
listFiles()
If this is a directory, will list all children files/directories for hierarchical navigation.  | 
 ISolutionFile[] | 
listFiles(IFileFilter filter)
 | 
 IRepositoryFile[] | 
listRepositoryFiles()
 | 
 void | 
removeChildFile(IRepositoryFile file)
 | 
 void | 
resetAccessControls(List acls)
Replaces existing access controls with a new list of access controls.  | 
 ISolutionFile | 
retrieveParent()
NOTE: This method is named 'retrieveParent' instead of 'getParent' because the generic ISolutionFile type is not a 'Hibernate' described type and one of the base classes (RepositoryFile) will fail dependency checking.  | 
 void | 
setAccessControls(List acls)
This method's purpose is to allow Hibernate to initialize the ACLs from the data-store.  | 
 void | 
setChildrenFiles(Set childrenFiles)
 | 
 void | 
setData(byte[] data)
 | 
 void | 
setLastModified(long modDate)
 | 
 void | 
setParent(IRepositoryFile parent)
 | 
| Methods inherited from interface org.pentaho.platform.api.engine.IAclHolder | 
|---|
getAccessControls, getEffectiveAccessControls | 
| Field Detail | 
|---|
static final char SEPARATOR
| Method Detail | 
|---|
void setAccessControls(List acls)
setAccessControls in interface IAclHoldervoid resetAccessControls(List acls)
IAclHolder
resetAccessControls in interface IAclHolderint getRevision()
String getFileId()
String getSolution()
getSolution in interface ISolutionFileString getSolutionPath()
getSolutionPath in interface ISolutionFileString getFileName()
getFileName in interface ISolutionFileString getFullPath()
getFullPath in interface ISolutionFilevoid setParent(IRepositoryFile parent)
IRepositoryFile getParent()
ISolutionFile retrieveParent()
ISolutionFile
retrieveParent in interface ISolutionFileString[] getSearchableColumns()
getSearchableColumns in interface ISearchableString getSearchableTable()
getSearchableTable in interface ISearchableString getPhraseSearchQueryName()
getPhraseSearchQueryName in interface ISearchableboolean isDirectory()
isDirectory in interface ISolutionFileSet getChildrenFiles()
IAclSolutionFileIAclSolutionFile.
 Each child must be an instance of IAclSolutionFile.
getChildrenFiles in interface IAclSolutionFilevoid setChildrenFiles(Set childrenFiles)
childrenResources - The childrenResources to set.void addChildFile(IRepositoryFile file)
void removeChildFile(IRepositoryFile file)
byte[] getData()
getData in interface ISolutionFilevoid setData(byte[] data)
data - The data to set.ISolutionFile[] listFiles(IFileFilter filter)
listFiles in interface ISolutionFileISolutionFile[] listFiles()
ISolutionFile
listFiles in interface ISolutionFileIRepositoryFile[] listRepositoryFiles()
int compareTo(Object o)
long getLastModified()
getLastModified in interface ISolutionFilevoid setLastModified(long modDate)
modDate - The modDate to set.boolean containsActions()
boolean isRoot()
isRoot in interface ISolutionFileboolean hasExtension()
String getExtension()
getExtension in interface ISolutionFileboolean exists()
exists in interface ISolutionFile
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||