Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Event Processing
11g Release 1 (11.1.1.9)

E14303-12
FRAMES    NO FRAMES
DETAIL:  FIELD | CONSTR | METHOD


com.bea.wlevs.management.configuration
Interface ConfigHistoryManagerMBean


public interface ConfigHistoryManagerMBean

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.
 java.lang.String queryChangeHistoryAsString(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.
 java.lang.String queryConfigResourceChangeHistoryAsString(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

MBEAN_TYPE

public static final java.lang.String MBEAN_TYPE

MBEAN_NAME

public static final java.lang.String MBEAN_NAME

Method Detail

undo

public void undo(java.lang.String applicaiton,
                 java.lang.String recordID)
          throws javax.management.JMException
Undo one change to the application.
Parameters:
recordID - Change record id. Which can be retrieved by queryChangeHistory

queryConfigResourceChangeHistory

public 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.
Parameters:
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 GMT
endTime - return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT
Returns:
an xml of update history. The following is an example.
 <Resources> 
     <ConfigObject id="ProcessorName"> 
         <Resource id="ruleId">
             <Revision Recordid="" Action="Update" User="" Date="" Description="" id="sequence_number"/>
         </Resource>
     </ConfigObject>
 </Resources>
 
 

queryChangeHistory

public org.w3c.dom.Document queryChangeHistory(java.lang.String application,
                                               long startTime,
                                               long endTime)
Queries the change records for the specified application.
Parameters:
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 GMT
endTime - return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT
Returns:
an xml of change history. The following is an example.
 <ChangeRecords>
     <ChangeRecord  User="" Date="" Description="">
         <ConfigObject id="">
             <Resource id="ruleId" Action="Update" Description=""/>
             <Resource id="ruleId" Action="Update" Description=""/>
         </ConfigObject>
  <ChangeRecord>
 </ChangeRecords>
 
 

removeChangeHistory

public void removeChangeHistory(java.lang.String application,
                                long startTime,
                                long endTime)
                         throws javax.management.JMException
Removes the change records for the specified application.
Parameters:
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 GMT
endTime - remove change records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT
Throws:
javax.management.JMException -  

getConfigurationVersion

public long getConfigurationVersion(java.lang.String applicationName)
Gets the configuration version number.
Parameters:
application -  
Returns:
the configuration number, which is the milliseconds since January 1, 1970,00:00:00 GMT

isConfigurationVersionEnabled

public boolean isConfigurationVersionEnabled()
Gets the configuration versioning state.
Returns:
true Configuration versioning is enabled, false Configuration versioning is disabled.

queryChangeHistoryAsString

public java.lang.String queryChangeHistoryAsString(java.lang.String application,
                                                   long startTime,
                                                   long endTime)
Queries the change records for the specified application.
Parameters:
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 GMT
endTime - return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT
Returns:
a String type of xml of change history.

queryConfigResourceChangeHistoryAsString

public java.lang.String queryConfigResourceChangeHistoryAsString(java.lang.String application,
                                                                 long startTime,
                                                                 long endTime)
Queries the change records for the configuration resource within the specified application.
Parameters:
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 GMT
endTime - return update records before but not including this date. It must be the milliseconds since January 1, 1970,00:00:00 GMT
Returns:
a String type of xml of update history.

Overview  Package   Class   Use  Tree  Deprecated  Index  Help 
Copyright © 2007, 2015, Oracle and/or its affiliates. All rights reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD