public class FacetedSearchConfigurationAdapter extends AbstractLocalConfiguration<FacetedSearchConfiguration> implements FacetedSearchConfiguration
FacetedSearchConfiguration| Constructor and Description |
|---|
FacetedSearchConfigurationAdapter(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge()
Returns
true if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise. |
Set<String> |
filterAllowedContentViewNames(Set<String> names)
Provide a filter to remove un authorised content views name.
|
List<String> |
getAllowedContentViewNames()
Return a list of content views name that are associated with the local
configuration
|
List<String> |
getDeniedContentViewNames()
Return a list of content views name that are denied with the local
configuration
|
DocumentRef |
getDocumentRef()
Returns the related
DocumentRef of this local configuration. |
FacetedSearchConfiguration |
merge(FacetedSearchConfiguration other)
Merge this
LocalConfiguration with another one. |
saveequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsavepublic FacetedSearchConfigurationAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfigurationDocumentRef of this local configuration.getDocumentRef in interface LocalConfiguration<FacetedSearchConfiguration>public boolean canMerge()
LocalConfigurationtrue if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise.canMerge in interface LocalConfiguration<FacetedSearchConfiguration>canMerge in class AbstractLocalConfiguration<FacetedSearchConfiguration>public FacetedSearchConfiguration merge(FacetedSearchConfiguration other)
LocalConfigurationLocalConfiguration with another one.merge in interface LocalConfiguration<FacetedSearchConfiguration>merge in class AbstractLocalConfiguration<FacetedSearchConfiguration>public List<String> getAllowedContentViewNames()
FacetedSearchConfigurationgetAllowedContentViewNames in interface FacetedSearchConfigurationpublic List<String> getDeniedContentViewNames()
FacetedSearchConfigurationgetDeniedContentViewNames in interface FacetedSearchConfigurationpublic Set<String> filterAllowedContentViewNames(Set<String> names)
FacetedSearchConfigurationfilterAllowedContentViewNames in interface FacetedSearchConfigurationnames - set of possible content views nameCopyright © 2011 Nuxeo SA. All Rights Reserved.