|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.web.ResourceValueObject
public class ResourceValueObject
Resource Value Object
| Constructor Summary | |
|---|---|
ResourceValueObject()
Basic constructor |
|
ResourceValueObject(DocumentResource resource)
Constructor using a document resource object |
|
| Method Summary | |
|---|---|
byte[] |
getContent()
Returns the Content |
String |
getContentType()
Returns the ContentType |
String |
getFilename()
Returns the Filename |
int |
getIdObject()
Returns the IdObject |
long |
getLastModified()
Returns the Last modified time |
void |
setContent(byte[] content)
Sets the Content |
void |
setContentType(String strContentType)
Sets the ContentType |
void |
setFilename(String strFilename)
Sets the Filename |
void |
setIdObject(int nIdObject)
Sets the IdObject |
void |
setLastModified(long lLastModified)
Sets the Last modified time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceValueObject()
public ResourceValueObject(DocumentResource resource)
resource - The document resource| Method Detail |
|---|
public int getIdObject()
public void setIdObject(int nIdObject)
nIdObject - The IdObjectpublic byte[] getContent()
public void setContent(byte[] content)
content - The contentpublic String getContentType()
public void setContentType(String strContentType)
strContentType - The ContentTypepublic String getFilename()
public void setFilename(String strFilename)
strFilename - The Filenamepublic void setLastModified(long lLastModified)
lLastModified - Last modified timepublic long getLastModified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||