org.nuxeo.ecm.platform.ui.web.directory
Class DirectoryFunctions
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.