Package com.sun.identity.entity
Interface EntityObjectIF
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
EntityObjectImpl
public interface EntityObjectIF extends Remote
JAX-RPC interface for Entity Object and Services to make it remotable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetcreateEntity(String ssoToken, String entityName, String entityType, String entityLocation, Map attributes)Creates entities.voiddeleteEntity(String ssoToken, String entityName, String entityType, String entityLocation)Deletes entities.MapgetEntity(String ssoToken, String entityName, String entityType, String entityLocation)Returns the entity object for each entity given the entityType and entityName(s) in that particular organization.SetgetEntityNames(String ssoToken, String entityType, String entityLocation, String entityFilter)Returns a set of Entity Names given the Entity Type for that particular organization.voidmodifyEntity(String ssoToken, String entityName, String entityType, String entityLocation, Map attributes)Sets or replaces attribute values with the new values supplied and Stores the changes to directory server.
-
-
-
Method Detail
-
createEntity
Set createEntity(String ssoToken, String entityName, String entityType, String entityLocation, Map attributes) throws EntityException, SSOException, RemoteException
Creates entities.- Parameters:
ssoToken- String representing user's SSO Token.entityName- Name of the entity.eg.cn=websphereAgententityType- Type of entity being created. eg. Agent The types supported by SDK are configured in the list of Managed Objects in theDAIservice.entityLocation- Location of the entity creation.eg.www.abc.comattributes- Map to represent Attribute-Value Pairs- Returns:
- Returns a set of Entity DNs created.
- Throws:
EntityException- if there is an internal error in the AM StoreSSOException- if the sign on is no longer validRemoteException
-
modifyEntity
void modifyEntity(String ssoToken, String entityName, String entityType, String entityLocation, Map attributes) throws EntityException, SSOException, RemoteException
Sets or replaces attribute values with the new values supplied and Stores the changes to directory server.- Parameters:
ssoToken- User's Single Sign On Token.entityName- Name of the entity. examplecn=websphereAgententityType- Type of entity being created. eg. Agent The types supported by SDK are configured in the list of Managed Objects in theDAIservice.entityLocation- Location of the entity creation. examplewww.abc.com- Throws:
EntityException- if there is an internal error in the AM Store.SSOException- if the sign on is no longer valid.RemoteException
-
deleteEntity
void deleteEntity(String ssoToken, String entityName, String entityType, String entityLocation) throws EntityException, SSOException, RemoteException
Deletes entities.- Parameters:
ssoToken- String representing user's SSO Token.entityName- Name of the entity.eg.cn=websphereAgententityType- Type of entity being created. eg. Agent The types supported by SDK are configured in the list of Managed Objects in theDAIservice.entityLocation- Location of the entity creation.eg.www.abc.com- Throws:
EntityException- if there is an internal error in the AM StoreSSOException- if the sign on is no longer validRemoteException
-
getEntity
Map getEntity(String ssoToken, String entityName, String entityType, String entityLocation) throws EntityException, SSOException, RemoteException
Returns the entity object for each entity given the entityType and entityName(s) in that particular organization.- Parameters:
ssoToken- String representing user's SSO Token.entityName- Name of the entity.eg.cn=websphereAgententityType- Type of entity being created. eg. Agent The types supported by SDK are configured in the list of Managed Objects in theDAIservice.entityLocation- Location of the entity creation.eg.www.abc.com- Returns:
- Returns a set of Entity objects.
- Throws:
EntityException- if there is an internal error in the AM StoreSSOException- if the sign on is no longer validRemoteException
-
getEntityNames
Set getEntityNames(String ssoToken, String entityType, String entityLocation, String entityFilter) throws EntityException, SSOException, RemoteException
Returns a set of Entity Names given the Entity Type for that particular organization.- Parameters:
ssoToken- String representing user's SSO Token.entityType- Type of entity being created. eg. Agent The types supported by SDK are configured in the list of Managed Objects in theDAIservice.entityLocation- Location of the entity creation.eg.www.abc.comentityFilter-- Returns:
- Set of Entity Names.
- Throws:
EntityException- if there is an internal error in the AM Store.SSOException- if the sign on is no longer valid.RemoteException
-
-