|
||||||||||
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 |
String |
getAbsolutePath()
Get the absolute path |
InputStream |
getContent()
Get the content of the file, if it is a file |
String |
getMimeType()
Get the Mime type associated with the file content |
String |
getName()
Get the name of this file |
String |
getParentId()
Get the parent id of this file |
String |
getPath()
Get the path of this file |
String |
getResourceId()
Return the resource id |
String |
getResourceTypeCode()
Return the resource type |
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 |
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(InputStream content)
Set the content of the file |
void |
setLock(boolean locked)
Modify lock status |
void |
setName(String strName)
Set the name of this file |
Method Detail |
---|
String getPath()
String getAbsolutePath()
String getName()
void setName(String strName)
strName
- the nameInputStream getContent()
boolean isDirectory()
boolean isFile()
Calendar lastModified()
long length()
String getResourceId()
String getResourceTypeCode()
boolean exists()
String getMimeType()
String getXml()
String getParentId()
void setContent(InputStream content)
content
- an InputStreamboolean isLocked()
void setLock(boolean locked)
locked
- true to set a lock, false otherwiseboolean ownsLock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |