public abstract class AbstractChangeHistoryServiceDelegateImpl
extends java.lang.Object
implements com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
Constructor and Description |
---|
AbstractChangeHistoryServiceDelegateImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getChangedDataObject()
To return the changed data object
|
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
|
java.lang.String |
getResolvedCMCObject()
This method will return which type this noun will be displayed in the change history UI.
|
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.
|
public AbstractChangeHistoryServiceDelegateImpl()
public void setNounConfiguration(com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration nounConfiguration)
setNounConfiguration
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
nounConfiguration
- The changed noun configurationcom.ibm.commerce.content.changehistory.helper.ChangeHistoryService#getNounConfiguration()
public com.ibm.commerce.foundation.internal.server.services.changehistory.utility.NounConfiguration getNounConfiguration()
getNounConfiguration
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
com.ibm.commerce.content.changehistory.helper.ChangeHistoryService#getNounConfiguration()
public abstract java.lang.Long getUniqueID()
getUniqueID
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
public java.lang.String getUniqueObjectCode() throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
getUniqueObjectCode
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
- If there is any error when resolve unique object codepublic java.lang.String getResolvedCMCObject() throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
getResolvedCMCObject
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
- A problem when retrieve the CMC objectpublic void setChangedDataObject(java.lang.Object dataObject)
setChangedDataObject
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
dataObject
- The data object to setcom.ibm.commerce.content.changehistory.helper.ChangeHistoryService#setChangedDataObject(java.lang.Object)
public java.lang.Object getChangedDataObject()
getChangedDataObject
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
public java.lang.String getStoreEntityId()
getStoreEntityId
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
public void setStoreEntityId(java.lang.String storeent_id)
setStoreEntityId
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
storeent_id
- The storeent_Id for the changed objectpublic java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> getExtendedDataList()
getExtendedDataList
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
public void setConnection(java.sql.Connection conn)
setConnection
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
conn
- The connection to the database.public void setWorkspace(java.lang.String strWorkspace)
setWorkspace
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
strWorkspace
- public void setTaskgrp(java.lang.String taskGrp)
setTaskgrp
in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
taskGrp
-