Package com.appiancorp.suiteapi.common
Class LocalObjectTypeMapping
java.lang.Object
com.appiancorp.suiteapi.common.LocalObjectTypeMapping
- Direct Known Subclasses:
ObjectTypeMapping
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Node type.static final int
Process type.static final int
Process model type.static final int
Task type.static final int
Collaboration community type.static final int
Content community type.static final int
Thread type.static final int
Document type.static final int
Email Address type.static final int
Collaboration folder type.static final int
Forum type.static final int
Group type.static final int
Group Type type.static final int
Knowledge center type.static final int
Link type.static final int
Message type.static final int
Page type.static final int
Portlet type.static final int
User type.static final int
static final int
static final int
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getTypeName
(int type) Returns the name of aLocalObject
type.Returns the type constant for a given Appian object.
-
Field Details
-
PORTAL_BASE
public static final int PORTAL_BASE- See Also:
-
PERSONALIZATION_BASE
public static final int PERSONALIZATION_BASE- See Also:
-
FORUMS_BASE
public static final int FORUMS_BASE- See Also:
-
COLLABORATION_BASE
public static final int COLLABORATION_BASE- See Also:
-
DYNAMIC_BASE
public static final int DYNAMIC_BASE- See Also:
-
PROCESS_BASE
public static final int PROCESS_BASE- See Also:
-
LO_PORTLET
public static final int LO_PORTLETPortlet type.- See Also:
-
TYPE_PORTLET
-
LO_PAGE
public static final int LO_PAGEPage type.- See Also:
-
TYPE_PAGE
-
LO_LINK
public static final int LO_LINKLink type.- See Also:
-
TYPE_LINK
-
LO_GROUP
public static final int LO_GROUPGroup type.- See Also:
-
TYPE_GROUP
-
LO_USER
public static final int LO_USERUser type.- See Also:
-
TYPE_USER
-
LO_GROUP_TYPE
public static final int LO_GROUP_TYPEGroup Type type.- See Also:
-
TYPE_GROUP_TYPE
-
LO_EMAIL_ADDRESS
public static final int LO_EMAIL_ADDRESSEmail Address type.- See Also:
-
TYPE_EMAIL_ADDRESS
-
LO_FORUM
public static final int LO_FORUMForum type.- See Also:
-
TYPE_FORUM
-
LO_DISCUSSION_THREAD
public static final int LO_DISCUSSION_THREADThread type.- See Also:
-
TYPE_DISCUSSION_THREAD
-
LO_MESSAGE
public static final int LO_MESSAGEMessage type.- See Also:
-
TYPE_MESSAGE
-
LO_DOCUMENT
public static final int LO_DOCUMENTDocument type.- See Also:
-
TYPE_DOCUMENT
-
LO_FOLDER
public static final int LO_FOLDERCollaboration folder type.- See Also:
-
TYPE_FOLDER
-
LO_KNOWLEDGE_CENTER
public static final int LO_KNOWLEDGE_CENTERKnowledge center type.- See Also:
-
TYPE_KNOWLEDGE_CENTER
-
LO_COMMUNITY
public static final int LO_COMMUNITYCollaboration community type.- See Also:
-
TYPE_COMMUNITY
-
LO_CONTENT
public static final int LO_CONTENTContent community type.- See Also:
-
TYPE_CONTENT
-
LO_BPM_PROCESS_MODEL
public static final int LO_BPM_PROCESS_MODELProcess model type.- See Also:
-
TYPE_BPM_PROCESS_MODEL
-
LO_BPM_PROCESS
public static final int LO_BPM_PROCESSProcess type.- See Also:
-
TYPE_BPM_PROCESS
-
LO_BPM_TASK
public static final int LO_BPM_TASKTask type.- See Also:
-
TYPE_BPM_TASK
-
LO_BPM_NODE
public static final int LO_BPM_NODENode type.- See Also:
-
TYPE_BPM_NODE
-
-
Constructor Details
-
LocalObjectTypeMapping
public LocalObjectTypeMapping()
-
-
Method Details
-
map
Returns the type constant for a given Appian object.- Parameters:
o_
- An Appian object.- 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.
-
getTypeName
Returns the name of aLocalObject
type. The name is just a String (not internationalized) that can be displayed in logs; the name value has no special meaning (it's not a key) and can change in the future.- Parameters:
type
- ALocalObject type
(which can be any one of the LO_XXX constants on this class).- Returns:
- The name of the given type.
-