org.nuxeo.ecm.platform.localconfiguration.web.types
Class UITypesConfigurationActions
java.lang.Object
org.nuxeo.ecm.platform.localconfiguration.web.types.UITypesConfigurationActions
- All Implemented Interfaces:
- Serializable
@Name(value="typesConfigurationActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class UITypesConfigurationActions
- extends Object
- implements Serializable
- Author:
- Thomas Roger
- See Also:
- Serialized Form
TYPE_ALPHABETICAL_ORDER
public static final Comparator<? super Type> TYPE_ALPHABETICAL_ORDER
UITypesConfigurationActions
public UITypesConfigurationActions()
getNotSelectedTypes
public List<Type> getNotSelectedTypes()
throws ClientException
- Throws:
ClientException
getNotSelectedTypes
public List<Type> getNotSelectedTypes(DocumentModel document)
throws ClientException
- Returns a List of type not selected for the domain given as parameter
- Parameters:
document
- the domain to configure
- Returns:
- a List of type of document, not currently selected for the domain
- Throws:
ClientException
getSelectedTypes
public List<Type> getSelectedTypes()
throws ClientException
- Throws:
ClientException
getSelectedTypes
public List<Type> getSelectedTypes(DocumentModel document)
throws ClientException
- Returns a List of type selected for the domain given as parameter
- Parameters:
document
- the domain to configure
- Returns:
- List of documen type selected for the domain
- Throws:
ClientException
getTypesWithSchemaFile
public List<Type> getTypesWithSchemaFile()
throws ClientException
- Throws:
ClientException
getTypesWithSchemaFile
public List<Type> getTypesWithSchemaFile(DocumentModel document)
throws ClientException
- Returns a List of Document Types associated with Schema file for the
domain given as parameter, if they're allowed for it.
- Parameters:
document
- the domain
- Returns:
- List of Document types which have assoctiated Schema files.
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.