@ThingworxExtensionApiClass(since={6,6}, canExtendOrImplement=true, canInstantiate=true) public class DirectoryService extends ExtensibleRootEntity
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
DirectoryService() |
Modifier and Type | Method and Description |
---|---|
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
int |
getPriority() |
void |
initializeEntity()
|
boolean |
isEnabled() |
void |
setEnabled(boolean value) |
void |
setPriority(int value) |
void |
validateCredentials(java.lang.String userName,
java.lang.String password) |
void |
validateCredentials(java.lang.String userName,
java.lang.String password,
javax.servlet.http.HttpServletRequest req) |
void |
ValidateCredentials(User user,
java.lang.String password)
Deprecated.
Implement
validateCredentials(String, String) instead. |
void |
ValidateCredentials(User user,
java.lang.String password,
javax.servlet.http.HttpServletRequest req)
Deprecated.
Implement
validateCredentials(String, String, HttpServletRequest) instead. |
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, preInitializeEntity, processAPIServiceRequest, processServiceRequest
AddConfigurationTableDefinition, 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, validateConfiguration
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, hasID
getDescription, getName
getID, getName
@ThingworxExtensionApiMethod(since={6,6}) public boolean isEnabled()
@ThingworxExtensionApiMethod(since={6,6}) public void setEnabled(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) public int getPriority()
@ThingworxExtensionApiMethod(since={6,6}) public void setPriority(int value)
@ThingworxExtensionApiMethod(since={7,3}, canOverride=true) public void validateCredentials(java.lang.String userName, java.lang.String password) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,3}, canOverride=true) public void validateCredentials(java.lang.String userName, java.lang.String password, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) @Deprecated public void ValidateCredentials(User user, java.lang.String password) throws java.lang.Exception
validateCredentials(String, String)
instead.java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) @Deprecated public void ValidateCredentials(User user, java.lang.String password, javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
validateCredentials(String, String, HttpServletRequest)
instead.java.lang.Exception
- If an error occurs
@ThingworxExtensionApiMethod(since={7,1}, canOverride=true) public void initializeEntity() throws java.lang.Exception
RootEntity
Initializes the internal state of the entity. This method may be called more than once on the same entity during initialization.
All metadata, including aspects and configuration tables, are available at this point in the lifecycle.
initializeEntity
in class ServiceProviderEntity
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntity
Returns the type of this entity.
getEntityType
in class RootEntity