Profile Entry
A ProfileEntry is a mapping among an
Agent or Resource, and a
ProfileItem. This interface is not
required for performing a profile check but is used
for examining and managing profiles.
The actor of a profile may be specified in a variety of forms.
-
Agent -
Resource: allAgentsassociated with aResourcefor matching profiles
An explicit ProfileEntry represents
the mappings as they are specified in the profile
provdier. Implicit profile entries may be retrieved
which are profile entries inferred through the
ProfileItem hierarchy. An implicit
ProfileEntry is one where
isImplicit() is true and should not be
used for modification as it is only available for
auditing purposes.
An ProfileEntry containing a
Resource may also provide the associated
Agent in a request for implicit profiles
or for all the profiles, both explicit and implicit,
for a given Agent.
| Name | Syntax | Many | Description |
|---|---|---|---|
| Identifiable | |||
id |
id | the Id |
|
| Extensible | |||
recordTypes |
type | ⋆ | the record types available |
| Browsable | |||
properties |
Property | ⋆ | a list of properties |
| OsidObject | |||
displayName |
displaytext | the display name | |
description |
displaytext | the description | |
genusType |
type | the genus type of this object | |
| Temporal | |||
isEffective |
boolean | true if this is effective, false otherwise |
|
startDate |
datetime | the start date | |
endDate |
datetime | the end date | |
| OsidRelationship | |||
hasEndReason |
boolean | true if an end reason is available, false
otherwise |
|
endReasonId |
id | a state Id |
|
endReason |
State | a state | |
| Name | Syntax | Many | Description |
|---|---|---|---|
isImplicit |
boolean | true if this profile entry is implicit, false
otherwise |
|
hasResource |
boolean | true if this profile entry has a Resource,
false otherwise |
|
resourceId |
id | the Resource Id |
|
resource |
Resource | the Resource |
|
hasAgent |
boolean | true if this profile entry has an Agent,
false otherwise |
|
agentId |
id | the Agent Id |
|
agent |
Agent | the Agent |
|
profileItemId |
id | the profile item Id |
|
profileItem |
ProfileItem | the profile item |
Profile Item
A ProfileItem represents an item in a
profile. Like all OSID objects, a
ProfileItem is identified by its
Id and any persisted references should
use the Id.
| Name | Syntax | Many | Description |
|---|---|---|---|
| Identifiable | |||
id |
id | the Id |
|
| Extensible | |||
recordTypes |
type | ⋆ | the record types available |
| Browsable | |||
properties |
Property | ⋆ | a list of properties |
| OsidObject | |||
displayName |
displaytext | the display name | |
description |
displaytext | the description | |
genusType |
type | the genus type of this object | |
Profile
A profile defines a collection of profile entries and items.
| Name | Syntax | Many | Description |
|---|---|---|---|
| Identifiable | |||
id |
id | the Id |
|
| Extensible | |||
recordTypes |
type | ⋆ | the record types available |
| Browsable | |||
properties |
Property | ⋆ | a list of properties |
| OsidObject | |||
displayName |
displaytext | the display name | |
description |
displaytext | the description | |
genusType |
type | the genus type of this object | |
| Sourceable | |||
providerId |
id | the provider Id |
|
provider |
Resource | the provider | |
brandingIds |
id | ⋆ | a list of asset Ids |
branding |
Asset | ⋆ | a list of assets |
license |
displaytext | the license | |