Package de.xima.fc.form.publish
Class FormPublishContext
- java.lang.Object
-
- de.xima.fc.form.publish.FormPublishContext
-
- All Implemented Interfaces:
IFormPublishContext
,Closeable
,AutoCloseable
- Direct Known Subclasses:
ExtendedFormPublishContext
public class FormPublishContext extends Object implements IFormPublishContext
Context of an form-publish-request with data for an publish-call- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected Benutzer
currentBenutzer
protected boolean
derive
protected IEntityContext
ec
protected boolean
firstFormVers
protected ArrayList<FormElement>
formElemList
protected FormVersion
formVersion
protected int
formVersNum
protected Mandant
mandant
protected int
origVersionsNummer
protected boolean
overwriteRequested
protected Projekt
projekt
protected IXFormRenderConfig
renderConfig
protected PublishRequestParameter
requestParameter
-
Constructor Summary
Constructors Modifier Constructor Description protected
FormPublishContext(IEntityContext ec, PublishRequestParameter requestParameter)
FormPublishContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, PublishRequestParameter requestParameter)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Benutzer
getCurrentBenutzer()
IEntityContext
getEntityContext()
ArrayList<FormElement>
getFormElemList()
FormVersion
getFormVersion()
int
getFormVersNum()
int
getOrigVersionsNummer()
Projekt
getProjekt()
PublishRequestParameter
getReqParams()
Deprecated.PublishRequestParameter
getRequestParameter()
IXFormRenderConfig
getXFormRenderConfig()
boolean
isDerive()
boolean
isFirstFormVers()
boolean
isOverwriteRequested()
void
setCurrentBenutzer(Benutzer benutzer)
void
setFirstFormVers(boolean firstFormVers)
void
setFormVersion(FormVersion formVersion)
void
setFormVersNum(int formVersNum)
void
setProjekt(Projekt projekt)
void
setXFormRenderConfig(IXFormRenderConfig config)
String
toString()
-
-
-
Field Detail
-
ec
protected IEntityContext ec
-
currentBenutzer
protected Benutzer currentBenutzer
-
mandant
protected Mandant mandant
-
projekt
protected Projekt projekt
-
formVersion
protected FormVersion formVersion
-
formElemList
protected ArrayList<FormElement> formElemList
-
requestParameter
protected final PublishRequestParameter requestParameter
-
overwriteRequested
protected final boolean overwriteRequested
-
derive
protected final boolean derive
-
origVersionsNummer
protected final int origVersionsNummer
-
formVersNum
protected int formVersNum
-
firstFormVers
protected boolean firstFormVers
-
renderConfig
protected IXFormRenderConfig renderConfig
-
-
Constructor Detail
-
FormPublishContext
protected FormPublishContext(IEntityContext ec, PublishRequestParameter requestParameter)
-
FormPublishContext
@Deprecated public FormPublishContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, PublishRequestParameter requestParameter)
Deprecated.
-
-
Method Detail
-
isFirstFormVers
public boolean isFirstFormVers()
- Specified by:
isFirstFormVers
in interfaceIFormPublishContext
-
setFirstFormVers
public void setFirstFormVers(boolean firstFormVers)
- Specified by:
setFirstFormVers
in interfaceIFormPublishContext
-
getReqParams
@Deprecated public PublishRequestParameter getReqParams()
Deprecated.- Specified by:
getReqParams
in interfaceIFormPublishContext
-
getRequestParameter
public PublishRequestParameter getRequestParameter()
- Specified by:
getRequestParameter
in interfaceIFormPublishContext
-
isOverwriteRequested
public boolean isOverwriteRequested()
- Specified by:
isOverwriteRequested
in interfaceIFormPublishContext
-
setFormVersNum
public void setFormVersNum(int formVersNum)
- Specified by:
setFormVersNum
in interfaceIFormPublishContext
-
getFormVersNum
public int getFormVersNum()
- Specified by:
getFormVersNum
in interfaceIFormPublishContext
-
isDerive
public boolean isDerive()
- Specified by:
isDerive
in interfaceIFormPublishContext
-
getOrigVersionsNummer
public int getOrigVersionsNummer()
- Specified by:
getOrigVersionsNummer
in interfaceIFormPublishContext
-
getFormElemList
public ArrayList<FormElement> getFormElemList()
- Specified by:
getFormElemList
in interfaceIFormPublishContext
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjekt
in interfaceIFormPublishContext
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjekt
in interfaceIFormPublishContext
-
getFormVersion
public FormVersion getFormVersion()
- Specified by:
getFormVersion
in interfaceIFormPublishContext
-
setFormVersion
public void setFormVersion(FormVersion formVersion)
- Specified by:
setFormVersion
in interfaceIFormPublishContext
-
getCurrentBenutzer
public Benutzer getCurrentBenutzer()
- Specified by:
getCurrentBenutzer
in interfaceIFormPublishContext
-
setCurrentBenutzer
public void setCurrentBenutzer(Benutzer benutzer)
- Specified by:
setCurrentBenutzer
in interfaceIFormPublishContext
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContext
in interfaceIFormPublishContext
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceIFormPublishContext
-
setXFormRenderConfig
public void setXFormRenderConfig(IXFormRenderConfig config)
- Specified by:
setXFormRenderConfig
in interfaceIFormPublishContext
-
getXFormRenderConfig
public IXFormRenderConfig getXFormRenderConfig()
- Specified by:
getXFormRenderConfig
in interfaceIFormPublishContext
-
-