Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ui.web.directory
Class DirectoryFunctions

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.directory.DirectoryFunctions

public final class DirectoryFunctions
extends java.lang.Object

Utility functions (directory related) to be used from jsf via nxu: tags.

Author:
Dragos Mihalache, Anahide Tchertchian

Method Summary
static java.util.List<CSLData> getCSLData(java.lang.String data)
           
static DocumentModelList getDirectoryEntries(java.lang.String directoryName, java.lang.String... entryIds)
           
static DocumentModel getDirectoryEntry(java.lang.String directoryName, java.lang.String entryId)
           
static DocumentModelList getDirectoryListEntries(java.lang.String directoryName, java.util.Collection<java.lang.String> entryIds)
           
static int getListSize(java.lang.String data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCSLData

public static java.util.List<CSLData> getCSLData(java.lang.String data)
Parameters:
data - comma-separated values that will be used to create a list of structures containing an index also
Returns:

getListSize

public static int getListSize(java.lang.String data)
Parameters:
data -
Returns:
number of elements (comma sepparated) in the given string

getDirectoryEntry

public static DocumentModel getDirectoryEntry(java.lang.String directoryName,
                                              java.lang.String entryId)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getDirectoryEntries

public static DocumentModelList getDirectoryEntries(java.lang.String directoryName,
                                                    java.lang.String... entryIds)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getDirectoryListEntries

public static DocumentModelList getDirectoryListEntries(java.lang.String directoryName,
                                                        java.util.Collection<java.lang.String> entryIds)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.