@ThingworxExtensionApiClass(since={7,0,3}, canInstantiate=true) public class Menu extends ServiceProviderEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LINKTYPE_HYPERLINK |
static java.lang.String |
LINKTYPE_MASHUP |
static java.lang.String |
LINKTYPE_MENU |
BASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
Menu() |
| Modifier and Type | Method and Description |
|---|---|
EntityReferenceCollection |
getAllGroupReferences() |
InfoTable |
GetEffectiveMenu()
Service Category: MenuItems
Service Description: Get menu items for the current user.
|
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
EntityReferenceCollection |
getGroups() |
java.lang.String |
getImageURL() |
MenuItemCollection |
getMenuItems() |
InfoTable |
GetMenuItems()
Service Category: MenuItems
Service Description: Get menu items for this menu.
|
java.lang.String |
getMenuLabel() |
InfoTable |
toInfoTable() |
void |
UpdateGroups(org.json.JSONObject groupReferences,
org.json.JSONObject menuItems) |
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequestAddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfigurationgetID, hasID, isTransientgetDescription, getName, setDescription, setName, toValueCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, hasIDgetDescription, getNamegetID, getNamepublic static final java.lang.String LINKTYPE_MENU
public static final java.lang.String LINKTYPE_MASHUP
public static final java.lang.String LINKTYPE_HYPERLINK
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getMenuLabel()
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getImageURL()
@ThingworxExtensionApiMethod(since={7,0,3}) public EntityReferenceCollection getGroups()
@ThingworxExtensionApiMethod(since={7,0,3}) public EntityReferenceCollection getAllGroupReferences()
@ThingworxExtensionApiMethod(since={7,0,3}) public MenuItemCollection getMenuItems()
@ThingworxExtensionApiMethod(since={7,0,3}) public InfoTable GetMenuItems() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,0,3}) public InfoTable GetEffectiveMenu() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,0,3}) public void UpdateGroups(org.json.JSONObject groupReferences, org.json.JSONObject menuItems) throws java.lang.Exception
groupReferences - Group Associations - JSONmenuItems - Menu Items - JSONjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,0,3}) public InfoTable toInfoTable()
@ThingworxExtensionApiMethod(since={7,0,3}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntityReturns the type of this entity.
getEntityType in class RootEntity