Package com.connectplaza.eaf.pojo.impl
Class ConnectMessageFactoryImpl
java.lang.Object
com.connectplaza.eaf.pojo.impl.ConnectMessageFactoryImpl
- All Implemented Interfaces:
ConnectMessageFactory
-
Method Summary
Modifier and TypeMethodDescriptionConnectMessagePart<byte[]>
Creates a new empty ConnectMessagePart for a byte[] content.Creates a new empty ConnectMessage.Creates a new empty ConnectMessagePart for a Document content.Creates a new empty ConnectMessagePart for a File Object content.ConnectMessagePart<com.connectplaza.lfs.LargeFile>
Creates a new empty ConnectMessagePart for a LargeFile Object content.Creates a new empty ConnectMessagePart for a Serializable Object content.Creates a new empty ConnectMessagePart for a String content.static ConnectMessageFactory
Gets the singleton implementation of this ConnectMessageFactoryImpl.
-
Method Details
-
getFactory
Gets the singleton implementation of this ConnectMessageFactoryImpl.- Returns:
- a ConnectMessageFactory
-
createConnectMessage
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessage. Oly the properties connectmessageID and connectmessageTimestamp will be set.- Specified by:
createConnectMessage
in interfaceConnectMessageFactory
- Returns:
- a new ConnectMessage
-
createDocumentMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a Document content.- Specified by:
createDocumentMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartDocumentImpl
-
createStringMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a String content.- Specified by:
createStringMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartStringImpl
-
createObjectMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a Serializable Object content.- Specified by:
createObjectMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartObjectImpl
-
createByteArrayMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a byte[] content.- Specified by:
createByteArrayMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartByteArrayImpl
-
createLargeFileMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a LargeFile Object content.- Specified by:
createLargeFileMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartLargeFileImpl
-
createFileMessagePart
Description copied from interface:ConnectMessageFactory
Creates a new empty ConnectMessagePart for a File Object content.- Specified by:
createFileMessagePart
in interfaceConnectMessageFactory
- Returns:
- ConnectMessagPartFileImpl
-