public abstract class ExtendAbstractChangeHistoryServiceImpl
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static int | EXECUTE_QUERY_FROM_BASE_SCHEMA
The constants of the parameter for executeQuery method to execute the query from base schema.
|
protected static int | EXECUTE_QUERY_FROM_READ_SCHEMA
The constants of the parameter for executeQuery method to execute the query from read schema.
|
protected static int | EXECUTE_QUERY_FROM_WRITE_SCHEMA
The constants of the parameter for executeQuery method to execute the query from write schema.
|
Constructor and Description |
---|
ExtendAbstractChangeHistoryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> | addOldObjectCodeExtendedData(java.util.List extendedList)
This method adds the old object code to extended data list if the object code of the object is changed.
|
protected java.lang.String | executeQuery(java.lang.String strStatement)
This method will run the query on base schema or workspace read schema based on whether this change is from base workspace or regular workspace
|
protected java.lang.String | executeQuery(java.lang.String strStatement, int schemaFlag)
This method will run the query on base schema or workspace read or write schema based on whether this change is from base workspace or regular workspace
|
protected java.lang.String | executeQuery(java.lang.String strStatement, java.util.Vector vParameters)
This method will run the query on base schema or workspace read schema based on whether this change is from base workspace or regular workspace
|
protected java.lang.String | executeQuery(java.lang.String strStatement, java.util.Vector vParameters, int schemaFlag)
This method will run the query on base schema or workspace read or write schema based on whether this change is from base workspace or regular workspace and which schema parameter is passed in.
|
java.lang.Object | getChangedDataObject()
To return the changed data object
|
protected java.sql.Connection | getConnection()
Return the connection which component service implementation could use to query database.
|
java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> | getExtendedDataList()
This method will retrieve extended data for this change history record.
|
com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration | getNounConfiguration()
Return the nounConfiguration
|
protected abstract java.lang.String | getObjectCodeForObject(java.lang.Object aDataObject)
This method will return the uniqueObjectCode from noun.
|
java.lang.String | getResolvedCMCObject()
This method will return which type this noun will be displayed in the change history UI.
|
protected java.lang.String | getResourceBoundleName() |
protected abstract java.lang.String | getStatementToFindObjectCode()
This method will return the statement which could be used to query db to get the object code.
|
java.lang.String | getStoreEntityId()
To return the storeent_id which the change happened on, the storeId will be shown in the change history UI
|
abstract java.lang.Long | getUniqueID()
Retrieve uniqueID from the noun by using the specified uniqueIDXpath
|
java.lang.String | getUniqueObjectCode()
Get the uniqueObjectCode.
|
void | setChangedDataObject(java.lang.Object dataObject)
Set the changed data object.
|
void | setConnection(java.sql.Connection conn)
Set the connection which component service implementation could use to query database.
|
void | setNounConfiguration(com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration nounConfiguration)
Set the noun configuration, the configuration is retrieved from the wc-business-object-mediator.xml which include the nounName and the service implementation, the service implementation will be used to provide the information needed by change history.
|
void | setStoreEntityId(java.lang.String storeent_id)
To set the storeent_id which the change happened on
|
void | setTaskgrp(java.lang.String taskGrp)
Set the TaskGrp which contains the change.
|
void | setWorkspace(java.lang.String strWorkspace)
Set the Workspace which contains the change.
|
protected static final int EXECUTE_QUERY_FROM_BASE_SCHEMA
protected static final int EXECUTE_QUERY_FROM_WRITE_SCHEMA
protected static final int EXECUTE_QUERY_FROM_READ_SCHEMA
public ExtendAbstractChangeHistoryServiceImpl()
public void setNounConfiguration(com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration nounConfiguration)
public com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration getNounConfiguration()
public abstract java.lang.Long getUniqueID()
public java.lang.String getUniqueObjectCode() throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
protected abstract java.lang.String getStatementToFindObjectCode()
protected abstract java.lang.String getObjectCodeForObject(java.lang.Object aDataObject) throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
public java.lang.String getResolvedCMCObject() throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
public void setChangedDataObject(java.lang.Object dataObject)
public java.lang.Object getChangedDataObject()
public java.lang.String getStoreEntityId()
public void setStoreEntityId(java.lang.String storeent_id)
public java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> getExtendedDataList()
protected java.lang.String getResourceBoundleName()
protected java.lang.String executeQuery(java.lang.String strStatement) throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
protected java.lang.String executeQuery(java.lang.String strStatement, int schemaFlag) throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
protected java.lang.String executeQuery(java.lang.String strStatement, java.util.Vector vParameters) throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
protected java.lang.String executeQuery(java.lang.String strStatement, java.util.Vector vParameters, int schemaFlag) throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
public void setConnection(java.sql.Connection conn)
protected java.sql.Connection getConnection()
public void setWorkspace(java.lang.String strWorkspace)
public void setTaskgrp(java.lang.String taskGrp)
protected java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> addOldObjectCodeExtendedData(java.util.List extendedList)