|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.idm.IdOperation
public class IdOperation
The class IdOperation
defines the types of operations
supported on managed identities, and provides static constants for these
operation. Currently defined operations on objects are
IdOperation.READ
,
IdOperation.EDIT
,
IdOperation.CREATE
,
IdOperation.DELETE
and IdOperation.SERVICE
.
The usage of the respective operations are defined along with their
declaration.
Field Summary | |
---|---|
static IdOperation |
CREATE
The CREATE operation is supported only for the plugins
configured for creating identities. |
static IdOperation |
DELETE
The DELETE operation is supported only for the plugins
configured for creating identities. |
static IdOperation |
EDIT
The EDIT operation is supported only for the plugins
configured for modifying and deleting attributes from the supported
identities. |
static IdOperation |
READ
The READ operation is supported by default for all
supported identities for all the plugins. |
static IdOperation |
SERVICE
The SERVICE operation is supported only for service
related functions on an identity. |
Constructor Summary | |
---|---|
IdOperation(String operation)
Constructs an IdOperation of type string |
Method Summary | |
---|---|
boolean |
equals(Object opObject)
The equals method compares the current IdOperation with
the IdOperation passed in and returns true if the operations are same. |
String |
getName()
The getName method returns the name of the IdOperation
in string representaion. |
int |
hashCode()
Returns the hash code of the object |
String |
toString()
The toString method returns the same representation of
the current IdOperation. |
Field Detail |
---|
public static final IdOperation READ
READ
operation is supported by default for all
supported identities for all the plugins. This operation means that the
IdRepo SPI
for the configured plugins related to reading
identity attributes will be invoked.
public static final IdOperation EDIT
EDIT
operation is supported only for the plugins
configured for modifying and deleting attributes from the supported
identities. This means that the IdRepo SPI
for the
configured plugins will be called for all modify attribute operations.
public static final IdOperation CREATE
CREATE
operation is supported only for the plugins
configured for creating identities. Not all the configured identities for
a given IdRepo plugin
might be supported. It is possible
that a plugin might support read operations on all IdType
but create operations only on the IdType.USER
. In this
case the create operation for that plugin is only called for user
identities.
public static final IdOperation DELETE
DELETE
operation is supported only for the plugins
configured for creating identities. Not all the configured identities for
a given IdRepo plugin
might be supported. It is possible
that a plugin might support read operations on all IdType
but create or delete operations only on the IdType.USER
.
In this case the delete operation for that plugin is only called for user
identities.
public static final IdOperation SERVICE
SERVICE
operation is supported only for service
related functions on an identity. Not all the configured identities for a
plugin might support services for all identities. It is possible that
service operations are supported only for one identity type for a plugin,
say IdType.USER
. In this case, all service related
operations like assignService, unassignService, modifyService etc. are
only called for user objects for that plugin.
Constructor Detail |
---|
public IdOperation(String operation)
Method Detail |
---|
public boolean equals(Object opObject)
equals
method compares the current IdOperation with
the IdOperation passed in and returns true if the operations are same.
it will return false if the operations are different.
equals
in class Object
opObject
- an IdOperation
true
if name opObject is same
else false
public String toString()
toString
method returns the same representation of
the current IdOperation. The string returned is preceeded by the
the substring "Operation: ". For example: if the current IdOperation
is "CREATE" toString will return "Operation: create".
toString
in class Object
public int hashCode()
hashCode
in class Object
public String getName()
getName
method returns the name of the IdOperation
in string representaion. For example if the current IdOperation
is "CREATE" getName will return "create".
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |