You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by vk...@apache.org on 2008/10/01 12:32:06 UTC

svn commit: r700731 - /portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java

Author: vkumar
Date: Wed Oct  1 03:32:05 2008
New Revision: 700731

URL: http://svn.apache.org/viewvc?rev=700731&view=rev
Log:
Adding new methods for creating new Entities in LDAP

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java?rev=700731&r1=700730&r2=700731&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java (original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/SecurityEntityManager.java Wed Oct  1 03:32:05 2008
@@ -37,16 +37,20 @@
 
     Collection<Entity> getAllEntities(String entityType);
 
-    void update(Entity entity);
-
-    Collection<Entity> getRelatedEntitiesFrom(Entity fromEntity, SecurityEntityRelationType relationType);
-
-    Collection<Entity> getRelatedEntitiesTo(Entity toEntity, SecurityEntityRelationType relationType);
-
+    void addEnity(Entity entity);
+    
+    void removeEnity(Entity entity);
+    
+    void updateEnity(Entity entity);
+    
     void addRelation(Entity fromEntity, Entity toEntity, SecurityEntityRelationType relationType);
     
     void removeRelation(Entity fromEntity, Entity toEntity, SecurityEntityRelationType relationType);
 
+    Collection<Entity> getRelatedEntitiesFrom(Entity fromEntity, SecurityEntityRelationType relationType);
+
+    Collection<Entity> getRelatedEntitiesTo(Entity toEntity, SecurityEntityRelationType relationType);    
+
     EntityFactory getEntityFactory(String entityType);
     
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org