|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICfgObject
An interface that should be supported by all configuration classes (objects that can be independently retrieved from Config Server).
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
void |
delete()
Deletes the current object from the configuration. |
int |
getObjectDbid()
Returns the dbid of the current object, or 0 if object has not been saved. |
CfgObjectType |
getObjectType()
Get this configuration object type. |
void |
refresh()
Updates the current object with the latest state from the configuration server. |
void |
save()
Synchronizes changes in a class with Configuration Server. |
void |
update(ICfgDelta deltaObject)
Updates the current object from the passed delta object. |
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase |
---|
getEndpoint, getProperty, getRawObjectData, setProperty, toXml |
Method Detail |
---|
CfgObjectType getObjectType()
int getObjectDbid()
void save() throws ConfigException
ConfigException
- in case of protocol level exception, data transformation,
or server side constraintsvoid refresh() throws ConfigException
ConfigException
- in case of protocol level exception or data transformationvoid delete() throws ConfigException
ConfigException
- in case of protocol level exception or server side constraintsvoid update(ICfgDelta deltaObject)
deltaObject
- the delta object representing the changes to be madejava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- subclasses that override
the clone
method can throw this exception
to indicate that an instance cannot be cloned.Cloneable
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |