Package org.eclnt.workplace.eximport
Class WorkpageStartInfoExtensionAdapter
java.lang.Object
org.eclnt.workplace.eximport.WorkpageStartInfoExtensionAdapter
This class was written to support CC-users that have extended the class
WorkpageStartInfo and have added own properties. Due to the fact that
WorkpageStartInfo is contained in other XML-serialized objects it is not
possible to process extension as part of this serializations.
Consequence: if extending WorkpageStartInfo then extensions have to serialize their additional attributes into parameters of WorkpageStartInfo - and deserialize accordingly when the information is transferred into a WorkpageStartInfo...
Extensions of this class need to be registered in system.xml configuration, please check system.xml_template for element "workplace", attribute "workpagestartinfoextensionadapter".
Consequence: if extending WorkpageStartInfo then extensions have to serialize their additional attributes into parameters of WorkpageStartInfo - and deserialize accordingly when the information is transferred into a WorkpageStartInfo...
Extensions of this class need to be registered in system.xml configuration, please check system.xml_template for element "workplace", attribute "workpagestartinfoextensionadapter".
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
instance()
protected boolean
isActive()
final WorkpageStartInfo
Transfers the default class into the extendedWorkpageStartInfo
class.protected WorkpageStartInfo
You must override this method.final WorkpageStartInfo
Transfers the extended class into the defaultWorkpageStartInfo
class.protected WorkpageStartInfo
You must override this method.
-
Constructor Details
-
WorkpageStartInfoExtensionAdapter
public WorkpageStartInfoExtensionAdapter()
-
-
Method Details
-
instance
-
transferExtensionIntoDefault
Transfers the extended class into the defaultWorkpageStartInfo
class. This method may be called multiple times during the workplace processing for the sameWorkpageStartInfo
-instance.
Internally the method first callscheckIfTransferExtensionIntoDefaultIsRequired(WorkpageStartInfo)
and only executes the transfer if required. -
transferDefaultIntoExtension
Transfers the default class into the extendedWorkpageStartInfo
class. This method may be called multiple times during the workplace processing for the sameWorkpageStartInfo
-instance.
Internally the method first callscheckIfTransferDefaultIntoExtensionIsRequired(WorkpageStartInfo)
and only executes the transfer if required. -
isActive
protected boolean isActive() -
checkIfTransferExtensionIntoDefaultIsRequired
-
checkIfTransferDefaultIntoExtensionIsRequired
-
transferExtensionIntoDefaultExecute
You must override this method. In your implementation do NOT call the super-implementation! -
transferDefaultIntoExtensionExecute
You must override this method. In your implementation do NOT call the super-implementation!
-