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. |
save
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save
public FacetedSearchConfigurationAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.getDocumentRef
in interface LocalConfiguration<FacetedSearchConfiguration>
public boolean canMerge()
LocalConfiguration
true
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)
LocalConfiguration
LocalConfiguration
with another one.merge
in interface LocalConfiguration<FacetedSearchConfiguration>
merge
in class AbstractLocalConfiguration<FacetedSearchConfiguration>
public List<String> getAllowedContentViewNames()
FacetedSearchConfiguration
getAllowedContentViewNames
in interface FacetedSearchConfiguration
public List<String> getDeniedContentViewNames()
FacetedSearchConfiguration
getDeniedContentViewNames
in interface FacetedSearchConfiguration
public Set<String> filterAllowedContentViewNames(Set<String> names)
FacetedSearchConfiguration
filterAllowedContentViewNames
in interface FacetedSearchConfiguration
names
- set of possible content views nameCopyright © 2015 Nuxeo SA. All rights reserved.