Class ConnectedDocumentImpl
- java.lang.Object
-
- de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
-
- de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedDocumentImpl
-
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,ConnectedDocument,ConnectedObject,java.io.Serializable,java.lang.Cloneable
public class ConnectedDocumentImpl extends ConnectedObjectImpl implements ConnectedDocument
The ConnectedDocument represents an entry in the document flow.- See Also:
ConnectedDocument, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringappTypApplication typeprotected java.lang.StringdocOriginDocument origenprotected java.lang.StringrefGuidReference to related document-
Fields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
busObjectType, displayable, docItemNumber, docNumber, docType, transferUpdateType
-
Fields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKey
-
Fields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedDocument
BILL, DLVY, ORDER
-
Fields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
DOC_ORIGIN_CRM, IL_NO_TRANSFER_AND_UPDATE, IL_TRANSFER_AND_UPDATE, UNDEFINED
-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description ConnectedDocumentImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()Performs a deep-copy of the object rather than a shallow copy.java.lang.StringgetAppTyp()Returns the document numberjava.lang.StringgetBusObjectType()Returns the business object type of the document.java.lang.StringgetDocumentOrigin()Returns the origin (e.g RFC destination) of a documentjava.lang.StringgetRefGuid()Returns the document numbervoidsetAppTyp(java.lang.String appTyp)Sets the document type used to identify the back end of the document (one order document or from CRM billing)voidsetBusObjectType(java.lang.String busObjectType)Sets the business object type of the document.voidsetDocumentOrigin(java.lang.String docOrigin)Set the origin (e.g RFC destination) of a documentvoidsetRefGuid(java.lang.String refGuid)Sets the document number-
Methods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateType
-
Methods 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, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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, setValid
-
Methods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.ConnectedObject
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateType
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
-
-
-
Method Detail
-
getRefGuid
public java.lang.String getRefGuid()
Returns the document number- Specified by:
getRefGuidin interfaceConnectedObject- Returns:
- document number is used to identify the document in the backend
-
setRefGuid
public void setRefGuid(java.lang.String refGuid)
Sets the document number- Specified by:
setRefGuidin interfaceConnectedObject- Parameters:
refGuid- Reference GUID
-
getAppTyp
public java.lang.String getAppTyp()
Returns the document number- Specified by:
getAppTypin interfaceConnectedDocument- Returns:
- document type is used to identify the backend of the document (one order document (1) or from CRM billing (B)
-
setAppTyp
public void setAppTyp(java.lang.String appTyp)
Sets the document type used to identify the back end of the document (one order document or from CRM billing)- Specified by:
setAppTypin interfaceConnectedDocument- Parameters:
appTyp- Document application type
-
setDocumentOrigin
public void setDocumentOrigin(java.lang.String docOrigin)
Set the origin (e.g RFC destination) of a document- Specified by:
setDocumentOriginin interfaceConnectedObject- Parameters:
docOrigin- containing a documents origin
-
getDocumentOrigin
public java.lang.String getDocumentOrigin()
Returns the origin (e.g RFC destination) of a document- Specified by:
getDocumentOriginin interfaceConnectedObject- Returns:
- String containing a documents origin
-
getBusObjectType
public java.lang.String getBusObjectType()
Description copied from interface:ConnectedObjectReturns the business object type of the document.- Specified by:
getBusObjectTypein interfaceConnectedObject- Returns:
- Business object type
-
setBusObjectType
public void setBusObjectType(java.lang.String busObjectType)
Description copied from interface:ConnectedObjectSets the business object type of the document.- Specified by:
setBusObjectTypein interfaceConnectedObject- Parameters:
busObjectType- Business object type
-
clone
public java.lang.Object clone()
Description copied from class:ConnectedObjectImplPerforms a deep-copy of the object rather than a shallow copy.- Specified by:
clonein interfaceConnectedObject- Overrides:
clonein classConnectedObjectImpl- Returns:
- returns a deep copy
-
-