public static final class ContentReference.Builder extends Object
Builder for a ContentReference instance.
| Modifier and Type | Method and Description | 
|---|---|
ContentReference | 
build()
Builds and returns the  
ContentReference object. | 
ContentReference.Builder | 
contentProviderId(String contentProviderId)
Set the content provider id of the content reference. 
 | 
ContentReference.Builder | 
contentReferenceId(String contentReferenceId)
Set the content reference id of the content reference. 
 | 
ContentReference.Builder | 
contentSourceId(String contentSourceId)
Set the content source id of the content reference. 
 | 
ContentReference.Builder | 
providerProperties(Map<String,String> providerProperties)
Set the provider properties of the content reference. 
 | 
ContentReference.Builder | 
version(String version)
Set the optional content version. 
 | 
public ContentReference.Builder contentReferenceId(String contentReferenceId)
Set the content reference id of the content reference.
contentReferenceId - the content source id of the content referencepublic ContentReference.Builder contentProviderId(String contentProviderId)
Set the content provider id of the content reference.
contentProviderId - the content provider id of the content referencepublic ContentReference.Builder contentSourceId(String contentSourceId)
Set the content source id of the content reference.
contentSourceId - the content source id of the content referencepublic ContentReference.Builder version(String version)
Set the optional content version.
version - the optional content versionpublic ContentReference.Builder providerProperties(Map<String,String> providerProperties)
Set the provider properties of the content reference.
providerProperties - the provider properties of the content referencepublic ContentReference build()
Builds and returns the ContentReference object.
IllegalArgumentException - if the ContentReferenceId and/or the ContentProviderId are not setCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.