Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


oracle.tip.pc.services.identity
Class Principal

java.lang.Object
  extended byoracle.tip.pc.services.identity.Principal

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Identity

public class Principal
extends java.lang.Object
implements java.io.Serializable

Principal class defines BPEL Process Manager Principal for RemoteIdentityService inteface

See Also:
Serialized Form

Constructor Summary
Principal()
          Constructor
Principal(BPMPrincipal bpmPrincipal)
          Constructor
Principal(oracle.security.jazn.realm.RealmPrincipal realmPrincipal)
          Constructor

 

Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 java.lang.Object getAttribute(java.lang.String attrName)
          Gets BPMPrincipal attribute
 java.lang.String getDescription()
          Gets BPMPrincipal description
 java.lang.String getDisplayName()
          Gets BPMPrincipal display name
 java.lang.String getFullName()
          Gets full BPMPrincipal name.
 java.lang.String getGuid()
          Gets a BPMPrincipal guid.
 java.lang.String getName()
          Gets BPMPrincipal name.
 void setAttribute(java.lang.String attrName, java.lang.Object value)
          Set Principal attribute
 void setDescription(java.lang.String description)
          Sets BPMPrincipal description
 void setDisplayName(java.lang.String displayName)
          Sets PBPMPrincipal display name
 void setFullName(java.lang.String name)
          Sets a BPMPrincipal name.
 void setGuid(java.lang.String guid)
          Sets BPMPrincipal guid.
 void setName(java.lang.String name)
          Sets a principal name.
 java.lang.String toString()
          Returns a string representation of the object.

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Principal

public Principal()
Constructor

Principal

public Principal(oracle.security.jazn.realm.RealmPrincipal realmPrincipal)
Constructor
Parameters:
realmPrincipal - is a RealmPrincipal object

Principal

public Principal(BPMPrincipal bpmPrincipal)
Constructor
Parameters:
bpmPrincipal - is a RealmPrincipal object

Method Detail

getName

public java.lang.String getName()
Gets BPMPrincipal name. Unique name in given realm.
Returns:
unique principal name in given realm

setName

public void setName(java.lang.String name)
Sets a principal name. Unique name in given realm.
Parameters:
name - is an unique principal name in given realm

getFullName

public java.lang.String getFullName()
Gets full BPMPrincipal name. Unique name in given realm.
Returns:
a full principal name in given realm

setFullName

public void setFullName(java.lang.String name)
Sets a BPMPrincipal name. Unique name in given realm.
Parameters:
name - is a full principal name in given realm

getGuid

public java.lang.String getGuid()
Gets a BPMPrincipal guid.
Returns:
guid for principal

setGuid

public void setGuid(java.lang.String guid)
Sets BPMPrincipal guid.

getDisplayName

public java.lang.String getDisplayName()
Gets BPMPrincipal display name
Returns:
display name of this Principal

setDisplayName

public void setDisplayName(java.lang.String displayName)
Sets PBPMPrincipal display name
Parameters:
displayName - is a display name of this Principal

getDescription

public java.lang.String getDescription()
Gets BPMPrincipal description
Returns:
discription of this Principal

setDescription

public void setDescription(java.lang.String description)
Sets BPMPrincipal description
Returns:
discription of this Principal

toString

public java.lang.String toString()
Returns a string representation of the object. Return string representation of the object.

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

getAttribute

public java.lang.Object getAttribute(java.lang.String attrName)
                              throws BPMUnsupportedAttributeException
Gets BPMPrincipal attribute
Parameters:
attrName - is a attribute name
Returns:
attribute value
Throws:
BPMUnsupportedAttributeException - if attribute is not supported

setAttribute

public void setAttribute(java.lang.String attrName,
                         java.lang.Object value)
                  throws BPMUnsupportedAttributeException
Set Principal attribute
Parameters:
attrName - an attribute name
value - a value to set to this attribute
Throws:
BPMUnsupportedAttributeException

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


Copyright © 2005, Oracle. All rights reserved.