Interface ConnectedObject
-
- All Superinterfaces:
BusinessObject,java.lang.Cloneable,MessageListHolder,java.io.Serializable
- All Known Subinterfaces:
ConnectedDocument,ConnectedDocumentItem
- All Known Implementing Classes:
ConnectedDocumentImpl,ConnectedDocumentItemImpl,ConnectedObjectImpl
public interface ConnectedObject extends BusinessObject, java.lang.Cloneable
Represents the ConnectedObject object.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDOC_ORIGIN_CRMDocument Origin CRM
If the document Origin has this value, then the was the document initially created in the CRM Back end.static java.lang.StringIL_NO_TRANSFER_AND_UPDATETransfer update type which filled for a the predecessor document if no information from back end is found.static java.lang.StringIL_TRANSFER_AND_UPDATETransfer update type which is used for a predecessor document in the back end.static java.lang.StringUNDEFINEDTransfer update type undefined.-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectclone()Performs a deep-copy of the object rather than a shallow copy.java.lang.StringgetBusObjectType()Returns the business object type of the document.java.lang.StringgetDocItemNumber()Returns the document item number which is used to identify the document item in the backend.java.lang.StringgetDocNumber()Returns the document number which is used to identify the document in the backend.DocumentTypegetDocType()Returns the document type which characterises the document in the backend (e.g.java.lang.StringgetDocumentOrigin()Returns the origin of the document (e.g RFC destination).java.lang.StringgetRefGuid()Returns the reference GUID which is used to identify the document-header or item in the backend.java.lang.StringgetTransferUpdateType()Returns the binary transfer update type.booleanisDisplayable()Returns the displayable property.voidsetBusObjectType(java.lang.String busObjectType)Sets the business object type of the document.voidsetDisplayable(boolean displayable)Sets the displayable property.voidsetDocItemNumber(java.lang.String docItemNumber)Sets the document item number which is used to identify the document in the backend.voidsetDocNumber(java.lang.String docNumber)Sets the document number which is used to identify the document in the backend.voidsetDocType(DocumentType docType)Sets the document type.voidsetDocumentOrigin(java.lang.String docOrigin)Sets the document origin (e.g RFC destination) of a document.voidsetRefGuid(java.lang.String refGuid)Sets the reference GUID.voidsetTransferUpdateType(java.lang.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, setValid
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
-
-
-
Field Detail
-
IL_TRANSFER_AND_UPDATE
static final java.lang.String IL_TRANSFER_AND_UPDATE
Transfer update type which is used for a predecessor document in the back end.- See Also:
- Constant Field Values
-
IL_NO_TRANSFER_AND_UPDATE
static final java.lang.String 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:
- Constant Field Values
-
UNDEFINED
static final java.lang.String UNDEFINED
Transfer update type undefined.- See Also:
- Constant Field Values
-
DOC_ORIGIN_CRM
static final java.lang.String 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:
- Constant Field Values
-
-
Method Detail
-
getDocNumber
java.lang.String getDocNumber()
Returns the document number which is used to identify the document in the backend.- Returns:
- Document number
-
setRefGuid
void setRefGuid(java.lang.String refGuid)
Sets the reference GUID.- Parameters:
refGuid- Reference GUID
-
getRefGuid
java.lang.String getRefGuid()
Returns the reference GUID which is used to identify the document-header or item in the backend.- Returns:
- Reference GUID
-
getDocItemNumber
java.lang.String getDocItemNumber()
Returns the document item number which is used to identify the document item in the backend.- Returns:
- Document item number
-
setDocNumber
void setDocNumber(java.lang.String docNumber)
Sets the document number which is used to identify the document in the backend.- Parameters:
docNumber- Document number
-
setDocItemNumber
void setDocItemNumber(java.lang.String docItemNumber)
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
void setDocType(DocumentType docType)
Sets the document type.- Parameters:
docType- the document type
-
getTransferUpdateType
java.lang.String getTransferUpdateType()
Returns the binary transfer update type.- Returns:
- Binary transfer update type
-
setTransferUpdateType
void setTransferUpdateType(java.lang.String transferUpdateType)
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
void setDocumentOrigin(java.lang.String docOrigin)
Sets the document origin (e.g RFC destination) of a document.- Parameters:
docOrigin- Documents origin
-
getDocumentOrigin
java.lang.String getDocumentOrigin()
Returns the origin of the document (e.g RFC destination).- Returns:
- Documents origin
-
setBusObjectType
void setBusObjectType(java.lang.String busObjectType)
Sets the business object type of the document.- Parameters:
busObjectType- Business object type
-
getBusObjectType
java.lang.String getBusObjectType()
Returns the business object type of the document.- Returns:
- Business object type
-
clone
java.lang.Object clone()
Performs a deep-copy of the object rather than a shallow copy.- Returns:
- returns a deep copy
-
-