Author: bdaw
Date: 2008-09-10 11:31:49 -0400 (Wed, 10 Sep 2008)
New Revision: 70
Removed:
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/RelationshipManager.java
Log:
- All methods from RelationshipManager are moved into Session now
Deleted:
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/RelationshipManager.java
===================================================================
---
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/RelationshipManager.java 2008-09-10
11:36:33 UTC (rev 69)
+++
trunk/identity-api/src/main/java/org/jboss/identity/api/managers/RelationshipManager.java 2008-09-10
15:31:49 UTC (rev 70)
@@ -1,181 +0,0 @@
-///*
-// * JBoss, Home of Professional Open Source.
-// * Copyright 2008, Red Hat Middleware LLC, and individual contributors
-// * as indicated by the @author tags. See the copyright.txt file in the
-// * distribution for a full listing of individual contributors.
-// *
-// * This is free software; you can redistribute it and/or modify it
-// * under the terms of the GNU Lesser General Public License as
-// * published by the Free Software Foundation; either version 2.1 of
-// * the License, or (at your option) any later version.
-// *
-// * This software is distributed in the hope that it will be useful,
-// * but WITHOUT ANY WARRANTY; without even the implied warranty of
-// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// * Lesser General Public License for more details.
-// *
-// * You should have received a copy of the GNU Lesser General Public
-// * License along with this software; if not, write to the Free
-// * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-// * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
-// */
-//package org.jboss.identity.api.managers;
-//
-//import java.util.List;
-//import java.util.Set;
-//
-//import org.jboss.identity.api.exception.PersistenceManagerNotFoundException;
-//import org.jboss.identity.api.exception.SessionNotOpenException;
-//import org.jboss.identity.model.Identity;
-//import org.jboss.identity.model.roles.Role;
-//import org.jboss.identity.model.groups.Group;
-//import org.jboss.identity.model.relation.RelationshipType;
-//
-///**
-// * <p>Manages the relationships between
-// * roles, groups and identities within a realm</p>
-// * @author Anil.Saldhana(a)redhat.com
-// * @author boleslaw dot dawidowicz at redhat anotherdot com
-// * @since Jul 10, 2008
-// */
-//public interface RelationshipManager
-//{
-// /**
-// * <p>Associate a relationship between two groups</p>
-// * @param groupA
-// * @param groupB
-// * @param relationshipType
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void associate(Group groupA, Group groupB, RelationshipType relationshipType)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * Associate a relationship between one group and a list of other groups
-// * @param groupA
-// * @param groupB a list of groups which are related to groupA
-// * @param relationshipType
-// * @throws PersistenceManagerNotFoundException
-// * @throws SessionNotOpenException
-// */
-// void associate(Group groupA, List<Group> groupB, RelationshipType
relationshipType)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-//
-//
-// /**
-// * <p>Associate a role with an Identity</p>
-// * @param identity
-// * @param aRole
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void associate(Identity identity, Role aRole)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Associate a list of roles with an Identity</p>
-// * @param identity
-// * @param aRoleList
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void associate(Identity identity, List<Role> aRoleList)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Associate a group with an identity</p>
-// * @param identity
-// * @param aGroup
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void associate(Identity identity, Group aGroup)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Associate a set of groups with an identity</p>
-// * @param identity
-// * @param aGroupSet
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void associate(Identity identity, Set<Group> aGroupSet)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Disassociate a relationship between two groups</p>
-// * @param groupA
-// * @param groupB
-// * @param relationshipType
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void disassociate(Group groupA, Group groupB, RelationshipType relationshipType)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * Disassociate a relationship between one group and a list of other groups
-// * @param groupA
-// * @param groupB
-// * @param relationshipType
-// * @throws PersistenceManagerNotFoundException
-// * @throws SessionNotOpenException
-// */
-// void disassociate(Group groupA, List<Group> groupB, RelationshipType
relationshipType)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-//
-//
-// /**
-// * <p>Disassociate a role with an Identity</p>
-// * @param identity
-// * @param aRole
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void disassociate(Identity identity, Role aRole)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Disassociate a list of roles with an Identity</p>
-// * @param identity
-// * @param aRoleList
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void disassociate(Identity identity, List<Role> aRoleList)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Disassociate a group with an identity</p>
-// * @param identity
-// * @param aGroup
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void disassociate(Identity identity, Group aGroup)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * <p>Disassociate a set of groups with an identity</p>
-// * @param identity
-// * @param aGroupSet
-// * @throws PersistenceManagerNotFoundException PM not set
-// * @throws SessionNotOpenException session is not open
-// */
-// void disassociate(Identity identity, Set<Group> aGroupSet)
-// throws PersistenceManagerNotFoundException,SessionNotOpenException;
-//
-// /**
-// * @param fromGroup
-// * @param toGroup
-// * @return returns a relationship type between this and given group.
-// */
-// RelationshipType getRelationship(Group fromGroup, Group toGroup);
-//
-//
-//
-//
-//}
\ No newline at end of file