|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<UITypesConfiguration> org.nuxeo.ecm.platform.types.localconfiguration.UITypesConfigurationAdapter
public class UITypesConfigurationAdapter
Default implementation of UITypesConfiguration
.
Constructor Summary | |
---|---|
UITypesConfigurationAdapter(DocumentModel doc)
|
Method Summary | |
---|---|
boolean |
canMerge()
Returns true if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise. |
boolean |
denyAllTypes()
Returns true if all the types are denied, false otherwise. |
Map<String,SubType> |
filterSubTypes(Map<String,SubType> allowedSubTypes)
Filter the allowedSubTypes according to this object configuration. |
List<String> |
getAllowedTypes()
Returns the configured allowed types. |
String |
getDefaultType()
|
List<String> |
getDeniedTypes()
Returns the configured denied types. |
DocumentRef |
getDocumentRef()
Returns the related DocumentRef of this local configuration. |
UITypesConfiguration |
merge(UITypesConfiguration other)
Merge this LocalConfiguration with another one. |
Methods inherited from class org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration |
---|
save |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration |
---|
save |
Constructor Detail |
---|
public UITypesConfigurationAdapter(DocumentModel doc)
Method Detail |
---|
public List<String> getAllowedTypes()
UITypesConfiguration
getAllowedTypes
in interface UITypesConfiguration
public List<String> getDeniedTypes()
UITypesConfiguration
getDeniedTypes
in interface UITypesConfiguration
public boolean denyAllTypes()
UITypesConfiguration
true
if all the types are denied, false
otherwise.
denyAllTypes
in interface UITypesConfiguration
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.
getDocumentRef
in interface LocalConfiguration<UITypesConfiguration>
public boolean canMerge()
LocalConfiguration
true
if this LocalConfiguration
accepted to be
merged with a parent configuration, false
otherwise.
canMerge
in interface LocalConfiguration<UITypesConfiguration>
canMerge
in class AbstractLocalConfiguration<UITypesConfiguration>
public UITypesConfiguration merge(UITypesConfiguration other)
LocalConfiguration
LocalConfiguration
with another one.
merge
in interface LocalConfiguration<UITypesConfiguration>
merge
in class AbstractLocalConfiguration<UITypesConfiguration>
public Map<String,SubType> filterSubTypes(Map<String,SubType> allowedSubTypes)
UITypesConfiguration
allowedSubTypes
according to this object configuration.
filterSubTypes
in interface UITypesConfiguration
public String getDefaultType()
getDefaultType
in interface UITypesConfiguration
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |