public class DefaultTicketAttributeChangeEventStrategy extends AbstractBusinessService implements TicketAttributeChangeEventStrategy
AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultTicketAttributeChangeEventStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected CsTicketChangeEventEntryModel |
createChangeEntryForAttribute(CsTicketModel ticket,
String attribute) |
protected ItemModelContextImpl |
getContext(AbstractItemModel model) |
Set<CsTicketChangeEventEntryModel> |
getEntriesForChangedAttributes(CsTicketModel ticket)
Retrieve a list list of change entries for the specified ticket.
|
protected Object |
getNewAttributeValue(ItemModel item,
String attribute) |
protected Object |
getOriginalAttributeValue(ItemModel item,
String attribute) |
void |
setDefaultChangeRecordType(String defaultChangeRecordType) |
void |
setTypeService(TypeService typeService) |
void |
setValueType2ChangeRecordType(Map<String,String> valueType2ChangeRecordType) |
protected String |
stringValueOf(Object object) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic DefaultTicketAttributeChangeEventStrategy()
public Set<CsTicketChangeEventEntryModel> getEntriesForChangedAttributes(CsTicketModel ticket)
TicketAttributeChangeEventStrategygetEntriesForChangedAttributes in interface TicketAttributeChangeEventStrategyticket - The ticket to get the changes forpublic void setTypeService(TypeService typeService)
public void setValueType2ChangeRecordType(Map<String,String> valueType2ChangeRecordType)
public void setDefaultChangeRecordType(String defaultChangeRecordType)
protected CsTicketChangeEventEntryModel createChangeEntryForAttribute(CsTicketModel ticket, String attribute)
protected Object getOriginalAttributeValue(ItemModel item, String attribute)
protected ItemModelContextImpl getContext(AbstractItemModel model)
Copyright © 2017 SAP SE. All Rights Reserved.