Lines Matching defs:role

92      * role infos (provided by the RoleInfo objects), and adds it in the
96 * @param roleInfoArray array of role infos
101 * <P>- the same name has been used for two different role infos
102 * <P>- no role info provided
103 * <P>- one null role info provided
135 * Retrieves list of role infos (RoleInfo objects) of a given relation
151 * Retrieves role info for given role of a given relation type.
154 * @param roleInfoName name of role
161 * @exception RoleInfoNotFoundException if the role is not part of the
195 * <P>Roles are initialized according to the role list provided in
204 * @param roleList role list to initialize roles of the relation (can
210 * @exception RoleNotFoundException if a value is provided for a role
216 * <P>- the same role name is used for two different roles
222 * class expected for that role
223 * <P>- an MBean provided for that role does not exist
246 * <P>- have roles conforming to the role info provided in the relation
270 * <P>- the number of referenced MBeans in a role is less than
272 * <P>- the number of referenced MBeans in a role exceeds expected
275 * class expected for that role
276 * <P>- an MBean provided for a role does not exist
277 * @exception RoleNotFoundException if a value is provided for a role
347 * @param roleName name of role to be checked
352 * <P>- 0 if role can be read
368 * @param role role to be checked
371 * initialization of a role, write access shall not be verified.
375 * <P>- 0 if role can be set
386 public Integer checkRoleWriting(Role role,
414 * Sends a notification (RelationNotification) for a role update in the
421 * <P>It is called in relation MBean setRole() (for given role) and
422 * setRoles() (for each role) methods (implementation provided in
424 * <P>It is also called in Relation Service setRole() (for given role) and
425 * setRoles() (for each role) methods.
428 * @param newRole new role (name and new value)
429 * @param oldRoleValue old role value (List of ObjectName objects)
465 * Handles update of the Relation Service role map for the update of given
466 * role in given relation.
467 * <P>It is called in relation MBean setRole() (for given role) and
468 * setRoles() (for each role) methods (implementation provided in
470 * <P>It is also called in Relation Service setRole() (for given role) and
471 * setRoles() (for each role) methods.
474 * must be called when a role is updated.
477 * @param newRole new role (name and new value)
478 * @param oldRoleValue old role value (List of ObjectName objects)
529 * <P>The behavior depends on the cardinality of the role where the
531 * <P>- if removing one MBean reference in the role makes its number of
553 * where the MBean is referenced in that role will be returned. Else all
558 * an ArrayList of role names (as an MBean can be referenced in several
578 * where the MBean is referenced in that role will be considered. Else all
611 * Retrieves role value for given role name in given relation.
614 * @param roleName name of role
616 * @return the ArrayList of ObjectName objects being the role value
623 * <P>- there is no role with given name
625 * <P>- the role is not readable.
680 * given role.
683 * @param roleName name of role
685 * @return the number of currently referenced MBeans in that role
689 * @exception RoleNotFoundException if there is no role with given name
698 * Sets the given role in given relation.
699 * <P>Will check the role according to its corresponding role definition
705 * @param role role to be set (name and new value)
714 * <P>- the role does not exist or is not writable
716 * provided for role is not valid:
724 * class expected for that role
726 * <P>- an MBean provided for that role does not exist
732 Role role)
742 * <P>Will check the role according to its corresponding role definition
773 * <P> ObjectName -> ArrayList of String (role