# Uses of Class
com.orchestranetworks.service.Profile

Packages that use Profile
Package
Description
com.onwbp.adaptation
Provides core classes and interfaces for accessing datasets, tables, and their records.
com.orchestranetworks.instance
Provides interfaces for accessing data sets.
com.orchestranetworks.service
Provides classes and interfaces for implementing specific services and access rules on EBX®.
com.orchestranetworks.service.directory
Provides classes for Directory handling.
com.orchestranetworks.ui.perspective
com.orchestranetworks.ui.view
com.orchestranetworks.workflow
Provides classes and interfaces for implementing workflow processes and invoking them.

- ## Uses of Profile in com.onwbp.adaptation

  Methods in com.onwbp.adaptation that return Profile
  Modifier and Type
  Method
  Description
  `abstract Profile`
  AdaptationHome.`getCreator()`
  Returns the creator profile of this dataspace or snapshot in the current repository.
  `Profile`
  Adaptation.`getOwner()`
  Returns the profile that owns the current dataset.
  `abstract Profile`
  AdaptationHome.`getOwner()`
  Returns the owner profile of this dataspace or snapshot in the current repository.

- ## Uses of Profile in com.orchestranetworks.instance

  Methods in com.orchestranetworks.instance that return Profile
  Modifier and Type
  Method
  Description
  `Profile`
  HomeCreationSpec.`getOwner()`
  Methods in com.orchestranetworks.instance with parameters of type Profile
  Modifier and Type
  Method
  Description
  `abstract AdaptationHome`
  Repository.`createHome(AdaptationHome parentDataSpace, HomeKey aKey, Profile owner, Session aSession, UserMessage aLabel, UserMessage aDescription)`
  Creates the specified dataspace or snapshot.
  `void`
  HomeCreationSpec.`setOwner(Profile anOwner)`
  Specifies the owner of the dataspace or snapshot to be created.

- ## Uses of Profile in com.orchestranetworks.service

  Subclasses of Profile in com.orchestranetworks.service
  Modifier and Type
  Class
  Description
  `class`
  `Role`
  A role is a profile that is not a reference to a specific user; several users can have the same role.
  `class`
  `UserReference`
  Identifies a specific user.
  Methods in com.orchestranetworks.service that return Profile
  Modifier and Type
  Method
  Description
  `static Profile`
  Profile.`parse(String aString)`
  Analyzes a string that has been created using `format()` and returns the corresponding profile.
  Methods in com.orchestranetworks.service with parameters of type Profile
  Modifier and Type
  Method
  Description
  `Adaptation`
  ProcedureContext.`doCreateChild(AdaptationName aParentName, AdaptationReference requestedNameOrNull, Profile owner)`
  Creates a new dataset that is the child of the parent specified by `aParentName`.
  `Adaptation`
  ProcedureContext.`doCreateRoot(SchemaLocation aSchemaLocation, AdaptationReference requestedNameOrNull, Profile owner)`
  Creates a new root dataset.
  `boolean`
  Session.`isUserInRole(Profile aProfile)`
  Returns `true` if the current user or the session has the specified profile.
  `void`
  ProcedureContext.`setInstanceOwner(Adaptation aDataSet, Profile newOwner)`
  Defines the owner of the specified dataset.
  Method parameters in com.orchestranetworks.service with type arguments of type Profile
  Modifier and Type
  Method
  Description
  `boolean`
  Session.`isUserInRoles(Iterable<Profile> profiles)`
  Returns `true` if the current user or the session has at least one profile from the specified profile list.

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

  Methods in com.orchestranetworks.service.directory that return types with arguments of type Profile
  Modifier and Type
  Method
  Description
  `abstract List<Profile>`
  Directory.`getProfiles(ProfileListContext aProfileContext)`
  Returns all profiles according to the specified context.
  `List<Profile>`
  DirectoryDefault.`getProfiles(ProfileListContext aProfileContext)`
  `List<Profile>`
  DirectoryHandler.`getProfiles(ProfileListContext aProfileContext)`
  Methods in com.orchestranetworks.service.directory with parameters of type Profile
  Modifier and Type
  Method
  Description
  `String`
  DirectoryHandler.`displayProfile(Profile aProfile, Locale aLocale)`
  Returns a label for the profile specified.
  `boolean`
  DirectoryHandler.`isProfileDefined(Profile aProfile)`
  Returns `true` if the specified profile is defined in the directory.
  `boolean`
  DirectoryHandler.`isProfileIncluded(Profile aProfile, Profile anotherProfile)`
  Returns `true` when `aProfile` is equal to or included in `anotherProfile`.

- ## Uses of Profile in com.orchestranetworks.ui.perspective

  Methods in com.orchestranetworks.ui.perspective that return types with arguments of type Profile
  Modifier and Type
  Method
  Description
  `List<Profile>`
  Perspective.`getAllowedProfiles()`
  Returns the list of all allowed profiles of this perspective.
  Methods in com.orchestranetworks.ui.perspective with parameters of type Profile
  Modifier and Type
  Method
  Description
  `List<Perspective>`
  PerspectiveHandler.`getPerspectives(Profile aProfile)`
  Returns all activated and allowed perspectives for a given profile.
  `boolean`
  Perspective.`isAllowedForProfile(Profile aProfile, DirectoryHandler aDirectory)`
  Returns true if this perspective is allowed for a given profile.

- ## Uses of Profile in com.orchestranetworks.ui.view

  Methods in com.orchestranetworks.ui.view that return Profile
  Modifier and Type
  Method
  Description
  `Profile`
  UIView.`getOwnerProfile()`
  Returns the owner of the view

- ## Uses of Profile in com.orchestranetworks.workflow

  Methods in com.orchestranetworks.workflow that return Profile
  Modifier and Type
  Method
  Description
  `Profile`
  ProcessExecutionInfoContext.`getProfileForPermission(ProcessExecutionContext.WorkflowPermission workflowPermission)`
  Returns the profile that is associated with the specified workflow permission.
  `Profile`
  CreationWorkItemSpec.`getProfileMailCC()`
  `Profile`
  UserTaskCreationContext.`getProfileMailCC()`
  Returns the profile for CC field
  `Profile`
  ProcessInstanceStep.`getWaitTaskExpectedProfile()`
  Returns the profile authorized to resume the wait task; returns `null` if this step is not a wait task.
  Methods in com.orchestranetworks.workflow that return types with arguments of type Profile
  Modifier and Type
  Method
  Description
  `final Collection<Profile>`
  CreationWorkItemSpec.`getOfferedToProfiles()`
  Returns the collection of profiles to whom the work item must be offered.
  `List<Profile>`
  UserTask.WorkItem.`getOfferedToProfiles()`
  Returns the list of profiles the work item is offered to.
  Methods in com.orchestranetworks.workflow with parameters of type Profile
  Modifier and Type
  Method
  Description
  `static CreationWorkItemSpec`
  CreationWorkItemSpec.`forOfferring(Profile offeredOrAllocatedTo)`
  Allows to create a work item offered or allocated to the specified profile.
  `void`
  CreationWorkItemSpec.`setProfileMailCC(Profile profileMailCC)`
  Method parameters in com.orchestranetworks.workflow with type arguments of type Profile
  Modifier and Type
  Method
  Description
  `static CreationWorkItemSpec`
  CreationWorkItemSpec.`forAllocationWithPossibleReallocation(UserReference allocatedTo, Collection<Profile> offeredToProfiles)`
  Allows to create a work item allocated to the specified user with the possibility to reallocate to a profile contained in offeredToProfiles.
  `static CreationWorkItemSpec`
  CreationWorkItemSpec.`forOfferring(Collection<Profile> offeredToProfiles)`
  Allows to create a work item for a profile list.