public class SourceInfoRequestLocal extends OperationImpl implements SourceInfoRequest
Source
information. This
request may obtain information from the CatalogProvider
.Modifier and Type | Field and Description |
---|---|
protected boolean |
includeContentTypes |
GET_RESOURCE_BY_ID, GET_RESOURCE_BY_PRODUCT_URI
Constructor and Description |
---|
SourceInfoRequestLocal(boolean includeContentTypes)
Instantiates a new SourceInfoRequestLocal,
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getSourceIds()
Returns the source ids that are associated with the
Federatable implementation. |
boolean |
includeContentTypes()
Include content types.
|
boolean |
isEnterprise()
Specifies whether the
Federatable implementation should be applied to the enterprise |
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties, setProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStoreIds
containsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasProperties
public SourceInfoRequestLocal(boolean includeContentTypes)
includeContentTypes
- - true to include the content types, otherwise falsepublic Set<String> getSourceIds()
Federatable
Federatable
implementation. The
source ids will be the complete set of sources that should be acted upon. A set is used to
avoid duplicate ids.getSourceIds
in interface Federatable
null
or an empty list if
Federatable.isEnterprise()
method returns true
as that means all known sources should
be acted upon (and the complete list might not have been known at Object creation).public boolean isEnterprise()
Federatable
Federatable
implementation should be applied to the enterpriseisEnterprise
in interface Federatable
true
if the Federatable
implementation should be applied to the entire
enterprise (meaning all sources), otherwise false
is returned. If false
is
returned then a list containing at least 1 source id should be returned by the Federatable.getSourceIds()
method.public boolean includeContentTypes()
SourceInfoRequest
includeContentTypes
in interface SourceInfoRequest
This work is licensed under a Creative Commons Attribution 4.0 International License.