public class ProjectInviteBean extends FCContextBean
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
systemUC
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
|
CurrentProjectBean |
getCurrentProjectBean() |
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() |
int |
getPointofMail() |
Projekt |
getProject() |
SessionBean |
getSessionBean() |
ViewBean |
getViewBean() |
ViewEventBusBean |
getViewEventBusBean() |
void |
init()
Initialize Invite data for dialog
|
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) |
boolean |
save()
saves all changed data to invData and updates database
|
void |
send()
sends mails and/or creates processes
|
void |
sendProcess(List<String> row) |
void |
setAllData(List<Datenquelle> allData) |
void |
setAllMails(int allMails) |
void |
setAllStats(List<Status> allStats) |
void |
setCurrentProjectBean(CurrentProjectBean currentProjectBean) |
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 |
setProject(Projekt project) |
void |
setSessionBean(SessionBean sessionBean) |
void |
setViewBean(ViewBean viewBean) |
void |
setViewEventBusBean(ViewEventBusBean viewEventBusBean) |
void |
tryToInit(int idx) |
void |
update() |
getNavigationBean, isSetupUser, redirectToDashboard, setNavigationBean, switchMainView, switchMainView, switchSubView, switchSubView
ec, isDetached, isHasDB
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
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
public void init()
public void update()
public boolean save()
public void send()
public void sendProcess(List<String> row) throws ContextBuilderException
row
- the row of the datasourceContextBuilderException
- on errors during the creation of the form-requestpublic 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 Projekt getProject()
public void setProject(Projekt project)
public CurrentProjectBean getCurrentProjectBean()
public void setCurrentProjectBean(CurrentProjectBean currentProjectBean)
public SessionBean getSessionBean()
getSessionBean
in class FCContextBean
public void setSessionBean(SessionBean sessionBean)
setSessionBean
in class FCContextBean
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 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)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.