|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configuration history management MBean.
Field Summary | |
static java.lang.String |
MBEAN_NAME |
static java.lang.String |
MBEAN_TYPE |
Method Summary | |
long |
getConfigurationVersion(java.lang.String applicationName) Gets the configuration version number. |
boolean |
isConfigurationVersionEnabled() Gets the configuration versioning state. |
org.w3c.dom.Document |
queryChangeHistory(java.lang.String application, long startTime, long endTime) Queries the change records for the specified application. |
org.w3c.dom.Document |
queryConfigResourceChangeHistory(java.lang.String application, long startTime, long endTime) Queries the change records for the configuration resource within the specified application. |
void |
removeChangeHistory(java.lang.String application, long startTime, long endTime) Removes the change records for the specified application. |
void |
undo(java.lang.String applicaiton, java.lang.String recordID) Undo one change to the application. |
Field Detail |
public static final java.lang.String MBEAN_TYPE
public static final java.lang.String MBEAN_NAME
Method Detail |
public void undo(java.lang.String applicaiton, java.lang.String recordID) throws javax.management.JMException
recordID
- Change record id. Which can be retrieved by queryChangeHistorypublic org.w3c.dom.Document queryConfigResourceChangeHistory(java.lang.String application, long startTime, long endTime)
application
- the application to query. If it is null,all the application will be included.startTime
- return update records after and including this time. It must be the milliseconds since January 1, 1970, 00:00:00 GMTendTime
- return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT<Resources> <ConfigObject id="ProcessorName"> <Resource id="ruleId"> <Revision Recordid="" Action="Update" User="" Date="" Description="" id="sequence_number"/> </Resource> </ConfigObject> </Resources>
public org.w3c.dom.Document queryChangeHistory(java.lang.String application, long startTime, long endTime)
application
- the application to query. If it is null,all the application will be included.startTime
- return update records after and including this time. It must be the milliseconds since January 1, 1970, 00:00:00 GMTendTime
- return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT<ChangeRecords> <ChangeRecord User="" Date="" Description=""> <ConfigObject id=""> <Resource id="ruleId" Action="Update" Description=""/> <Resource id="ruleId" Action="Update" Description=""/> </ConfigObject> <ChangeRecord> </ChangeRecords>
public void removeChangeHistory(java.lang.String application, long startTime, long endTime) throws javax.management.JMException
application
- the application from which to remove update records. It can't be null.startTime
- remove change records after and including this time. It must be the milliseconds since January 1, 1970,00:00:00 GMTendTime
- remove change records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMTpublic long getConfigurationVersion(java.lang.String applicationName)
application
- public boolean isConfigurationVersionEnabled()
true
Configuration versioning is enabled, false
Configuration versioning is disabled.
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |