Interface ConnectedObject
- All Superinterfaces:
BusinessObject,Cloneable,MessageListHolder,Serializable
- All Known Subinterfaces:
ConnectedDocument,ConnectedDocumentItem
- All Known Implementing Classes:
ConnectedDocumentImpl,ConnectedDocumentItemImpl,ConnectedObjectImpl
Represents the ConnectedObject object.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDocument Origin CRM
If the document Origin has this value, then the was the document initially created in the CRM Back end.static final StringTransfer update type which filled for a the predecessor document if no information from back end is found.static final StringTransfer update type which is used for a predecessor document in the back end.static final StringTransfer update type undefined.Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Method Summary
Modifier and TypeMethodDescriptionclone()Performs a deep-copy of the object rather than a shallow copy.Returns the business object type of the document.Returns the document item number which is used to identify the document item in the backend.Returns the document number which is used to identify the document in the backend.Returns the document type which characterises the document in the backend (e.g.Returns the origin of the document (e.g RFC destination).Returns the reference GUID which is used to identify the document-header or item in the backend.Returns the binary transfer update type.booleanReturns the displayable property.voidsetBusObjectType(String busObjectType) Sets the business object type of the document.voidsetDisplayable(boolean displayable) Sets the displayable property.voidsetDocItemNumber(String docItemNumber) Sets the document item number which is used to identify the document in the backend.voidsetDocNumber(String docNumber) Sets the document number which is used to identify the document in the backend.voidsetDocType(DocumentType docType) Sets the document type.voidsetDocumentOrigin(String docOrigin) Sets the document origin (e.g RFC destination) of a document.voidsetRefGuid(String refGuid) Sets the reference GUID.voidsetTransferUpdateType(String transferUpdateType) Sets the binary transfer update type.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, setValidMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Field Details
-
IL_TRANSFER_AND_UPDATE
Transfer update type which is used for a predecessor document in the back end.- See Also:
-
IL_NO_TRANSFER_AND_UPDATE
Transfer update type which filled for a the predecessor document if no information from back end is found.- See Also:
-
UNDEFINED
Transfer update type undefined.- See Also:
-
DOC_ORIGIN_CRM
Document Origin CRM
If the document Origin has this value, then the was the document initially created in the CRM Back end.- See Also:
-
-
Method Details
-
getDocNumber
String getDocNumber()Returns the document number which is used to identify the document in the backend.- Returns:
- Document number
-
setRefGuid
Sets the reference GUID.- Parameters:
refGuid- Reference GUID
-
getRefGuid
String getRefGuid()Returns the reference GUID which is used to identify the document-header or item in the backend.- Returns:
- Reference GUID
-
getDocItemNumber
String getDocItemNumber()Returns the document item number which is used to identify the document item in the backend.- Returns:
- Document item number
-
setDocNumber
Sets the document number which is used to identify the document in the backend.- Parameters:
docNumber- Document number
-
setDocItemNumber
Sets the document item number which is used to identify the document in the backend.- Parameters:
docItemNumber- Document item number
-
getDocType
DocumentType getDocType()Returns the document type which characterises the document in the backend (e.g. order, quotation, order template).- Returns:
- Document type
-
setDocType
Sets the document type.- Parameters:
docType- the document type
-
getTransferUpdateType
String getTransferUpdateType()Returns the binary transfer update type.- Returns:
- Binary transfer update type
-
setTransferUpdateType
Sets the binary transfer update type.- Parameters:
transferUpdateType- Binary transfer update type
-
isDisplayable
boolean isDisplayable()Returns the displayable property.- Returns:
- true, if the document may be displayed in the order status
-
setDisplayable
void setDisplayable(boolean displayable) Sets the displayable property.- Parameters:
displayable- controls whether the connected object should be displayed or not
-
setDocumentOrigin
Sets the document origin (e.g RFC destination) of a document.- Parameters:
docOrigin- Documents origin
-
getDocumentOrigin
String getDocumentOrigin()Returns the origin of the document (e.g RFC destination).- Returns:
- Documents origin
-
setBusObjectType
Sets the business object type of the document.- Parameters:
busObjectType- Business object type
-
getBusObjectType
String getBusObjectType()Returns the business object type of the document.- Returns:
- Business object type
-
clone
Object clone()Performs a deep-copy of the object rather than a shallow copy.- Returns:
- returns a deep copy
-