|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for data objects managed by a PortletPersonalizationManager
| Method Summary | |
java.lang.String |
getContentVersion()
Gets the version String associated with the content of the PersonalizationObject |
java.lang.String |
getReferencePath()
Gets the the identifying path string used to store and retrieve the contents of this PersonalizationObject from the storage medium |
void |
init(PortletReference ref)
Init method used to initialize the data object after instantiated via its null constructor |
void |
read(java.io.InputStream is)
Populates the PersonalizationObject with content read from a persistent store |
void |
setContentVersion(java.lang.String version)
Sets the version associated with the content of the PersonalizationObject. |
void |
setReferencePath(java.lang.String path)
Optionally records the identifying path string used to store and retrieve the contents of this PersonalizationObject from the storage medium |
void |
write(java.io.OutputStream os)
Writes the content of the PersonalizationObject to a persistent store |
| Method Detail |
public void init(PortletReference ref)
ref - the PortletReference on whose behalf this data object is being intializedpublic void setContentVersion(java.lang.String version)
version - version string to be associated with the content of the
PersonalizationObjectpublic java.lang.String getContentVersion()
public void setReferencePath(java.lang.String path)
path - identifying path against which the
PersonalizationObject data is storedpublic java.lang.String getReferencePath()
public void read(java.io.InputStream is)
throws java.io.IOException
is - InputStream from which content should be read
public void write(java.io.OutputStream os)
throws java.io.IOException
os - OutputStream to which content should be written
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||