# Uses of Class
com.orchestranetworks.service.directory.DirectoryDefault

Packages that use DirectoryDefault
Package
Description
com.orchestranetworks.service.directory
Provides classes for Directory handling.

- ## Uses of DirectoryDefault in com.orchestranetworks.service.directory

  Methods in com.orchestranetworks.service.directory that return DirectoryDefault
  Modifier and Type
  Method
  Description
  `static DirectoryDefault`
  DirectoryDefault.`getInstance(Repository aRepository)`
  Returns the default internal directory instance that is delivered with EBX®.
  Methods in com.orchestranetworks.service.directory with parameters of type DirectoryDefault
  Modifier and Type
  Method
  Description
  `static ProcedureResult`
  DirectoryDefaultHelper.`deleteRole(Role aRole, String aTrackingInfoOrNull, DirectoryDefault aDirectory)`
  Deletes the role entity corresponding to the specified role.
  `static ProcedureResult`
  DirectoryDefaultHelper.`deleteUser(UserReference aUserReference, String aTrackingInfoOrNull, DirectoryDefault aDirectory)`
  Deletes the user entity corresponding to the specified user reference.
  `static DirectoryDefault.RoleEntity`
  DirectoryDefaultHelper.`findRole(Role aRole, DirectoryDefault aDirectory)`
  Returns the role entity corresponding to the specified role if it exists, `null` otherwise.
  `static DirectoryDefault.UserEntity`
  DirectoryDefaultHelper.`findUser(UserReference aUserReference, DirectoryDefault aDirectory)`
  Returns the user entity corresponding to the specified user reference if it exists, `null` otherwise.
  `static DirectoryDefault.UserEntity`
  DirectoryDefaultHelper.`newUser(UserReference aUserReference, DirectoryDefault aDirectory)`
  Returns a new user entity whose key is the specified user reference.
  `static ProcedureResult`
  DirectoryDefaultHelper.`saveRole(DirectoryDefault.RoleEntity aRole, String aTrackingInfoOrNull, DirectoryDefault aDirectory)`
  Makes the specified role entity persistent if it does not yet exist in the EBX® repository; updates it if it exists.
  `static ProcedureResult`
  DirectoryDefaultHelper.`saveUser(DirectoryDefault.UserEntity aUser, String aTrackingInfoOrNull, DirectoryDefault aDirectory)`
  Makes the specified user entity persistent if it does not exist yet in the EBX® repository; updates it if it exists.