Author: anil.saldhana(a)jboss.com
Date: 2008-08-30 07:18:48 -0400 (Sat, 30 Aug 2008)
New Revision: 46
Modified:
trunk/identity-impl/src/test/java/org/jboss/test/identity/impl/portal/PortalIdentityStore.java
Log:
fix code
Modified:
trunk/identity-impl/src/test/java/org/jboss/test/identity/impl/portal/PortalIdentityStore.java
===================================================================
---
trunk/identity-impl/src/test/java/org/jboss/test/identity/impl/portal/PortalIdentityStore.java 2008-08-30
11:01:55 UTC (rev 45)
+++
trunk/identity-impl/src/test/java/org/jboss/test/identity/impl/portal/PortalIdentityStore.java 2008-08-30
11:18:48 UTC (rev 46)
@@ -21,6 +21,7 @@
*/
package org.jboss.test.identity.impl.portal;
+import java.io.IOException;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
@@ -30,6 +31,7 @@
import org.jboss.identity.api.store.IdentityStore;
import org.jboss.identity.model.Identity;
import org.jboss.identity.model.IdentityType;
+import org.jboss.identity.model.groups.Group;
import org.jboss.identity.model.relation.RelationshipType;
/**
@@ -48,89 +50,109 @@
return null;
}
- public void createRelationship(Identity fromIdentity, Identity toIdentity,
RelationshipType relationshipType)
- throws IdentityException
+ public Identity findIdentity(String name) throws IdentityException
{
+ return null;
}
- public Collection<Identity> findIdentities(IdentityType identityType, int
offset, int limit,
- String orderedByAttributeName, boolean ascending) throws IdentityException
+ public Identity findIdentity(Object id) throws IdentityException
{
return null;
}
- public Collection<Identity> findIdentities(IdentityType identityType,
Map<String, String[]> attributes, int offset,
- int limit, String orderedByAttributeName, boolean ascending) throws
IdentityException
+ public Map<String, String[]> getAttributes(Identity identity) throws
IdentityException
{
return null;
}
- public Collection<Identity> findIdentities(Identity identity, RelationshipType
relationshipType, boolean parent,
- int offset, int limit, String orderedByAttributeName, boolean ascending) throws
IdentityException
+ public String getId()
{
+
return null;
}
- public Identity findIdentity(String name) throws IdentityException
+ public FeaturesDescription getSupportedFeatures()
{
return null;
}
- public Identity findIdentity(Object id) throws IdentityException
+ public void removeAttributes(Identity identity, Set<String> attributes) throws
IdentityException
{
- return null;
}
- public Map<String, String[]> getAttributes(Identity identity) throws
IdentityException
+ public void removeIdentity(Identity identity) throws IdentityException
{
- return null;
}
+
+ public void removeRelationships(Identity identity1, Identity identity2) throws
IdentityException
+ {
+ }
- public String getId()
+ public Set<RelationshipType> resolveRelationships(Identity fromIdentity,
Identity toIdentity)
+ throws IdentityException
{
-
return null;
}
- public int getIdentitiesCount(IdentityType identityType) throws IdentityException
- {
- return 0;
+ public void updateAttributes(Identity identity, Map<String, String[]>
attributes) throws IdentityException
+ {
}
- public Set<String> getSupportedAttributeNames(IdentityType identityType) throws
IdentityException
- {
+ public void bootstrap() throws IOException
+ {
+ }
+
+ public Group createGroup(String groupName) throws IdentityException
+ {
return null;
}
- public FeaturesDescription getSupportedFeatures()
+ public <R extends RelationshipType> void createRelationship(Identity
fromIdentity, Identity toIdentity,
+ R relationshipType) throws IdentityException
{
+ }
+
+ public Group findGroup(String groupName)
+ {
return null;
}
- public void removeAttributes(Identity identity, Set<String> attributes) throws
IdentityException
+ public <T extends IdentityType> Collection<Identity> findIdentities(T
identityType, int offset, int limit,
+ String orderedByAttributeName, boolean ascending) throws IdentityException
{
+ return null;
}
- public void removeIdentity(Identity identity) throws IdentityException
+ public <T extends IdentityType> Collection<Identity> findIdentities(T
identityType,
+ Map<String, String[]> attributes, int offset, int limit, String
orderedByAttributeName, boolean ascending)
+ throws IdentityException
{
+ return null;
}
- public void removeRelationship(Identity fromIdentity, Identity toIdentity,
RelationshipType relationshipType)
+ public <R extends RelationshipType> Collection<Identity>
findIdentities(Identity identity, R relationshipType,
+ boolean parent, int offset, int limit, String orderedByAttributeName, boolean
ascending)
throws IdentityException
{
+ return null;
}
- public void removeRelationships(Identity identity1, Identity identity2) throws
IdentityException
+ public <T extends IdentityType> int getIdentitiesCount(T identityType) throws
IdentityException
{
+ return 0;
}
- public Set<RelationshipType> resolveRelationships(Identity fromIdentity,
Identity toIdentity)
- throws IdentityException
+ public <T extends IdentityType> Set<String> getSupportedAttributeNames(T
identityType) throws IdentityException
{
return null;
}
- public void updateAttributes(Identity identity, Map<String, String[]>
attributes) throws IdentityException
- {
+ public void removeGroup(Group group) throws IdentityException
+ {
}
+
+ public <R extends RelationshipType> void removeRelationship(Identity
fromIdentity, Identity toIdentity,
+ R relationshipType) throws IdentityException
+ {
+ }
}
\ No newline at end of file