|
Nuxeo Enterprise Platform 5.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.webapp.base.InputController
public abstract class InputController
Contains generic functionality usable by all action listeners.
| Field Summary | |
|---|---|
protected ActionManager |
actionManager
|
protected DocumentModel |
currentDocument
Deprecated. |
protected Principal |
currentUser
|
protected EventManager |
eventManager
|
protected org.jboss.seam.faces.FacesMessages |
facesMessages
|
protected NavigationContext |
navigationContext
|
protected ResourcesAccessor |
resourcesAccessor
|
protected TypeManager |
typeManager
|
protected TypesTool |
typesTool
|
| Constructor Summary | |
|---|---|
InputController()
|
|
| Method Summary | |
|---|---|
String |
computeOutcome(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. |
protected List<DocumentRef> |
extractReferences(List<DocumentModel> documents)
Extracts references from a list of document models. |
boolean |
getAdministrator()
Is the current logged user an administrator? |
void |
logDocumentWithName(String someLogString,
DocumentModel document)
Logs a DocumentModel name and the passed string (info). |
void |
logDocumentWithTitle(String someLogString,
DocumentModel document)
Logs a DocumentModel title and the passed string (info). |
void |
removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel document)
Utility method that helps remove a DocumentModel from a list. |
protected void |
setFacesMessage(String msg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@In(create=true) protected ActionManager actionManager
@In(create=true) protected TypeManager typeManager
@In(create=true) protected NavigationContext navigationContext
@In(create=true) protected EventManager eventManager
@In(required=false,
create=true)
@Deprecated
protected DocumentModel currentDocument
@In(create=true,
required=false)
protected org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true) protected ResourcesAccessor resourcesAccessor
@In(create=true) protected TypesTool typesTool
@In(create=true,
required=false)
protected Principal currentUser
| Constructor Detail |
|---|
public InputController()
| Method Detail |
|---|
public void removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel document)
DocumentModel from a list. The
document models are compared on DocumentRefs.
documentList - document -
public void logDocumentWithTitle(String someLogString,
DocumentModel document)
DocumentModel title and the passed string (info).
public void logDocumentWithName(String someLogString,
DocumentModel document)
DocumentModel name and the passed string (info).
protected List<DocumentRef> extractReferences(List<DocumentModel> documents)
protected void setFacesMessage(String msg)
public boolean getAdministrator()
@Deprecated public String computeOutcome(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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||