Package de.xima.fc.transform
Class AFdTransformBuilder
- java.lang.Object
-
- de.xima.fc.transform.AFdTransformBuilder
-
- All Implemented Interfaces:
IFdTransformBuilder
- Direct Known Subclasses:
FdToExcelBuilder
,FdToXmlBuilder
public abstract class AFdTransformBuilder extends Object implements IFdTransformBuilder
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
exportCreationDate
protected boolean
exportExportMetaData
protected boolean
exportID
protected boolean
exportInbox
protected boolean
exportModificationDate
protected boolean
exportProcessID
protected boolean
exportStatus
protected boolean
exportSubject
protected boolean
exportTechnicalFields
protected boolean
exportVariables
protected Projekt
inboxProject
protected boolean
isForProjectInbox
-
Constructor Summary
Constructors Constructor Description AFdTransformBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FormElement>
getElementsList(FormVersion formVersion, HashMap<Long,List<FormElement>> elementMap, HashMap<Long,Set<String>> variablesMap)
Method to get the list ofFormElement
s of anFormVersion
.boolean
isExportCreationDate()
boolean
isExportExportMetaData()
boolean
isExportID()
boolean
isExportInbox()
boolean
isExportModificationDate()
boolean
isExportProcessID()
boolean
isExportStatus()
boolean
isExportSubject()
boolean
isExportTechnicalFields()
boolean
isExportVariables()
void
setExportCreationDate(boolean exportCreationDate)
void
setExportExportMetaData(boolean exportExportMetadata)
void
setExportID(boolean exportID)
void
setExportInbox(boolean exportInbox)
void
setExportModificationDate(boolean exportModificationDate)
void
setExportProcessID(boolean exportProcessID)
void
setExportStatus(boolean exportStatus)
void
setExportSubject(boolean exportSubject)
void
setExportTechnicalFields(boolean exportTechnicalFields)
void
setExportVariables(boolean exportVariables)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.transform.IFdTransformBuilder
forProjectInbox, isExportExportMetadData, withCreationDate, withExportMetaData, withModificationDate, withProcessID, withStatus, withTechnicalFields, withVariables
-
-
-
-
Field Detail
-
exportID
protected boolean exportID
-
exportSubject
protected boolean exportSubject
-
exportInbox
protected boolean exportInbox
-
exportStatus
protected boolean exportStatus
-
exportProcessID
protected boolean exportProcessID
-
exportCreationDate
protected boolean exportCreationDate
-
exportModificationDate
protected boolean exportModificationDate
-
exportVariables
protected boolean exportVariables
-
exportTechnicalFields
protected boolean exportTechnicalFields
-
exportExportMetaData
protected boolean exportExportMetaData
-
inboxProject
protected Projekt inboxProject
-
isForProjectInbox
protected boolean isForProjectInbox
-
-
Method Detail
-
isExportCreationDate
public boolean isExportCreationDate()
- Specified by:
isExportCreationDate
in interfaceIFdTransformBuilder
- Returns:
- boolean if the creation date of form records should be exported
-
isExportModificationDate
public boolean isExportModificationDate()
- Specified by:
isExportModificationDate
in interfaceIFdTransformBuilder
- Returns:
- boolean if the modification date of form records should be exported
-
isExportProcessID
public boolean isExportProcessID()
- Specified by:
isExportProcessID
in interfaceIFdTransformBuilder
- Returns:
- boolean if the process ids of form records should be exported
-
isExportStatus
public boolean isExportStatus()
- Specified by:
isExportStatus
in interfaceIFdTransformBuilder
- Returns:
- boolean if the status name of form records should be exported
-
isExportTechnicalFields
public boolean isExportTechnicalFields()
- Specified by:
isExportTechnicalFields
in interfaceIFdTransformBuilder
- Returns:
- boolean if technical fields (e.g. xf-action) of form records should be exported
-
isExportVariables
public boolean isExportVariables()
- Specified by:
isExportVariables
in interfaceIFdTransformBuilder
- Returns:
- boolean if variables of form records should be exported
-
isExportID
public boolean isExportID()
- Specified by:
isExportID
in interfaceIFdTransformBuilder
- Returns:
- the exportID
-
setExportID
public void setExportID(boolean exportID)
- Specified by:
setExportID
in interfaceIFdTransformBuilder
- Parameters:
exportID
- the exportID to set
-
isExportSubject
public boolean isExportSubject()
- Specified by:
isExportSubject
in interfaceIFdTransformBuilder
- Returns:
- the exportSubject
-
setExportSubject
public void setExportSubject(boolean exportSubject)
- Specified by:
setExportSubject
in interfaceIFdTransformBuilder
- Parameters:
exportSubject
- the exportSubject to set
-
isExportInbox
public boolean isExportInbox()
- Specified by:
isExportInbox
in interfaceIFdTransformBuilder
- Returns:
- the exportInbox
-
setExportInbox
public void setExportInbox(boolean exportInbox)
- Specified by:
setExportInbox
in interfaceIFdTransformBuilder
- Parameters:
exportInbox
- the exportInbox to set
-
isExportExportMetaData
public boolean isExportExportMetaData()
- Specified by:
isExportExportMetaData
in interfaceIFdTransformBuilder
- Returns:
- the exportExportMetaData
-
setExportStatus
public void setExportStatus(boolean exportStatus)
- Specified by:
setExportStatus
in interfaceIFdTransformBuilder
- Parameters:
exportStatus
- the exportStatus to set
-
setExportProcessID
public void setExportProcessID(boolean exportProcessID)
- Specified by:
setExportProcessID
in interfaceIFdTransformBuilder
- Parameters:
exportProcessID
- the exportProcessID to set
-
setExportCreationDate
public void setExportCreationDate(boolean exportCreationDate)
- Specified by:
setExportCreationDate
in interfaceIFdTransformBuilder
- Parameters:
exportCreationDate
- the exportCreationDate to set
-
setExportModificationDate
public void setExportModificationDate(boolean exportModificationDate)
- Specified by:
setExportModificationDate
in interfaceIFdTransformBuilder
- Parameters:
exportModificationDate
- the exportModificationDate to set
-
setExportVariables
public void setExportVariables(boolean exportVariables)
- Specified by:
setExportVariables
in interfaceIFdTransformBuilder
- Parameters:
exportVariables
- the exportVariables to set
-
setExportTechnicalFields
public void setExportTechnicalFields(boolean exportTechnicalFields)
- Specified by:
setExportTechnicalFields
in interfaceIFdTransformBuilder
- Parameters:
exportTechnicalFields
- the exportTechnicalFields to set
-
setExportExportMetaData
public void setExportExportMetaData(boolean exportExportMetadata)
- Specified by:
setExportExportMetaData
in interfaceIFdTransformBuilder
- Parameters:
exportExportMetadata
- the exportExportMetadata to set
-
getElementsList
public List<FormElement> getElementsList(FormVersion formVersion, HashMap<Long,List<FormElement>> elementMap, HashMap<Long,Set<String>> variablesMap)
Method to get the list ofFormElement
s of anFormVersion
. This method caches the list of elements and ignores technical fields or variables if set so. Variables to ignore are also cached.- Parameters:
formVersion
- theFormVersion
to get the elements fromelementMap
- aMap
to cache theFormElement
s to theFormVersion.getId()
variablesMap
- aMap
to cache the name of variables to theFormVersion.getId()
- Returns:
- the list of
FormElement
s to use for the export
-
-