Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.web.distribution
Class DistributionFunctions

java.lang.Object
  extended by org.nuxeo.cm.web.distribution.DistributionFunctions

public class DistributionFunctions
extends Object

Author:
Anahide Tchertchian

Field Summary
static int NUMBER_OF_WORDS
           
 
Constructor Summary
DistributionFunctions()
           
 
Method Summary
static String formatStringForView(String summary)
           
static Mailbox getMailbox(org.nuxeo.ecm.core.api.CoreSession session, String mailboxId)
           
static Mailbox getMailbox(org.nuxeo.ecm.core.api.DocumentModel mailboxDoc)
           
static List<Mailbox> getMailboxes(org.nuxeo.ecm.core.api.CoreSession session, List<String> mailboxIds)
           
static MailboxHeader getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession session, String mailboxId)
           
static List<MailboxHeader> getMailboxHeaders(org.nuxeo.ecm.core.api.CoreSession session, List<String> mailboxIds)
           
static String getMailboxTitle(org.nuxeo.ecm.core.api.CoreSession session, String mailboxId)
           
static String getMailboxTitles(org.nuxeo.ecm.core.api.CoreSession session, List<String> mailboxIds, String separator, Boolean sorted)
           
static String join(Collection<Object> collection, String separator)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_OF_WORDS

public static final int NUMBER_OF_WORDS
See Also:
Constant Field Values
Constructor Detail

DistributionFunctions

public DistributionFunctions()
Method Detail

join

public static String join(Collection<Object> collection,
                          String separator)

getMailboxTitle

public static String getMailboxTitle(org.nuxeo.ecm.core.api.CoreSession session,
                                     String mailboxId)

getMailboxTitles

public static String getMailboxTitles(org.nuxeo.ecm.core.api.CoreSession session,
                                      List<String> mailboxIds,
                                      String separator,
                                      Boolean sorted)

getMailbox

public static Mailbox getMailbox(org.nuxeo.ecm.core.api.DocumentModel mailboxDoc)

getMailbox

public static Mailbox getMailbox(org.nuxeo.ecm.core.api.CoreSession session,
                                 String mailboxId)

getMailboxHeader

public static MailboxHeader getMailboxHeader(org.nuxeo.ecm.core.api.CoreSession session,
                                             String mailboxId)

getMailboxes

public static List<Mailbox> getMailboxes(org.nuxeo.ecm.core.api.CoreSession session,
                                         List<String> mailboxIds)

getMailboxHeaders

public static List<MailboxHeader> getMailboxHeaders(org.nuxeo.ecm.core.api.CoreSession session,
                                                    List<String> mailboxIds)

formatStringForView

public static String formatStringForView(String summary)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.