@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class ApplicationKey extends ServiceProviderEntity
BASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
ApplicationKey() |
| Modifier and Type | Method and Description |
|---|---|
User |
getAssociatedUser() |
EntityReferenceTypeMap |
getDependencies() |
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
org.joda.time.DateTime |
GetExpirationDate()
Service Category: ApplicationKeys
Service Description: Get the expiration date.
|
java.lang.String |
GetKeyID()
Service Category: ApplicationKeys
Service Description: Access the key ID.
|
java.lang.String |
GetUserName()
Service Category: ApplicationKeys
Service Description: Get the associated user name.
|
boolean |
IsExpired()
Service Category: ApplicationKeys
Service Description: Returns if the application key is expired.
|
void |
ResetExpirationDateToDefault()
Service Category: ApplicationKeys
Service Description: Resets the expiration date to the default set in the UserManagementSubsystem configuration.
|
void |
SetClientName(java.lang.String name)
Service Category: ApplicationKeys
Service Description: Set the client name for this application key.
|
void |
SetExpirationDate(org.joda.time.DateTime expirationDate)
Service Category: ApplicationKeys
Service Description: Set the expiration date.
|
void |
SetIPWhitelist(java.lang.String list)
Service Category: ApplicationKeys
Service Description: Set the IP whitelist for this application key.
|
void |
SetUserName(java.lang.String name)
Service Category: ApplicationKeys
Service Description: Set the associated user name for this application key.
|
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, getName@ThingworxExtensionApiMethod(since={6,6}) public void SetClientName(java.lang.String name) throws java.lang.Exception
name - Client name - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetKeyID() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetUserName() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetUserName(java.lang.String name) throws java.lang.Exception
name - User name - USERNAMEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetIPWhitelist(java.lang.String list) throws java.lang.Exception
list - IP whitelist (IP addresses - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void SetExpirationDate(org.joda.time.DateTime expirationDate) throws java.lang.Exception
expirationDate - The expiration date of the application key - DATETIMEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void ResetExpirationDateToDefault() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public org.joda.time.DateTime GetExpirationDate()
@ThingworxExtensionApiMethod(since={6,6}) public boolean IsExpired()
@ThingworxExtensionApiMethod(since={6,6}) public User getAssociatedUser() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceTypeMap getDependencies()
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntityReturns the type of this entity.
getEntityType in class RootEntity