Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.localconfiguration.web.types
Class UITypesConfigurationActions

java.lang.Object
  extended by 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

Field Summary
static Comparator<? super Type> TYPE_ALPHABETICAL_ORDER
           
 
Constructor Summary
UITypesConfigurationActions()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ALPHABETICAL_ORDER

public static final Comparator<? super Type> TYPE_ALPHABETICAL_ORDER
Constructor Detail

UITypesConfigurationActions

public UITypesConfigurationActions()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.