Package com.appiancorp.suiteapi.common
Class ObjectTypeMapping
java.lang.Object
com.appiancorp.suiteapi.common.LocalObjectTypeMapping
com.appiancorp.suiteapi.common.ObjectTypeMapping
Enables mapping between Appian type objects and their corresponding type
constants. Appian Type objects (also referred to as "first-class" or
"Appian" objects) are defined for all top-level data structures specific
in the product, such as Forums, Documents, Process Models, etc.
-
Field Summary
Fields inherited from class com.appiancorp.suiteapi.common.LocalObjectTypeMapping
COLLABORATION_BASE, DYNAMIC_BASE, FORUMS_BASE, LO_BPM_NODE, LO_BPM_PROCESS, LO_BPM_PROCESS_MODEL, LO_BPM_TASK, LO_COMMUNITY, LO_CONTENT, LO_DISCUSSION_THREAD, LO_DOCUMENT, LO_EMAIL_ADDRESS, LO_FOLDER, LO_FORUM, LO_GROUP, LO_GROUP_TYPE, LO_KNOWLEDGE_CENTER, LO_LINK, LO_MESSAGE, LO_PAGE, LO_PORTLET, LO_USER, PERSONALIZATION_BASE, PORTAL_BASE, PROCESS_BASE, TYPE_BPM_NODE, TYPE_BPM_PROCESS, TYPE_BPM_PROCESS_MODEL, TYPE_BPM_TASK, TYPE_COMMUNITY, TYPE_CONTENT, TYPE_DISCUSSION_THREAD, TYPE_DOCUMENT, TYPE_EMAIL_ADDRESS, TYPE_FOLDER, TYPE_FORUM, TYPE_GROUP, TYPE_GROUP_TYPE, TYPE_KNOWLEDGE_CENTER, TYPE_LINK, TYPE_MESSAGE, TYPE_PAGE, TYPE_PORTLET, TYPE_USER
-
Constructor Summary
-
Method Summary
Methods inherited from class com.appiancorp.suiteapi.common.LocalObjectTypeMapping
getTypeName, map
-
Constructor Details
-
ObjectTypeMapping
public ObjectTypeMapping()
-
-
Method Details
-
map
Returns the type constant for a given Appian object Class.- Parameters:
o_
- An Appian object Class.- Returns:
- The type constant for the object, which is one of the
TYPE_XXX
constants defined by this class. - Throws:
IllegalArgumentException
- If the passed object is not an Appian object.
-