@Name(value="directoryUIActions") @Scope(value=CONVERSATION) public class DirectoryUIActionsBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected ActionManager |
actionManager |
protected DocumentModel |
creationDirectoryEntry |
protected DocumentModelList |
currentDirectoryEntries |
protected DirectoryUI |
currentDirectoryInfo |
static String |
DIRECTORY_DEFAULT_VIEW |
protected List<String> |
directoryNames |
protected DirectoryUIManager |
directoryUIManager |
protected DirectoryService |
dirService |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected Map<String,String> |
messages |
protected DocumentModel |
selectedDirectoryEntry |
protected String |
selectedDirectoryName |
protected boolean |
showAddForm |
Constructor and Description |
---|
DirectoryUIActionsBean() |
public static final String DIRECTORY_DEFAULT_VIEW
@In(create=true) protected transient DirectoryUIManager directoryUIManager
protected transient DirectoryService dirService
@In(create=true, required=false) protected transient org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true, required=false) protected transient ActionManager actionManager
protected List<String> directoryNames
protected DirectoryUI currentDirectoryInfo
protected DocumentModelList currentDirectoryEntries
protected DocumentModel selectedDirectoryEntry
protected boolean showAddForm
protected DocumentModel creationDirectoryEntry
protected String selectedDirectoryName
public DirectoryUIActionsBean()
@Begin(join=true) @Create public void initialize()
public List<String> getDirectoryNames()
public String getSelectedDirectoryName()
public void setSelectedDirectoryName(String selectedDirectoryName)
@Deprecated public String selectDirectory(String directoryName)
public void selectDirectory()
public DirectoryUI getCurrentDirectory()
public DocumentModelList getCurrentDirectoryEntries()
public void resetSelectedDirectoryData()
public boolean getShowAddForm()
public void toggleShowAddForm()
public DocumentModel getCreationDirectoryEntry()
public void createDirectoryEntry()
public void resetCreateDirectoryEntry()
public void selectDirectoryEntry(String entryId)
public DocumentModel getSelectedDirectoryEntry()
public void resetSelectedDirectoryEntry()
public void editSelectedDirectoryEntry()
public void deleteDirectoryEntry(String entryId)
public boolean isReadOnly(String directoryName)
protected ActionContext createDirectoryActionContext()
protected ActionContext createDirectoryActionContext(String directoryName)
public boolean checkContextualDirectoryFilter(String filterName)
public boolean checkContextualDirectoryFilter(String filterName, String directoryName)
@Observer(value="flush", create=false) @BypassInterceptors public void onHotReloadFlush()
Copyright © 2016 Nuxeo SA. All rights reserved.