|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRepositoryFile
Interface for elements contained in a repository
| Method Summary | |
|---|---|
boolean |
exists()
Test the existence of the file |
java.lang.String |
getAbsolutePath()
Get the absolute path |
java.io.InputStream |
getContent()
Get the content of the file, if it is a file |
java.lang.String |
getMimeType()
Get the Mime type associated with the file content |
java.lang.String |
getName()
Get the name of this file |
java.lang.String |
getParentId()
Get the parent id of this file |
java.lang.String |
getPath()
Get the path of this file |
java.lang.String |
getResourceId()
Return the resource id |
java.lang.String |
getResourceTypeCode()
Return the resource type |
java.lang.String |
getXml()
Get the xml representation of this file |
boolean |
isDirectory()
Test the type of this file |
boolean |
isFile()
Test the type of this file |
boolean |
isLocked()
Return true if the current file is locked |
java.util.Calendar |
lastModified()
Get the date of last modification |
long |
length()
Get the length of the file content |
boolean |
ownsLock()
Returns if a user owns a lock |
void |
setContent(java.io.InputStream content)
Set the content of the file |
void |
setLock(boolean locked)
Modify lock status |
void |
setName(java.lang.String strName)
Set the name of this file |
| Method Detail |
|---|
java.lang.String getPath()
java.lang.String getAbsolutePath()
java.lang.String getName()
void setName(java.lang.String strName)
strName - the namejava.io.InputStream getContent()
boolean isDirectory()
boolean isFile()
java.util.Calendar lastModified()
long length()
java.lang.String getResourceId()
java.lang.String getResourceTypeCode()
boolean exists()
java.lang.String getMimeType()
java.lang.String getXml()
java.lang.String getParentId()
void setContent(java.io.InputStream content)
content - an InputStreamboolean isLocked()
void setLock(boolean locked)
locked - boolean ownsLock()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||