Package com.restfb.types
Class OpenGraphActionType
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.OpenGraphActionType
-
- All Implemented Interfaces:
Serializable
public class OpenGraphActionType extends NamedFacebookType
Represents the Open Graph Action Type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description OpenGraphActionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addObjectType(String objectType)
void
addPropertyConfig(String key, OpenGraphPropertyConfig value)
Boolean
getAllowMultipleReferences()
Whether multiple objects can be referenced by the actionString
getAppPreposition()
The preposition used to address the appString
getButtonText()
Button textString
getDescription()
DescriptionBoolean
getIsAppSecretRequired()
Whether the app secret is required for API calls related to actions of this typeList<String>
getObjectTypes()
Object types associated with this action typeString
getPluralPast()
The plural past form of the actionString
getPluralPresent()
The plural present form of the actionMap<String,OpenGraphPropertyConfig>
getPropertyConfig()
Per-property configString
getSingularPast()
The singular past form of the actionString
getSingularPresent()
The singular present form of the actionInteger
getTensesDisabled()
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tenseboolean
removeObjectType(String objectType)
void
removePropertyConfig(String key)
void
setAllowMultipleReferences(Boolean allowMultipleReferences)
Whether multiple objects can be referenced by the actionvoid
setAppPreposition(String appPreposition)
The preposition used to address the appvoid
setButtonText(String buttonText)
Button textvoid
setDescription(String description)
Descriptionvoid
setIsAppSecretRequired(Boolean isAppSecretRequired)
Whether the app secret is required for API calls related to actions of this typevoid
setPluralPast(String pluralPast)
The plural past form of the actionvoid
setPluralPresent(String pluralPresent)
The plural present form of the actionvoid
setSingularPast(String singularPast)
The singular past form of the actionvoid
setSingularPresent(String singularPresent)
The singular present form of the actionvoid
setTensesDisabled(Integer tensesDisabled)
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tense-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
OpenGraphActionType
public OpenGraphActionType()
-
-
Method Detail
-
getPropertyConfig
public Map<String,OpenGraphPropertyConfig> getPropertyConfig()
Per-property config- Returns:
- Per-property config
-
addPropertyConfig
public void addPropertyConfig(String key, OpenGraphPropertyConfig value)
-
removePropertyConfig
public void removePropertyConfig(String key)
-
getObjectTypes
public List<String> getObjectTypes()
Object types associated with this action type- Returns:
- Object types associated with this action type
-
addObjectType
public boolean addObjectType(String objectType)
-
removeObjectType
public boolean removeObjectType(String objectType)
-
getAllowMultipleReferences
public Boolean getAllowMultipleReferences()
Whether multiple objects can be referenced by the action
-
setAllowMultipleReferences
public void setAllowMultipleReferences(Boolean allowMultipleReferences)
Whether multiple objects can be referenced by the action
-
getAppPreposition
public String getAppPreposition()
The preposition used to address the app
-
setAppPreposition
public void setAppPreposition(String appPreposition)
The preposition used to address the app
-
getButtonText
public String getButtonText()
Button text
-
setButtonText
public void setButtonText(String buttonText)
Button text
-
getDescription
public String getDescription()
Description
-
setDescription
public void setDescription(String description)
Description
-
getIsAppSecretRequired
public Boolean getIsAppSecretRequired()
Whether the app secret is required for API calls related to actions of this type
-
setIsAppSecretRequired
public void setIsAppSecretRequired(Boolean isAppSecretRequired)
Whether the app secret is required for API calls related to actions of this type
-
getPluralPast
public String getPluralPast()
The plural past form of the action
-
setPluralPast
public void setPluralPast(String pluralPast)
The plural past form of the action
-
getPluralPresent
public String getPluralPresent()
The plural present form of the action
-
setPluralPresent
public void setPluralPresent(String pluralPresent)
The plural present form of the action
-
getSingularPast
public String getSingularPast()
The singular past form of the action
-
setSingularPast
public void setSingularPast(String singularPast)
The singular past form of the action
-
getSingularPresent
public String getSingularPresent()
The singular present form of the action
-
setSingularPresent
public void setSingularPresent(String singularPresent)
The singular present form of the action
-
getTensesDisabled
public Integer getTensesDisabled()
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tense
-
setTensesDisabled
public void setTensesDisabled(Integer tensesDisabled)
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tense
-
-