Work with Purposes

Use the Purpose class to work with purposes for a channel or conversation.

Purpose Class 

Purpose Methods 

The following are methods for Purpose.

getCreator() 

Signature

1public String getCreator()

Return Value

Type: String

getLastSet() 

Signature

1public Integer getLastSet()

Return Value

Type: Integer

getValue() 

Signature

1public String getValue()

Return Value

Type: String

setCreator(creator) 

Signature

1public void setCreator(String creator)

Parameters

creator

Type: String

Return Value

Type: void

setLastSet(lastSet) 

Signature

1public void setLastSet(Integer lastSet)

Parameters

lastSet

Type: Integer

Return Value

Type: void

setValue(value) 

Signature

1public void setValue(String value)

Parameters

value

Type: String

Return Value

Type: void

Beta Feature

This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.