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,Serializable,Cloneable
The ConnectedDocument represents an entry in the document flow.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringApplication typeprotected StringDocument origenprotected StringReference to related documentFields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
busObjectType, displayable, docItemNumber, docNumber, docType, transferUpdateTypeFields 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.ConnectedDocument
BILL, DLVY, ORDERFields 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 numberReturns the business object type of the document.Returns the origin (e.g RFC destination) of a documentReturns the document numbervoidSets the document type used to identify the back end of the document (one order document or from CRM billing)voidsetBusObjectType(String busObjectType) Sets the business object type of the document.voidsetDocumentOrigin(String docOrigin) Set the origin (e.g RFC destination) of a documentvoidsetRefGuid(String refGuid) Sets the document numberMethods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.impl.ConnectedObjectImpl
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateTypeMethods 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
getDocItemNumber, getDocNumber, getDocType, getTransferUpdateType, isDisplayable, setDisplayable, setDocItemNumber, setDocNumber, setDocType, setTransferUpdateTypeMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Field Details
-
refGuid
Reference to related document -
appTyp
Application type -
docOrigin
Document origen
-
-
Constructor Details
-
ConnectedDocumentImpl
public ConnectedDocumentImpl()
-
-
Method Details
-
getRefGuid
Returns the document number- Specified by:
getRefGuidin interfaceConnectedObject- Returns:
- document number is used to identify the document in the backend
-
setRefGuid
Sets the document number- Specified by:
setRefGuidin interfaceConnectedObject- Parameters:
refGuid- Reference GUID
-
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
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
Set the origin (e.g RFC destination) of a document- Specified by:
setDocumentOriginin interfaceConnectedObject- Parameters:
docOrigin- containing a documents origin
-
getDocumentOrigin
Returns the origin (e.g RFC destination) of a document- Specified by:
getDocumentOriginin interfaceConnectedObject- Returns:
- String containing a documents origin
-
getBusObjectType
Description copied from interface:ConnectedObjectReturns the business object type of the document.- Specified by:
getBusObjectTypein interfaceConnectedObject- Returns:
- Business object type
-
setBusObjectType
Description copied from interface:ConnectedObjectSets the business object type of the document.- Specified by:
setBusObjectTypein interfaceConnectedObject- Parameters:
busObjectType- Business object type
-
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
-