|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.base.InputController
public abstract class InputController
Contains generic functionality usable by all action listeners.
Constructor Summary | |
---|---|
InputController()
|
Method Summary | |
---|---|
java.lang.String |
computeOutcome(java.lang.String actionOutcome)
Deprecated. returning a non-null outcome is now useless since our FancyNavigationHandler already performs redirection
to the right outcome when dealing with a null outcome. Plus
assumptions on the view/outcome names here was a buggy hack. |
boolean |
getAdministrator()
Is the current logged user an administrator? |
void |
logDocumentWithName(java.lang.String someLogString,
DocumentModel document)
Logs a DocumentModel name and the passed string (info). |
void |
logDocumentWithTitle(java.lang.String someLogString,
DocumentModel document)
Logs a DocumentModel title and the passed string (info). |
void |
removeDocumentFromList(java.util.List<DocumentModel> documentList,
DocumentModel document)
Utility method that helps remove a DocumentModel from a list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputController()
Method Detail |
---|
public void removeDocumentFromList(java.util.List<DocumentModel> documentList, DocumentModel document)
DocumentModel
from a list. The
document models are compared on DocumentRef
s.
documentList
- document
- public void logDocumentWithTitle(java.lang.String someLogString, DocumentModel document)
DocumentModel
title and the passed string (info).
public void logDocumentWithName(java.lang.String someLogString, DocumentModel document)
DocumentModel
name and the passed string (info).
public boolean getAdministrator()
@Deprecated public java.lang.String computeOutcome(java.lang.String actionOutcome)
FancyNavigationHandler
already performs redirection
to the right outcome when dealing with a null outcome. Plus
assumptions on the view/outcome names here was a buggy hack.
actionOutcome
- a string that might be used in the future to compute
the JSF outcome in a cleaner way
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |