|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistentConnection
Method Summary | |
---|---|
void |
close()
call close when the connection is no longer needed. |
void |
commit()
|
void |
delete(ConfigurationID configID,
java.lang.String principal)
Writes the collection of models to its persistent store based on the implementation of the persistent connection. |
boolean |
isClosed()
call to determine is the connection is still available. |
ConfigurationModelContainer |
read(ConfigurationID configID)
Returns an ConfigurationModelContainer based on how the implementation read configuation information |
void |
rollback()
|
void |
write(ConfigurationModelContainer model,
java.lang.String principal)
Writes the model to its persistent store based on the implementation of the persistent connection. |
Method Detail |
---|
void close()
ConfigurationException
boolean isClosed()
ConfigurationModelContainer read(ConfigurationID configID) throws ConfigurationException
configID
- indicates which configuration to read
ConfigurationException
- if an error occursvoid write(ConfigurationModelContainer model, java.lang.String principal) throws ConfigurationException
model
- to be writen to outputprincipal
- is the user executing the write
ConfigurationException
- if an error occursvoid delete(ConfigurationID configID, java.lang.String principal) throws ConfigurationException
models
- to be writen to outputprincipal
- is the user executing the write
ConfigurationException
- if an error occursvoid rollback() throws ConfigurationException
ConfigurationException
void commit() throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |