public class MailboxAdapterFactory extends Object implements DocumentAdapterFactory
Constructor and Description |
---|
MailboxAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkDocument(DocumentModel doc)
Returns false if document does not have
MailboxConstants.MAILBOX_FACET |
Object |
getAdapter(DocumentModel doc,
Class arg1) |
public Object getAdapter(DocumentModel doc, Class arg1)
getAdapter
in interface DocumentAdapterFactory
public static boolean checkDocument(DocumentModel doc)
MailboxConstants.MAILBOX_FACET
doc
- ClientRuntimeException
- if document has the required facet but
does not have the required
MailboxConstants.MAILBOX_SCHEMA
Copyright © 2013 Nuxeo SA. All Rights Reserved.