Interface RelationServiceMBean

All Known Implementing Classes:
RelationService

public interface RelationServiceMBean
The Relation Service is in charge of creating and deleting relation types and relations, of handling the consistency and of providing query mechanisms.
Since:
1.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRelation(ObjectName relationObjectName)
    Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
    void
    addRelationType(RelationType relationTypeObj)
    Adds given object as a relation type.
    checkRoleReading(String roleName, String relationTypeName)
    Checks if given Role can be read in a relation of the given type.
    checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)
    Checks if given Role can be set in a relation of given type.
    void
    createRelation(String relationId, String relationTypeName, RoleList roleList)
    Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.
    void