|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateableSettings
An updateable-settings object allows making updates to a settings document.
An instance of this class can be obtained by calling the getXXXForUpdate
methods of a SettingsManager
.
Method Summary | |
---|---|
javax.xml.bind.Element |
getUpdateableBean() Returns a JAXB bean representing a view of the settings document, on which updates can be made. |
void |
save() Persists all the updates made so far on the JAXB bean for this updateable-settings instance. |
Method Detail |
---|
javax.xml.bind.Element getUpdateableBean() throws SettingsException
Any subsequent call to this method on the same updateable-settings instance will continue to return the same bean instance, preserving any updates that have been made on it so far.
Updates made on the bean returned by this method will not persisted to the backend until save()
is called.
Typically one would typecast the bean returned by this method to the appropriate JAXB class associated with the XSD on which the settings document is based, and call getters and setters on it to read and update the settings info.
SettingsException
- If any error occurs while reading the document or preparing an updateable JAXB bean for itvoid save() throws SettingsException
SettingsException
- If any error occurs while saving the document
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |