Nuxeo Enterprise Platform 5.4

org.nuxeo.dam.platform.action
Class DamFolderAdminActions

java.lang.Object
  extended by org.nuxeo.dam.platform.action.DamFolderAdminActions
All Implemented Interfaces:
Serializable

@Name(value="folderAdminActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class DamFolderAdminActions
extends Object
implements Serializable

Author:
eugen
See Also:
Serialized Form

Field Summary
static org.nuxeo.common.utils.i18n.Labeler labeler
           
static org.nuxeo.ecm.core.api.DocumentModelList NO_FOLDERS
           
 
Constructor Summary
DamFolderAdminActions()
           
 
Method Summary
 void createFolderNoRedirect()
           
 void deleteFolderNoRedirect(String folderId)
           
 org.nuxeo.ecm.core.api.DocumentModelList getFolders()
           
 Map<String,List<String>> getGroupPermissions()
           
 String getLabelFor(String permission)
           
 org.nuxeo.ecm.core.api.DocumentModel getNewFolder()
           
 org.nuxeo.ecm.core.api.DocumentModel getSelectedFolder()
           
 Map<String,List<String>> getUserPermissions()
           
 List<String> getVisiblePermissions()
           
 void resetFolderList()
           
 void resetNewFolder()
           
 void resetPermissions()
           
 void setSelectedFolder(String id)
           
 void updateFolderNoRedirect()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_FOLDERS

public static final org.nuxeo.ecm.core.api.DocumentModelList NO_FOLDERS

labeler

public static final org.nuxeo.common.utils.i18n.Labeler labeler
Constructor Detail

DamFolderAdminActions

public DamFolderAdminActions()
Method Detail

getFolders

@Factory(value="folderList")
public org.nuxeo.ecm.core.api.DocumentModelList getFolders()
                                                    throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

deleteFolderNoRedirect

public void deleteFolderNoRedirect(String folderId)
                            throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

resetFolderList

@Observer(value="folderListChanged")
public void resetFolderList()

resetNewFolder

public void resetNewFolder()

resetPermissions

public void resetPermissions()

createFolderNoRedirect

public void createFolderNoRedirect()
                            throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

updateFolderNoRedirect

public void updateFolderNoRedirect()
                            throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getNewFolder

public org.nuxeo.ecm.core.api.DocumentModel getNewFolder()
                                                  throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

setSelectedFolder

public void setSelectedFolder(String id)
                       throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getVisiblePermissions

@Factory(value="visiblePermissions")
public List<String> getVisiblePermissions()
                                   throws org.nuxeo.ecm.core.api.ClientException
Throws:
org.nuxeo.ecm.core.api.ClientException

getUserPermissions

public Map<String,List<String>> getUserPermissions()

getGroupPermissions

public Map<String,List<String>> getGroupPermissions()

getSelectedFolder

public org.nuxeo.ecm.core.api.DocumentModel getSelectedFolder()

getLabelFor

public String getLabelFor(String permission)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.