@Name(value="typesConfigurationActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class UITypesConfigurationActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator<? super Type> |
TYPE_ALPHABETICAL_ORDER |
Constructor and Description |
---|
UITypesConfigurationActions() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
getNotSelectedTypes() |
List<Type> |
getNotSelectedTypes(DocumentModel document)
Returns a List of type not selected for the domain given as parameter
|
List<Type> |
getSelectedTypes() |
List<Type> |
getSelectedTypes(DocumentModel document)
Returns a List of type selected for the domain given as parameter
|
List<Type> |
getTypesWithSchemaFile() |
List<Type> |
getTypesWithSchemaFile(DocumentModel document)
Returns a List of Document Types associated with Schema file for the
domain given as parameter, if they're allowed for it.
|
public static final Comparator<? super Type> TYPE_ALPHABETICAL_ORDER
public List<Type> getNotSelectedTypes() throws ClientException
ClientException
public List<Type> getNotSelectedTypes(DocumentModel document) throws ClientException
document
- the domain to configureClientException
public List<Type> getSelectedTypes() throws ClientException
ClientException
public List<Type> getSelectedTypes(DocumentModel document) throws ClientException
document
- the domain to configureClientException
public List<Type> getTypesWithSchemaFile() throws ClientException
ClientException
public List<Type> getTypesWithSchemaFile(DocumentModel document) throws ClientException
document
- the domainClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.