Packagecom.distriqt.extension.facebook.share.model
Classpublic class ShareLinkContentBuilder
InheritanceShareLinkContentBuilder Inheritance Object



Public Methods
 MethodDefined By
  
Constructor
ShareLinkContentBuilder
  
build():Object
Builds the object for sharing using ShareDialog.show
ShareLinkContentBuilder
  
Set the URL for the content being shared.
ShareLinkContentBuilder
  
Set the list of Ids for taggable people to tag with this content
ShareLinkContentBuilder
  
Set the Id for a place to tag with this content
ShareLinkContentBuilder
  
Set the quote to display for this link.
ShareLinkContentBuilder
  
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.
ShareLinkContentBuilder
  
Set the ShareHashtag for this content
ShareLinkContentBuilder
Public Constants
 ConstantDefined By
  TYPE : String = link_content
[static] The type content contained in this builder
ShareLinkContentBuilder
Constructor Detail
ShareLinkContentBuilder()Constructor
public function ShareLinkContentBuilder()

Constructor

Method Detail
build()method
public function build():Object

Builds the object for sharing using ShareDialog.show

Returns
Object — The content Object

See also

setContentUrl()method 
public function setContentUrl(contentUrl:String):ShareLinkContentBuilder

Set the URL for the content being shared.

Parameters

contentUrl:String — The url of the content link

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
setPeopleIds()method 
public function setPeopleIds(peopleIds:Array):ShareLinkContentBuilder

Set the list of Ids for taggable people to tag with this content

Parameters

peopleIds:Array — Array of Ids for people to tag

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
setPlaceId()method 
public function setPlaceId(placeId:String):ShareLinkContentBuilder

Set the Id for a place to tag with this content

Parameters

placeId:String — The Id for the place to tag

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
setQuote()method 
public function setQuote(quote:String):ShareLinkContentBuilder

Set the quote to display for this link.

Parameters

quote:String — The text quoted from the link.

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
setRef()method 
public function setRef(ref:String):ShareLinkContentBuilder

Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.

Parameters

ref:String — The ref for the content

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
setShareHashtag()method 
public function setShareHashtag(shareHashTag:String):ShareLinkContentBuilder

Set the ShareHashtag for this content

Parameters

shareHashTag:String — The hashtag for this content

Returns
ShareLinkContentBuilderShareLinkContentBuilder instance for chaining calls
Constant Detail
TYPEConstant
public static const TYPE:String = link_content

The type content contained in this builder