@Name(value="typesConfigurationActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class UITypesConfigurationActions extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UITypesConfigurationActions.TypeLabelAlphabeticalOrder |
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.CoreSession |
documentManager |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
protected org.nuxeo.ecm.core.schema.SchemaManager |
schemaManager |
static Comparator<? super Type> |
TYPE_ALPHABETICAL_ORDER
Deprecated.
since 5.7.
|
protected TypeManager |
typeManager |
| Constructor and Description |
|---|
UITypesConfigurationActions() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
computeAllowedTypes(org.nuxeo.ecm.core.api.DocumentModel currentDoc) |
protected List<String> |
getAllowedTypes(org.nuxeo.ecm.core.api.DocumentModel doc) |
List<Type> |
getNotSelectedTypes() |
List<Type> |
getNotSelectedTypes(org.nuxeo.ecm.core.api.DocumentModel document)
Returns a List of type not selected for the domain given as parameter
|
protected org.nuxeo.ecm.core.schema.SchemaManager |
getSchemaManager() |
List<Type> |
getSelectedTypes() |
List<Type> |
getSelectedTypes(org.nuxeo.ecm.core.api.DocumentModel document)
Returns a List of type selected for the domain given as parameter
|
List<Type> |
getTypesWithSchemaFile() |
List<Type> |
getTypesWithSchemaFile(org.nuxeo.ecm.core.api.DocumentModel document)
Returns a List of Document Types associated with Schema file for the
domain given as parameter, if they're allowed for it.
|
@Deprecated public static final Comparator<? super Type> TYPE_ALPHABETICAL_ORDER
@In(create=true) protected transient TypeManager typeManager
@In(create=true) protected transient NavigationContext navigationContext
@In(create=true,
required=false)
protected transient org.nuxeo.ecm.core.api.CoreSession documentManager
protected transient org.nuxeo.ecm.core.schema.SchemaManager schemaManager
public List<Type> getNotSelectedTypes() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic List<Type> getNotSelectedTypes(org.nuxeo.ecm.core.api.DocumentModel document) throws org.nuxeo.ecm.core.api.ClientException
document - the domain to configureorg.nuxeo.ecm.core.api.ClientExceptionprotected List<String> getAllowedTypes(org.nuxeo.ecm.core.api.DocumentModel doc) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic List<Type> getSelectedTypes() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic List<Type> getSelectedTypes(org.nuxeo.ecm.core.api.DocumentModel document) throws org.nuxeo.ecm.core.api.ClientException
document - the domain to configureorg.nuxeo.ecm.core.api.ClientExceptionprotected List<String> computeAllowedTypes(org.nuxeo.ecm.core.api.DocumentModel currentDoc) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic List<Type> getTypesWithSchemaFile() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic List<Type> getTypesWithSchemaFile(org.nuxeo.ecm.core.api.DocumentModel document) throws org.nuxeo.ecm.core.api.ClientException
document - the domainorg.nuxeo.ecm.core.api.ClientExceptionprotected org.nuxeo.ecm.core.schema.SchemaManager getSchemaManager()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionCopyright © 2019 Nuxeo SA. All rights reserved.