|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
org.alfresco.web.ui.wcm.component.UIUserSandboxes
public class UIUserSandboxes
Component responsible for rendering the list of user sandboxes for a web project.
The list of users attached to the supplied Web Project noderef (must be of type wcm:avmfolder) are iterated and the various AVM services used to provide the list of modified files for each user in turn. Actions are rendering with appropriate permission evaluators next to each item. The status of workflows in progress are also checked against items when building the list of actions.
Multi-select functionality is provided for specific actions.
Nested Class Summary | |
---|---|
static class |
UIUserSandboxes.UserRoleWrapper
Class representing a user of the website and their role. |
Field Summary | |
---|---|
static java.lang.String |
PARAM_FORM_NAME
|
Constructor Summary | |
---|---|
UIUserSandboxes()
|
Method Summary | |
---|---|
void |
decode(javax.faces.context.FacesContext context)
|
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeChildren(javax.faces.context.FacesContext context)
|
java.lang.String |
getFamily()
|
boolean |
getRendersChildren()
|
java.util.List |
getSelectedNodes(int sandbox)
Get the selected nodes for a specified sandbox index |
java.util.List |
getSelectedNodes(java.lang.String username)
Get the selected nodes for a specified sandbox user |
org.alfresco.service.cmr.repository.NodeRef |
getValue()
Returns the NodeRef to the website to show the sandboxes for |
java.lang.String |
getWebapp()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setValue(org.alfresco.service.cmr.repository.NodeRef value)
Sets the NodeRef to the website to show the sandboxes for |
void |
setWebapp(java.lang.String webapp)
|
Methods inherited from class org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent |
---|
outputAttribute |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAM_FORM_NAME
Constructor Detail |
---|
public UIUserSandboxes()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
UIComponent.getFamily()
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
UIComponentBase.getRendersChildren()
public void encodeChildren(javax.faces.context.FacesContext context) throws java.io.IOException
encodeChildren
in class javax.faces.component.UIComponentBase
java.io.IOException
UIComponentBase.encodeChildren(javax.faces.context.FacesContext)
public void decode(javax.faces.context.FacesContext context)
decode
in class javax.faces.component.UIComponentBase
UIComponentBase.decode(javax.faces.context.FacesContext)
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
UIComponentBase.encodeBegin(javax.faces.context.FacesContext)
public org.alfresco.service.cmr.repository.NodeRef getValue()
public void setValue(org.alfresco.service.cmr.repository.NodeRef value)
value
- The NodeRef to the website to show the sandboxes forpublic java.lang.String getWebapp()
public void setWebapp(java.lang.String webapp)
webapp
- The webapp to filter file list bypublic java.util.List getSelectedNodes(java.lang.String username)
username
- User in the user sandbox list
public java.util.List getSelectedNodes(int sandbox)
sandbox
- Index of sandbox in the user sandbox list
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |