◆ doExecuteApp()
boolean org.turro.dossier.command.DossierInterceptor.doExecuteApp |
( |
Application |
application, |
|
|
String |
goTo, |
|
|
KeyValueMap |
kvm |
|
) |
| |
|
protected |
Reimplemented from org.turro.action.AbstractInterceptor.
Definition at line 81 of file DossierInterceptor.java.
82 if(
"issue".equals(goTo)) {
83 if(Application.getApplication().isInRole(
"issue:edit")) {
84 DossierMenu.showIssue(kvm.get(Long.class,
"issueId"));
87 }
else if(
"dossier".equals(goTo)) {
88 if(Application.getApplication().isInRole(
"dossier:edit")) {
89 DossierMenu.showDossier(kvm.get(Long.class,
"dossierId"));
92 }
else if(
"project".equals(goTo)) {
93 if(Application.getApplication().isInRole(
"dossier:edit")) {
94 DossierMenu.showDossier(kvm.get(Long.class,
"projectId"));
97 }
else if(
"myissues".equals(goTo)) {
98 DossierMenu.showMyIssues();
◆ doExecuteWeb()
boolean org.turro.dossier.command.DossierInterceptor.doExecuteWeb |
( |
IConstructor |
constructor, |
|
|
String |
goTo, |
|
|
KeyValueMap |
kvm |
|
) |
| throws IOException |
|
protected |
Reimplemented from org.turro.action.AbstractInterceptor.
Definition at line 39 of file DossierInterceptor.java.
40 if(
"dossier".equals(goTo)) {
41 String path = ElephantContext.getEntityWebContext(
"/dossier");
42 if(Strings.isBlank(path)) {
43 path =
"/user/mydossiers";
45 constructor.redirect(Parameters.path(path)
46 .add(
"item", kvm.get(
"dossierId"))
48 constructor.redirect(path +
"?item=" + kvm.get(Long.class,
"dossierId"));
50 }
else if(
"project".equals(goTo)) {
51 String path = ElephantContext.getEntityWebContext(
"/project");
52 if(Strings.isBlank(path)) {
53 path =
"/user/myprojects";
55 constructor.redirect(Parameters.path(path)
56 .add(
"item", kvm.get(
"projectId"))
59 }
else if(
"axproject".equals(goTo)) {
60 String path = ElephantContext.getEntityWebContext(
"/axproject");
61 if(Strings.isBlank(path)) {
62 path = ElephantContext.getEntityWebContext(
"/project");
63 if(!Strings.isBlank(path)) {
64 path = path +
"/alliance";
67 if(Strings.isBlank(path)) {
68 path =
"/user/alliance/projects";
70 constructor.redirect(Parameters.path(path)
71 .add(
"serverDomain", kvm.get(
"server"))
72 .add(
"service",
"/axserver")
73 .add(
"item", kvm.get(
"axprojectId"))
The documentation for this class was generated from the following file: