Class LocalObjectTypeMapping

java.lang.Object
com.appiancorp.suiteapi.common.LocalObjectTypeMapping
Direct Known Subclasses:
ObjectTypeMapping

public abstract class LocalObjectTypeMapping extends 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_PORTLET
      Portlet type.
      See Also:
    • TYPE_PORTLET

      public static final Integer TYPE_PORTLET
    • LO_PAGE

      public static final int LO_PAGE
      Page type.
      See Also:
    • TYPE_PAGE

      public static final Integer TYPE_PAGE
    • LO_GROUP

      public static final int LO_GROUP
      Group type.
      See Also:
    • TYPE_GROUP

      public static final Integer TYPE_GROUP
    • LO_USER

      public static final int LO_USER
      User type.
      See Also:
    • TYPE_USER

      public static final Integer TYPE_USER
    • LO_GROUP_TYPE

      public static final int LO_GROUP_TYPE
      Group Type type.
      See Also:
    • TYPE_GROUP_TYPE

      public static final Integer TYPE_GROUP_TYPE
    • LO_EMAIL_ADDRESS

      public static final int LO_EMAIL_ADDRESS
      Email Address type.
      See Also:
    • TYPE_EMAIL_ADDRESS

      public static final Integer TYPE_EMAIL_ADDRESS
    • LO_FORUM

      public static final int LO_FORUM
      Forum type.
      See Also:
    • TYPE_FORUM

      public static final Integer TYPE_FORUM
    • LO_DISCUSSION_THREAD

      public static final int LO_DISCUSSION_THREAD
      Thread type.
      See Also:
    • TYPE_DISCUSSION_THREAD

      public static final Integer TYPE_DISCUSSION_THREAD
    • LO_MESSAGE

      public static final int LO_MESSAGE
      Message type.
      See Also:
    • TYPE_MESSAGE

      public static final Integer TYPE_MESSAGE
    • LO_DOCUMENT

      public static final int LO_DOCUMENT
      Document type.
      See Also:
    • TYPE_DOCUMENT

      public static final Integer TYPE_DOCUMENT
    • LO_FOLDER

      public static final int LO_FOLDER
      Collaboration folder type.
      See Also:
    • TYPE_FOLDER

      public static final Integer TYPE_FOLDER
    • LO_KNOWLEDGE_CENTER

      public static final int LO_KNOWLEDGE_CENTER
      Knowledge center type.
      See Also:
    • TYPE_KNOWLEDGE_CENTER

      public static final Integer TYPE_KNOWLEDGE_CENTER
    • LO_COMMUNITY

      public static final int LO_COMMUNITY
      Collaboration community type.
      See Also:
    • TYPE_COMMUNITY

      public static final Integer TYPE_COMMUNITY
    • LO_CONTENT

      public static final int LO_CONTENT
      Content community type.
      See Also:
    • TYPE_CONTENT

      public static final Integer TYPE_CONTENT
    • LO_BPM_PROCESS_MODEL

      public static final int LO_BPM_PROCESS_MODEL
      Process model type.
      See Also:
    • TYPE_BPM_PROCESS_MODEL

      public static final Integer TYPE_BPM_PROCESS_MODEL
    • LO_BPM_PROCESS

      public static final int LO_BPM_PROCESS
      Process type.
      See Also:
    • TYPE_BPM_PROCESS

      public static final Integer TYPE_BPM_PROCESS
    • LO_BPM_TASK

      public static final int LO_BPM_TASK
      Task type.
      See Also:
    • TYPE_BPM_TASK

      public static final Integer TYPE_BPM_TASK
    • LO_BPM_NODE

      public static final int LO_BPM_NODE
      Node type.
      See Also:
    • TYPE_BPM_NODE

      public static final Integer TYPE_BPM_NODE
  • Constructor Details

    • LocalObjectTypeMapping

      public LocalObjectTypeMapping()
  • Method Details

    • map

      public Integer map(Object o_)
      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

      public static String getTypeName(int type)
      Returns the name of a LocalObject 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 - A LocalObject type (which can be any one of the LO_XXX constants on this class).
      Returns:
      The name of the given type.