|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.platform.config.persistence.api.ExtensionModuleConnection
public class ExtensionModuleConnection
Constructor Summary | |
---|---|
ExtensionModuleConnection(ExtensionModuleTransaction trans)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtensionModuleConnection(ExtensionModuleTransaction trans)
Method Detail |
---|
public void close()
PersistentConnection
close
in interface PersistentConnection
public void commit() throws ConfigurationException
commit
in interface PersistentConnection
ConfigurationException
public void delete(ConfigurationID configID, java.lang.String principal) throws ConfigurationException
PersistentConnection
delete
in interface PersistentConnection
principal
- is the user executing the write
ConfigurationException
- if an error occurspublic boolean isClosed()
PersistentConnection
isClosed
in interface PersistentConnection
public ConfigurationModelContainer read(ConfigurationID configID) throws ConfigurationException
PersistentConnection
read
in interface PersistentConnection
configID
- indicates which configuration to read
ConfigurationException
- if an error occurspublic void rollback() throws ConfigurationException
rollback
in interface PersistentConnection
ConfigurationException
public void write(ConfigurationModelContainer model, java.lang.String principal) throws ConfigurationException
PersistentConnection
write
in interface PersistentConnection
model
- to be writen to outputprincipal
- is the user executing the write
ConfigurationException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |