public class ProjectInviteBean extends AProjectDetailsBean
entity
Constructor and Description |
---|
ProjectInviteBean() |
Modifier and Type | Method and Description |
---|---|
ParameterModel |
addNewParameter() |
void |
addNewParameter(IParameterModel model) |
void |
closePlaceholders()
remove context Placeholders on close dialog
|
FormEingangDatei |
createEmptyFeDatei(Vorgang process)
creates an empty FeDatei with default values
|
Vorgang |
createEmptyProcess(Projekt project,
IFormRequestContext reqCtx,
IEntityContext ec)
creates an empty process and saves it in vorgang database
|
List<String> |
generateAllFormElements()
Liefert Liste mit allen Upload-Element der aktuell aktiven Formularversion
|
List<Datenquelle> |
getAllData() |
int |
getAllMails() |
List<Status> |
getAllStats() |
String |
getConfirmText()
Confirm Text of how many processes will be build
|
InviteDatasourceModel |
getDatasourceModel() |
ProjectInviteData |
getInvData() |
int |
getMaxInvitations() |
String |
getMaxInvMessage()
Message of how many invitations are allowed to send
|
int |
getMaxNumberRows() |
String |
getNumEntriesMessage()
Message of how many entries are available in the datasource
|
List<IParameterModel> |
getParameter() |
PlaceholderBean |
getPlaceholderBean() |
int |
getPointofMail() |
ViewBean |
getViewBean() |
ViewEventBusBean |
getViewEventBusBean() |
protected void |
init(IEntityContext ec,
Projekt entity) |
int |
initializeMaxNumberRows() |
void |
initMaps()
Initialize mapping of form element and values to write into
|
void |
initPlaceholders()
add context Placeholders on open dialog
|
boolean |
isDatasourceSelected() |
boolean |
isDsUnavailable() |
boolean |
isInvitationsUnlimited() |
boolean |
isParamsAreMandatory() |
void |
onChangeDatasource()
Updates all variables that are dependent on the selected datasource
|
List<String> |
readFormElements()
reads all form elements and saves the valuable ones
|
void |
removeParameter(int idx) |
void |
save()
saves all changed data to invData and updates database
|
void |
send()
sends mails and/or creates processes
|
void |
setAllData(List<Datenquelle> allData) |
void |
setAllMails(int allMails) |
void |
setAllStats(List<Status> allStats) |
void |
setDatasourceModel(InviteDatasourceModel datasourceModel) |
void |
setDatasourceSelected(boolean datasourceSelected) |
void |
setDsUnavailable(boolean dsUnavailable) |
void |
setInvData(ProjectInviteData invData) |
void |
setMaxInvitations(int maxInvitations) |
void |
setMaxNumberRows(int maxNumberRows) |
void |
setParameter(List<IParameterModel> parameter) |
void |
setParamsAreMandatory(boolean paramsAreMandatory) |
void |
setPlaceholderBean(PlaceholderBean placeholderBean) |
void |
setViewBean(ViewBean viewBean) |
void |
setViewEventBusBean(ViewEventBusBean viewEventBusBean) |
void |
tryToInit(int idx) |
void |
update()
Deprecated.
|
getCurrentProjectBean, getDao, getProject, getSessionBean, setCurrentProjectBean, setEntity, setEntity, setProject, setProject, setSessionBean
getEntity
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
public void save()
save
in class AProjectDetailsBean
public void send()
public Vorgang createEmptyProcess(Projekt project, IFormRequestContext reqCtx, IEntityContext ec)
project
- the project to create the process forreqCtx
- the request-contextec
- the entity-contextpublic FormEingangDatei createEmptyFeDatei(Vorgang process)
process
- the process zo create an FormEingang
forpublic void onChangeDatasource() throws IOException
IOException
- on errors during parsing the datasourcepublic int initializeMaxNumberRows()
public void initMaps()
public String getConfirmText()
public String getMaxInvMessage()
public String getNumEntriesMessage()
public void closePlaceholders()
public void initPlaceholders()
public List<String> readFormElements() throws ContextBuilderException, com.alibaba.fastjson.JSONException, IOException
ContextBuilderException
- on errors during building the request or render-contextcom.alibaba.fastjson.JSONException
- on errors during building the x-formIOException
- on errors during building the x-formpublic List<String> generateAllFormElements()
List
of all form elementspublic ParameterModel addNewParameter()
public void addNewParameter(IParameterModel model)
public void removeParameter(int idx)
public void tryToInit(int idx)
public int getPointofMail()
public boolean isInvitationsUnlimited()
public int getMaxInvitations()
public void setMaxInvitations(int maxInvitations)
public List<Datenquelle> getAllData()
public void setAllData(List<Datenquelle> allData)
public boolean isDsUnavailable()
public void setDsUnavailable(boolean dsUnavailable)
public int getAllMails()
public void setAllMails(int allMails)
public ViewEventBusBean getViewEventBusBean()
public void setViewEventBusBean(ViewEventBusBean viewEventBusBean)
public boolean isParamsAreMandatory()
public void setParamsAreMandatory(boolean paramsAreMandatory)
public List<IParameterModel> getParameter()
public void setParameter(List<IParameterModel> parameter)
public ViewBean getViewBean()
public void setViewBean(ViewBean viewBean)
public PlaceholderBean getPlaceholderBean()
public void setPlaceholderBean(PlaceholderBean placeholderBean)
public int getMaxNumberRows()
public void setMaxNumberRows(int maxNumberRows)
public boolean isDatasourceSelected()
public void setDatasourceSelected(boolean datasourceSelected)
public void setInvData(ProjectInviteData invData)
public ProjectInviteData getInvData()
public InviteDatasourceModel getDatasourceModel()
public void setDatasourceModel(InviteDatasourceModel datasourceModel)
protected void init(IEntityContext ec, Projekt entity)
init
in class AEntityDetailsBean<Projekt>
@Deprecated public void update()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.