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
Represents the Open Graph
Action Type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addObjectType
(String objectType) void
addPropertyConfig
(String key, OpenGraphPropertyConfig value) Whether multiple objects can be referenced by the actionThe preposition used to address the appButton textDescriptionWhether the app secret is required for API calls related to actions of this typeObject types associated with this action typeThe plural past form of the actionThe plural present form of the actionPer-property configThe singular past form of the actionThe singular present form of the actionBitmap 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
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 tenseMethods 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 Details
-
OpenGraphActionType
public OpenGraphActionType()
-
-
Method Details
-
getPropertyConfig
Per-property config- Returns:
- Per-property config
-
addPropertyConfig
-
removePropertyConfig
-
getObjectTypes
Object types associated with this action type- Returns:
- Object types associated with this action type
-
addObjectType
-
removeObjectType
-
getAllowMultipleReferences
Whether multiple objects can be referenced by the action -
setAllowMultipleReferences
Whether multiple objects can be referenced by the action -
getAppPreposition
The preposition used to address the app -
setAppPreposition
The preposition used to address the app -
getButtonText
Button text -
setButtonText
Button text -
getDescription
Description -
setDescription
Description -
getIsAppSecretRequired
Whether the app secret is required for API calls related to actions of this type -
setIsAppSecretRequired
Whether the app secret is required for API calls related to actions of this type -
getPluralPast
The plural past form of the action -
setPluralPast
The plural past form of the action -
getPluralPresent
The plural present form of the action -
setPluralPresent
The plural present form of the action -
getSingularPast
The singular past form of the action -
setSingularPast
The singular past form of the action -
getSingularPresent
The singular present form of the action -
setSingularPresent
The singular present form of the action -
getTensesDisabled
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tense -
setTensesDisabled
Bitmap of tenses that are disabled (the least significant bit relates to past tense, the second least significant relates to present tense
-