public interface IRepositoryFile extends ISearchable, IAclSolutionFile
| Modifier and Type | Field and Description |
|---|---|
static char |
SEPARATOR |
SEARCH_TYPE_PHRASE, SEARCH_TYPE_WORDS_AND, SEARCH_TYPE_WORDS_ORACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE| Modifier and Type | Method and Description |
|---|---|
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) |
getAccessControls, getEffectiveAccessControlsstatic final char SEPARATOR
void setAccessControls(List acls)
setAccessControls in interface IAclHoldervoid resetAccessControls(List acls)
IAclHolderresetAccessControls 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()
ISolutionFileretrieveParent 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()
ISolutionFilelistFiles 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