|
||||||||||
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 IAclHolder
void resetAccessControls(List acls)
IAclHolder
resetAccessControls
in interface IAclHolder
int getRevision()
String getFileId()
String getSolution()
getSolution
in interface ISolutionFile
String getSolutionPath()
getSolutionPath
in interface ISolutionFile
String getFileName()
getFileName
in interface ISolutionFile
String getFullPath()
getFullPath
in interface ISolutionFile
void setParent(IRepositoryFile parent)
IRepositoryFile getParent()
ISolutionFile retrieveParent()
ISolutionFile
retrieveParent
in interface ISolutionFile
String[] getSearchableColumns()
getSearchableColumns
in interface ISearchable
String getSearchableTable()
getSearchableTable
in interface ISearchable
String getPhraseSearchQueryName()
getPhraseSearchQueryName
in interface ISearchable
boolean isDirectory()
isDirectory
in interface ISolutionFile
Set getChildrenFiles()
IAclSolutionFile
IAclSolutionFile
.
Each child must be an instance of IAclSolutionFile.
getChildrenFiles
in interface IAclSolutionFile
void setChildrenFiles(Set childrenFiles)
childrenResources
- The childrenResources to set.void addChildFile(IRepositoryFile file)
void removeChildFile(IRepositoryFile file)
byte[] getData()
getData
in interface ISolutionFile
void setData(byte[] data)
data
- The data to set.ISolutionFile[] listFiles(IFileFilter filter)
listFiles
in interface ISolutionFile
ISolutionFile[] listFiles()
ISolutionFile
listFiles
in interface ISolutionFile
IRepositoryFile[] listRepositoryFiles()
int compareTo(Object o)
long getLastModified()
getLastModified
in interface ISolutionFile
void setLastModified(long modDate)
modDate
- The modDate to set.boolean containsActions()
boolean isRoot()
isRoot
in interface ISolutionFile
boolean hasExtension()
String getExtension()
getExtension
in interface ISolutionFile
boolean exists()
exists
in interface ISolutionFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |