|
boolean | itsMe (String id) |
|
boolean | myTurn (HttpServletRequest request) |
|
void | execute (ServletContext context, HttpServletRequest request, HttpServletResponse response) |
|
◆ createIssue()
static String org.turro.dossier.www.CreateIssueCtrl.createIssue |
( |
String |
link, |
|
|
String |
dossierId, |
|
|
String |
template |
|
) |
| |
|
static |
Definition at line 88 of file CreateIssueCtrl.java.
89 IConstructor constructor = Application.getApplication().getConstructor();
90 if(constructor.isInRole(
"issue:edit")) {
91 ElephantMarker marker =
new ElephantMarker(constructor);
92 marker.put(
"projectContext",
new ProjectContext());
93 marker.put(
"action", DirectContents.createRelativeURL(
getIdentifier()));
94 marker.put(
"redirect", link);
95 if(Long.valueOf(dossierId) > 0) {
96 marker.put(
"dossierId", dossierId);
97 DossierDWReport dr =
new DossierDWReport();
98 dr.setReportValues(
null,
null, Long.valueOf(dossierId));
99 marker.put(
"dossierData", dr.getData());
101 marker.put(
"dossiers",
new DossierResults().getDossierList());
103 return marker.parse(
"issue", Strings.isBlank(
template) ?
"create" :
template);
static String getIdentifier()
◆ execute()
void org.turro.dossier.www.CreateIssueCtrl.execute |
( |
ServletContext |
context, |
|
|
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| |
Implements org.turro.elephant.direct.IDirectContent.
Definition at line 123 of file CreateIssueCtrl.java.
124 if(ServletFileUpload.isMultipartContent(request)) {
126 processInformation(request, response);
127 }
catch (FileUploadException | IOException ex) {
128 Logger.getLogger(CreateIssueCtrl.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ getIdentifier()
static String org.turro.dossier.www.CreateIssueCtrl.getIdentifier |
( |
| ) |
|
|
static |
Definition at line 108 of file CreateIssueCtrl.java.
109 return CreateIssueCtrl.class.getAnnotation(DirectContent.class).identifier();
◆ itsMe()
boolean org.turro.dossier.www.CreateIssueCtrl.itsMe |
( |
String |
id | ) |
|
◆ linkToCreateIssue()
static String org.turro.dossier.www.CreateIssueCtrl.linkToCreateIssue |
( |
String |
link, |
|
|
String |
dossierId, |
|
|
String |
template |
|
) |
| |
|
static |
◆ myTurn()
boolean org.turro.dossier.www.CreateIssueCtrl.myTurn |
( |
HttpServletRequest |
request | ) |
|
The documentation for this class was generated from the following file: