@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class SessionInfo extends Resource
BASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
SessionInfo() |
| Modifier and Type | Method and Description |
|---|---|
InfoTable |
GetActiveUsers(java.lang.Double maxItems)
Service Category: UserInfo
Service Description: Get the currently logged in users.
|
java.lang.String |
GetCurrentUser()
Service Category: UserInfo
Service Description: Get the currently logged in user.
|
InfoTable |
GetCurrentUserExtensionProperties()
Service Category: UserInfo
Service Description: Get the properties for the currently logged in user.
|
InfoTable |
GetCurrentUserGroups()
Service Category: UserInfo
Service Description: Get the groups for the currently logged in user.
|
java.lang.String |
GetCurrentUserHomeMashup()
Service Category: UserInfo
Service Description: Get the currently logged in user's home mashup.
|
java.lang.String |
GetCurrentUserLanguage()
Service Category: UserInfo
Service Description: Get the currently logged in user's preferred language.
|
InfoTable |
GetCurrentUserOrganizationalUnits()
Service Category: UserInfo
Service Description: Get the organizational units for the currently logged in user.
|
InfoTable |
GetCurrentUserOrganizations()
Service Category: UserInfo
Service Description: Get the organizations for the currently logged in user.
|
InfoTable |
GetDesignTimeCollectionPermissions()
Service Category: Permissions
Service Description: Get the design time permissions for the current user.
|
InfoTable |
GetGlobalSessionValues()
Service Category: SessionInfo
Service Description: Get global session values.
|
void |
SetGlobalSessionBooleanValue(java.lang.String name,
java.lang.Boolean value)
Service Category: SessionInfo
Service Description: Set value for specified boolean global session property.
|
void |
SetGlobalSessionDateTimeValue(java.lang.String name,
org.joda.time.DateTime value)
Service Category: SessionInfo
Service Description: Set value for specified datetime global session property.
|
void |
SetGlobalSessionInfoTableValue(java.lang.String name,
InfoTable value)
Service Category: SessionInfo
Service Description: Set value for specified InfoTable global session property.
|
void |
SetGlobalSessionJSONValue(java.lang.String name,
org.json.JSONObject value)
Service Category: SessionInfo
Service Description: Set value for specified JSON global session property.
|
void |
SetGlobalSessionLocationValue(java.lang.String name,
Location value)
Service Category: SessionInfo
Service Description: Set value for specified location global session property.
|
void |
SetGlobalSessionNumberValue(java.lang.String name,
java.lang.Double value)
Service Category: SessionInfo
Service Description: Set value for specified number global session property.
|
void |
SetGlobalSessionStringValue(java.lang.String name,
java.lang.String value)
Service Category: SessionInfo
Service Description: Set value for specified string global session property.
|
void |
SetGlobalSessionXMLValue(java.lang.String name,
org.w3c.dom.Document value)
Service Category: SessionInfo
Service Description: Set value for specified XML global session property.
|
getEntityTypegetInstancePublicServiceDefinitions, 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, getName@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetCurrentUser() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetCurrentUserHomeMashup() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetCurrentUserLanguage() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetActiveUsers(java.lang.Double maxItems) throws java.lang.Exception
maxItems - Maximum number of items to return - NUMBERjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetCurrentUserExtensionProperties() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetCurrentUserGroups() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetCurrentUserOrganizations() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetCurrentUserOrganizationalUnits() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetGlobalSessionValues() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetDesignTimeCollectionPermissions() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionStringValue(java.lang.String name, java.lang.String value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionBooleanValue(java.lang.String name, java.lang.Boolean value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionLocationValue(java.lang.String name, Location value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - LOCATIONjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionDateTimeValue(java.lang.String name, org.joda.time.DateTime value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - DATETIMEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionNumberValue(java.lang.String name, java.lang.Double value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - NUMBERjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionJSONValue(java.lang.String name, org.json.JSONObject value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - JSONjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionXMLValue(java.lang.String name, org.w3c.dom.Document value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - XMLjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetGlobalSessionInfoTableValue(java.lang.String name, InfoTable value) throws java.lang.Exception
name - Parameter name - STRINGvalue - Parameter value - INFOTABLEjava.lang.Exception - If an error occurs