public class SearchConfigurationAdapter extends AbstractLocalConfiguration<SearchConfiguration> implements SearchConfiguration
SearchConfiguration| Constructor and Description |
|---|
SearchConfigurationAdapter(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. |
List<String> |
filterAllowedContentViewNames(List<String> names)
Provide a filter to remove unauthorized content views name.
|
List<String> |
getAllowedContentViewNames()
Return a list of content views name that are denied with the local configuration
|
DocumentRef |
getDocumentRef()
Returns the related
DocumentRef of this local configuration. |
SearchConfiguration |
merge(SearchConfiguration other)
Merge this
LocalConfiguration with another one. |
saveequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsavepublic SearchConfigurationAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfigurationDocumentRef of this local configuration.getDocumentRef in interface LocalConfiguration<SearchConfiguration>public boolean canMerge()
LocalConfigurationtrue if this LocalConfiguration accepted to be merged with a parent configuration,
false otherwise.canMerge in interface LocalConfiguration<SearchConfiguration>canMerge in class AbstractLocalConfiguration<SearchConfiguration>public SearchConfiguration merge(SearchConfiguration other)
LocalConfigurationLocalConfiguration with another one.merge in interface LocalConfiguration<SearchConfiguration>merge in class AbstractLocalConfiguration<SearchConfiguration>public List<String> getAllowedContentViewNames()
SearchConfigurationgetAllowedContentViewNames in interface SearchConfigurationpublic List<String> filterAllowedContentViewNames(List<String> names)
SearchConfigurationfilterAllowedContentViewNames in interface SearchConfigurationnames - set of possible content views nameCopyright © 2015 Nuxeo SA. All rights reserved.