org.nuxeo.ecm.automation.core.scripting
Class Functions
java.lang.Object
org.nuxeo.ecm.automation.core.scripting.Functions
public class Functions
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final Functions INSTANCE
Functions
public Functions()
getUserManager
public UserManager getUserManager()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDirService
public DirectoryService getDirService()
throws java.lang.Exception
- Throws:
java.lang.Exception
getVocabularyLabel
public java.lang.String getVocabularyLabel(java.lang.String voc,
java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPrincipal
public NuxeoPrincipal getPrincipal(java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEmail
public java.lang.String getEmail(java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPrincipalEmails
public StringList getPrincipalEmails(java.util.List<NuxeoPrincipal> principals)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEmails
public StringList getEmails(java.util.List<java.lang.String> usernames)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNextId
public java.lang.String getNextId(java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
date
public DateWrapper date(java.util.Date date)
calendar
public DateWrapper calendar(java.util.Calendar date)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.