Class ConnectedObjectImpl
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,ConnectedObject,Serializable,Cloneable
- Direct Known Subclasses:
ConnectedDocumentImpl,ConnectedDocumentItemImpl
The Connected Object represents an entry in the document flow
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringBusiness object type from SAP back endprotected booleanDocument can be displayed?protected StringItem numberprotected StringDocument numberprotected DocumentTypeDocument typeprotected StringTransfer update typeFields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKeyFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
DOC_ORIGIN_CRM, IL_NO_TRANSFER_AND_UPDATE, IL_TRANSFER_AND_UPDATE, UNDEFINEDFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Performs a deep-copy of the object rather than a shallow copy.Returns the document item numberReturns the document numberReturns the document typeReturns the binary transfer update typebooleanReturns the displayable propertyvoidsetDisplayable(boolean displayable) Sets the displayable propertyvoidsetDocItemNumber(String docItemNumber) Sets the document numbervoidsetDocNumber(String docNumber) Sets the document numbervoidsetDocType(DocumentType docType) Sets the document typevoidsetTransferUpdateType(String transferUpdateType) Sets the binary transfer update typeMethods inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
addExtensionData, addMessage, clearMessages, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, determineBackendObject, equals, getBackendBusinessObject, getBackendBusinessObject, getBackendType, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getMessageList, getModuleConfigurationAccess, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hashCode, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setBackendObject, setBackendType, setExtensionMap, setGenericFactory, setHandle, setInvalid, setModuleConfigurationAccess, setTechKey, setValid, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValidMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
getBusObjectType, getDocumentOrigin, getRefGuid, setBusObjectType, setDocumentOrigin, setRefGuidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Field Details
-
docNumber
Document number -
docItemNumber
Item number -
docType
Document type -
displayable
protected boolean displayableDocument can be displayed? -
transferUpdateType
Transfer update type -
busObjectType
Business object type from SAP back end
-
-
Constructor Details
-
ConnectedObjectImpl
public ConnectedObjectImpl()
-
-
Method Details
-
getDocNumber
Returns the document number- Specified by:
getDocNumberin interfaceConnectedObject- Returns:
- document number is used to identify the document in the backend
-
getDocItemNumber
Returns the document item number- Specified by:
getDocItemNumberin interfaceConnectedObject- Returns:
- document number is used to identify the document item in the backend
-
setDocNumber
Sets the document number- Specified by:
setDocNumberin interfaceConnectedObject- Parameters:
docNumber- Document number
-
setDocItemNumber
Sets the document number- Specified by:
setDocItemNumberin interfaceConnectedObject- Parameters:
docItemNumber- Document item number
-
getTransferUpdateType
Returns the binary transfer update type- Specified by:
getTransferUpdateTypein interfaceConnectedObject- Returns:
- binary transfer update type
-
setTransferUpdateType
Sets the binary transfer update type- Specified by:
setTransferUpdateTypein interfaceConnectedObject- Parameters:
transferUpdateType- Binary transfer update type
-
getDocType
Returns the document type- Specified by:
getDocTypein interfaceConnectedObject- Returns:
- document type charaterizes the document in the backend (e.g., order, order template)
-
setDocType
Sets the document type- Specified by:
setDocTypein interfaceConnectedObject- Parameters:
docType- the document type
-
isDisplayable
public boolean isDisplayable()Returns the displayable property- Specified by:
isDisplayablein interfaceConnectedObject- Returns:
- displayable property determines if the document may be displayed in the order status
-
setDisplayable
public void setDisplayable(boolean displayable) Sets the displayable property- Specified by:
setDisplayablein interfaceConnectedObject- Parameters:
displayable- controls whether the connected object should be displayed or not
-
clone
Performs a deep-copy of the object rather than a shallow copy.- Specified by:
clonein interfaceConnectedObject- Overrides:
clonein classBusinessObjectBase- Returns:
- returns a deep copy
-