|
ModeShape Distribution 3.1.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.webdav.StoredObject
public class StoredObject
| Constructor Summary | |
|---|---|
StoredObject()
|
|
| Method Summary | |
|---|---|
Date |
getCreationDate()
Gets the date of the creation |
Date |
getLastModified()
Gets the date of the last modification |
String |
getMimeType()
Retrieve the mime type from the store object. |
long |
getResourceLength()
Gets the length of the resource content |
boolean |
isFolder()
Determines whether the StoredObject is a folder or a resource |
boolean |
isNullResource()
Gets the state of the resource |
boolean |
isResource()
Determines whether the StoredObject is a folder or a resource |
void |
setCreationDate(Date c)
Sets the date of the creation |
void |
setFolder(boolean f)
Sets a new StoredObject as a collection or resource |
void |
setLastModified(Date d)
Sets the date of the last modification |
void |
setMimeType(String mimeType)
Set the mime type of this object |
void |
setNullResource(boolean f)
Sets a StoredObject as a lock-null resource |
void |
setResourceLength(long l)
Sets the length of the resource content |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoredObject()
| Method Detail |
|---|
public boolean isFolder()
public boolean isResource()
public void setFolder(boolean f)
f - true - collection ; false - resourcepublic Date getLastModified()
public void setLastModified(Date d)
d - date of the last modificationpublic Date getCreationDate()
public void setCreationDate(Date c)
c - date of the creationpublic long getResourceLength()
public void setResourceLength(long l)
l - the length of the resource contentpublic boolean isNullResource()
public void setNullResource(boolean f)
f - true to set the resource as lock-null resourcepublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the mimeType to set
|
ModeShape Distribution 3.1.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||