Class AuthorizationManager

Description

AuthorizationManager allows an application to create Authorizations, get Authorizations given selection criterias, ask questions of Authorization such as what agentId can do a Function in a Qualifier context, etc.

The primary objects in Authorization are Authorization, Function, agentId, and Qualifier. There are also Function and Qualifier types that are understood by the implementation.

Ids in Authorization are externally defined and their uniqueness is enforced by the implementation.

There are two methods to create Authorizations. One method uses agentId, Function, and Qualifier. The other adds effective date and expiration date. For the method without the dates, the effective date is today and there is no expiration date.

All implementations of OsidManager (manager) provide methods for accessing and manipulating the various objects defined in the OSID package. A manager defines an implementation of an OSID. All other OSID objects come either directly or indirectly from the manager. New instances of the OSID objects are created either directly or indirectly by the manager. Because the OSID objects are defined using interfaces, create methods must be used instead of the new operator to create instances of the OSID objects. Create methods are used both to instantiate and persist OSID objects. Using the OsidManager class to define an OSID's implementation allows the application to change OSID implementations by changing the OsidManager package name used to load an implementation. Applications developed using managers permit OSID implementation substitution without changing the application source code. As with all managers, use the OsidLoader to load an implementation of this interface.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/oki2/osid/authorization/AuthorizationManager.php (line 57)

OsidManager
   |
   --AuthorizationManager
Direct descendents
Class Description
HarmoniAuthorizationManager AuthorizationManager allows an application to create Authorizations, get Authorizations given selection criterias, ask questions of Authorization such as what agentId can do a Function in a Qualifier context, etc.
Method Summary
boolean agentExists (mixed $agentId, object Id $agentId )
object Authorization createAuthorization (object Id $agentId, object Id $functionId, mixed $qualifierId, object Id $qualifierId )
object Authorization createDatedAuthorization (object Id $agentId, object Id $functionId, object Id $qualifierId, int $effectiveDate, mixed $expirationDate, int $expirationDate )
object Function createFunction (object Id $functionId, string $displayName, string $description, object Type $functionType, mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )
object Qualifier createQualifier (object Id $qualifierId, string $displayName, string $description, object Type $qualifierType, mixed $parentId, object Id $parentId )
object Qualifier createRootQualifier (object Id $qualifierId, string $displayName, string $description, object Type $qualifierType, mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )
void deleteAuthorization (mixed $authorization, object Authorization $authorization )
void deleteFunction (mixed $functionId, object Id $functionId )
void deleteQualifier (mixed $qualifierId, object Id $qualifierId )
object AuthorizationIterator getAllAZs (object Id $agentId, object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getAllAZsByFuncType (object Id $agentId, object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getAllUserAZs (object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getAllUserAZsByFuncType (object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getExplicitAZs (object Id $agentId, object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getExplicitAZsByFuncType (object Id $agentId, object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getExplicitUserAZs (object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getExplicitUserAZsByFuncType (object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )
object AuthorizationIterator getExplicitUserAZsForImplicitAZ (mixed $implicitAuthorization, object Authorization $implicitAuthorization )
object Function getFunction (mixed $functionId, object Id $functionId )
object FunctionIterator getFunctions (mixed $functionType, object Type $functionType )
object Qualifier getQualifier (mixed $qualifierId, object Id $qualifierId )
object QualifierIterator getQualifierChildren (mixed $qualifierId, object Id $qualifierId )
object QualifierIterator getQualifierDescendants (mixed $qualifierId, object Id $qualifierId )
object QualifierIterator getRootQualifiers (mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )
object IdIterator getWhoCanDo (object Id $functionId, mixed $qualifierId, object Id $qualifierId )
boolean isAuthorized (object Id $agentId, object Id $functionId, mixed $qualifierId, object Id $qualifierId )
boolean isUserAuthorized (object Id $functionId, mixed $qualifierId, object Id $qualifierId )
boolean supportsDesign ()
boolean supportsMaintenance ()
Methods
agentExists (line 508)

Return true if the agentId exists in the Authorization Service; false otherwise. This is not asking if there are any Authorizations that reference this agentId. This is not asking if the agentId is known to the Agent OSID.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
boolean agentExists (mixed $agentId, object Id $agentId )

Redefined in descendants as:
  • HarmoniAuthorizationManager::agentExists() : Return true if the agentId exists in the Authorization Service; false otherwise. This is not asking if there are any Authorizations that reference this agentId. This is not asking if the agentId is known to the Agent OSID.
createAuthorization (line 126)

Creates a new Authorization for a Agent performing a Function with a Qualifier. Uses current date/time as the effectiveDate and doesn't set an expiration date.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object Authorization createAuthorization (object Id $agentId, object Id $functionId, mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
createDatedAuthorization (line 92)

Creates a new Authorization for an Agent performing a Function with a Qualifier.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, EFFECTIVE_PRECEDE_EXPIRATION
object Authorization createDatedAuthorization (object Id $agentId, object Id $functionId, object Id $qualifierId, int $effectiveDate, mixed $expirationDate, int $expirationDate )

Redefined in descendants as:
createFunction (line 161)

Ids in Authorization are externally defined and their uniqueness is enforced by the implementation.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object Function createFunction (object Id $functionId, string $displayName, string $description, object Type $functionType, mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )

Redefined in descendants as:
createQualifier (line 240)

Ids in Authorization are externally defined and their uniqueness is

enforced by the implementation. Creates a new Qualifier in the Authorization Service. This is different than making a new instance of a Qualifier object locally as the Qualifier will be inserted into the Authorization Service.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object Qualifier createQualifier (object Id $qualifierId, string $displayName, string $description, object Type $qualifierType, mixed $parentId, object Id $parentId )

Redefined in descendants as:
createRootQualifier (line 200)

Creates a new Qualifier in the Authorization Service that has no parent.

This is different from making a new instance of a Qualifier object locally as the Qualifier will be inserted into the Authorization Service.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object Qualifier createRootQualifier (object Id $qualifierId, string $displayName, string $description, object Type $qualifierType, mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )

Redefined in descendants as:
deleteAuthorization (line 268)

Deletes an existing Authorization.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteAuthorization (mixed $authorization, object Authorization $authorization )

Redefined in descendants as:
deleteFunction (line 296)

Delete a Function by Id.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
void deleteFunction (mixed $functionId, object Id $functionId )

Redefined in descendants as:
deleteQualifier (line 326)

Delete a Qualifier by Id. The last root Qualifier cannot be deleted.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, CANNOT_DELETE_LAST_ROOT_QUALIFIER
void deleteQualifier (mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
getAllAZs (line 982)

Given a functionId and a qualifierId returns all Authorizations that

would allow agents to do the Function with the Qualifier. This method differs from the simple form of getAuthorizations in that this method looks for any Authorization that permits doing the Function with the Qualifier even if the Authorization's Qualifier happens to be a parent of this Qualifier argument.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object AuthorizationIterator getAllAZs (object Id $agentId, object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getAllAZsByFuncType (line 1022)

Given a FunctionType and a qualifierId returns all Authorizations that

would allow Agents to do Functions in the FunctionType with the Qualifier. This method differs from getAuthorizations in that this method looks for any Authorization that permits doing the Function with the Qualifier even if the Authorization's Qualifier happens to be a parent of the Qualifier argument.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object AuthorizationIterator getAllAZsByFuncType (object Id $agentId, object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getAllUserAZs (line 830)

Given a functionId and a qualifierId returns all Authorizations that

would allow the user to do the Function with the Qualifier. This method differs from the simple form of getAuthorizations in that this method looks for any Authorization that permits doing the Function with the Qualifier even if the Authorization's Qualifier happens to be a parent of this Qualifier argument.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object AuthorizationIterator getAllUserAZs (object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getAllUserAZsByFuncType (line 869)

Given a FunctionType and a qualifierId returns all Authorizations that

would allow the user to do Functions in the FunctionType with the Qualifier. This method differs from getAuthorizations in that this method looks for any Authorization that permits doing the Function with the Qualifier even if the Authorization's Qualifier happens to be a parent of the Qualifier argument.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object AuthorizationIterator getAllUserAZsByFuncType (object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getExplicitAZs (line 905)

Given a agentId, a functionId, and a qualifierId (at least one of these must be non-null) returns the matching Authorizations. Explicit Authorizations can be modified. Any null argument will be treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object AuthorizationIterator getExplicitAZs (object Id $agentId, object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
  • HarmoniAuthorizationManager::getExplicitAZs() : Given a agentId, a functionId, and a qualifierId (at least one of these must be non-null) returns the matching Authorizations. Explicit Authorizations can be modified. Any null argument will be treated as a wildcard.
getExplicitAZsByFuncType (line 944)

Given a agentId, a FunctionType, and a qualifierId (either agentId or qualifierId must be non-null) returns the matching Authorizations. The Authorizations must be for Functions within the given FunctionType.

Explicit Authorizations can be modified. Any null argument will be treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object AuthorizationIterator getExplicitAZsByFuncType (object Id $agentId, object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getExplicitUserAZs (line 722)

Given a functionId and qualifierId (one must be non-null) returns the matching user Authorizations. Explicit Authorizations can be modified.. Any null argument will be treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object AuthorizationIterator getExplicitUserAZs (object Id $functionId, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
getExplicitUserAZsByFuncType (line 759)

Given a FunctionType and qualifierId returns the matching user Authorizations. The Authorizations must be for Functions within the given FunctionType. Explicit Authorizations can be modified. Any null argument will be treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object AuthorizationIterator getExplicitUserAZsByFuncType (object Type $functionType, object Id $qualifierId, mixed $isActiveNowOnly, boolean $isActiveNowOnly )

Redefined in descendants as:
  • HarmoniAuthorizationManager::getExplicitUserAZsByFuncType() : Given a FunctionType and qualifierId returns the matching user Authorizations. The Authorizations must be for Functions within the given FunctionType. Explicit Authorizations can be modified. Any null argument will be treated as a wildcard.
getExplicitUserAZsForImplicitAZ (line 793)

Given an implicit returns the matching explicit user Authorizations.

Explicit Authorizations can be modified. A null argument will be treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID, UNKNOWN_TYPE
object AuthorizationIterator getExplicitUserAZsForImplicitAZ (mixed $implicitAuthorization, object Authorization $implicitAuthorization )

Redefined in descendants as:
getFunction (line 475)
  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object Function getFunction (mixed $functionId, object Id $functionId )

Redefined in descendants as:
getFunctions (line 445)

Get all the Functions of the specified Type.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object FunctionIterator getFunctions (mixed $functionType, object Type $functionType )

Redefined in descendants as:
getFunctionTypes (line 415)

Get all the FunctionTypes supported by the Authorization implementation.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getFunctionTypes ()

Redefined in descendants as:
getQualifier (line 655)
  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object Qualifier getQualifier (mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
getQualifierChildren (line 594)

Given an existing qualifierId returns the Ids of its child Qualifiers.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object QualifierIterator getQualifierChildren (mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
getQualifierDescendants (line 625)

Given an existing qualifierId returns the Ids of all descendants including its child Qualifiers.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object QualifierIterator getQualifierDescendants (mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
getQualifierHierarchies (line 1048)

Returns the Qualifier Hierarchies supported by the Authorization implementation. Qualifier Hierarchies are referenced by Id and may be known and managed through the Hierarchy OSID.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object IdIterator getQualifierHierarchies ()

Redefined in descendants as:
getQualifierTypes (line 533)

Get all the QualifierTypes supported by the Authorization implementation.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object TypeIterator getQualifierTypes ()

Redefined in descendants as:
getRootQualifiers (line 564)

Given a hierarchyId, returns the Qualifiers at the root of the specified Hierarchy.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_TYPE
object QualifierIterator getRootQualifiers (mixed $qualifierHierarchyId, object Id $qualifierHierarchyId )

Redefined in descendants as:
getWhoCanDo (line 688)

Given a functionId and a qualifierId returns the Ids of all Agents allowed to do the Function with the Qualifier. A null qualifierId is treated as a wildcard.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
object IdIterator getWhoCanDo (object Id $functionId, mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
isAuthorized (line 359)

Given an agentId, functionId, and qualifierId returns true if the Agent is authorized now to perform the Function with the Qualifier.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
boolean isAuthorized (object Id $agentId, object Id $functionId, mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
isUserAuthorized (line 391)

Given a functionId and qualifierId returns true if the user is authorized now to perform the Function with the Qualifier.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT, UNKNOWN_ID
boolean isUserAuthorized (object Id $functionId, mixed $qualifierId, object Id $qualifierId )

Redefined in descendants as:
supportsDesign (line 1074)

This method indicates whether this implementation supports AuthorizationManager methods: createFunction, deleteFunction. Function methods: updateDescription, updateDisplayName.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
boolean supportsDesign ()

Redefined in descendants as:
  • HarmoniAuthorizationManager::supportsDesign() : This method indicates whether this implementation supports AuthorizationManager methods: createFunction, deleteFunction. Function methods: updateDescription, updateDisplayName.
supportsMaintenance (line 1108)

This method indicates whether this implementation supports

AuthorizationManager methods: createAuthorization, createDatedAuthorization, createQualifier, createRootQualifier, deleteAuthorization, deleteQualifier, getFunctionTypes, getQualifier, getQualifierChildren, getQualifierDescendents, getQualifierHierarchies, getQualifierTypes, getRootQualifiers, getWhoCanDo. Function methods: getDescription, getDisplayName, getFunctionType, getId, getQualifierHierarchy. Qualifier methods: addParent, changeParent, getChildren, getDescription, getDisplayName, isParent, getId, getParents, getQualifierType, isChildOf, isDescendentOf, removeParent, updateDescription, updateDisplayName.

  • access: public
  • throws: object AuthorizationException An exception with one of the following messages defined in org.osid.authorization.AuthorizationException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
boolean supportsMaintenance ()

Redefined in descendants as:

Inherited Methods

Inherited From OsidManager

OsidManager::assignConfiguration()
OsidManager::assignOsidContext()
OsidManager::getOsidContext()
OsidManager::osidVersion_2_0()

Documentation generated on Wed, 19 Sep 2007 10:21:41 -0400 by phpDocumentor 1.3.0RC3