SilverStream eXtend
Director 4.0

com.sssw.fw.usermgr.api
Interface EbiUserInfo

All Superinterfaces:
Cloneable, EbiElement, EbiFrameworkElement, Serializable

public interface EbiUserInfo
extends EbiFrameworkElement

This provides an interface to the User Info object which contains user information from user registration (mainly for Internet users).


Field Summary
static String EL_FW_USER
          User element type
 
Method Summary
 String getAttributeValue(EbiContext context, String attrname)
          Gets user attribute by specified attribute name
 String getAttributeValue(String attrName)
          Deprecated.  
 byte[] getBlobAttributeContent(EbiContext context, String attrname)
          Gets a user blob attribute content.
 String getUserAuthenticatedRealmName()
          Gets User's authenticated realm name.
 Collection getUserBlobAttrInfoList()
          Get the user blob attribute list.
 String getUserDefaultGroupProfileName()
          Deprecated.  
 String getUserDefaultProfileName()
          Deprecated.  
 String getUserEmailAddress()
          Gets User's email address.
 Collection getUserExtendedInfoList()
          Get the user extended attributes list.
 String getUserFirstName()
          Gets User's first name.
 String getUserID()
          Gets User Identifier.
 String getUserLastName()
          Gets User's last name.
 String getUserUUID()
          Gets User UUID.
 void removeAttributeValue(EbiContext context, String attrName)
          Remove user attribute.
 void removeAttributeValue(String attrName)
          Deprecated.  
 void removeBlobAttributeContent(EbiContext context, String attrname)
          Remove a user blob attribute content.
 void setAttributeValue(EbiContext context, String attrName, String attrValue)
          Sets user's attribute value.
 void setAttributeValue(String attrName, String attrValue)
          Deprecated.  
 void setBlobAttributeContent(EbiContext context, String attrname, byte[] content)
          Sets a user blob attribute content.
 void setUserAuthenticatedRealmName(String realmName)
          Sets User's authenticated realm name.
 void setUserDefaultGroupProfileName(String groupProfileName)
          Deprecated.  
 void setUserDefaultProfileName(String profileName)
          Deprecated.  
 void setUserEmailAddress(String emailAddress)
          Sets the user's email address.
 void setUserFirstName(String firstName)
          Sets the user's first name.
 void setUserID(String userID)
          Sets a user identifier.
 void setUserLastName(String lastName)
          Sets the user's last name.
 void setUserUUID(String IID)
          Set User UUID.
 
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement
getElementUUID, getLastModified, getLastModifiedBy, isEqualTo, isReadOnly, resetReadOnly, setLastModified, setLastModifiedBy, setReadOnly
 
Methods implemented from interface com.sssw.fw.api.EbiElement
getType
 

Field Detail

EL_FW_USER

public static final String EL_FW_USER
User element type
Method Detail

getUserUUID

public String getUserUUID()
Gets User UUID.
Returns:
the user UUID.

setUserUUID

public void setUserUUID(String IID)
Set User UUID.
Parameters:
user - UUID.

getUserID

public String getUserID()
Gets User Identifier.
Returns:
a User Identifier String.

setUserID

public void setUserID(String userID)
Sets a user identifier.
Parameters:
userID - a user id.

getUserFirstName

public String getUserFirstName()
Gets User's first name.
Returns:
user's first name.

setUserFirstName

public void setUserFirstName(String firstName)
Sets the user's first name.
Parameters:
firstName - user's first name.

getUserLastName

public String getUserLastName()
Gets User's last name.
Returns:
user's last name.

setUserLastName

public void setUserLastName(String lastName)
Sets the user's last name.
Parameters:
lastName - user's last name.

getUserEmailAddress

public String getUserEmailAddress()
Gets User's email address.
Returns:
user's email address.

setUserEmailAddress

public void setUserEmailAddress(String emailAddress)
Sets the user's email address.
Parameters:
emailAddress - user's email address.

getUserDefaultProfileName

public String getUserDefaultProfileName()
Deprecated.  

Gets user's default profile name.
Returns:
User's default profile name.

setUserDefaultProfileName

public void setUserDefaultProfileName(String profileName)
Deprecated.  

Sets User's default profile name.
Parameters:
profileMame - name of user's default profile.

getUserDefaultGroupProfileName

public String getUserDefaultGroupProfileName()
Deprecated.  

Gets user's default group profile name.
Returns:
User's default group profile name.

setUserDefaultGroupProfileName

public void setUserDefaultGroupProfileName(String groupProfileName)
Deprecated.  

Sets user's default group profile name.
Parameters:
groupProfileMame - Name of user's default group profile.

getUserAuthenticatedRealmName

public String getUserAuthenticatedRealmName()
Gets User's authenticated realm name.
Returns:
user's authenticated realm name.

setUserAuthenticatedRealmName

public void setUserAuthenticatedRealmName(String realmName)
Sets User's authenticated realm name.
Parameters:
realmName - name of user's authenticated realm.

getAttributeValue

public String getAttributeValue(String attrName)
Deprecated.  

Gets user attribute by specified attribute name
Parameters:
attrName - the name of a specified user attribute.
Returns:
user's attribute value for the specified attribute.

getAttributeValue

public String getAttributeValue(EbiContext context,
                                String attrname)
                         throws EboUnrecoverableSystemException,
                                EboSecurityException
Gets user attribute by specified attribute name
Parameters:
context - an EbiContext object.
attrName - the name of a specified user attribute.
Returns:
user's attribute value for the specified attribute.

setAttributeValue

public void setAttributeValue(String attrName,
                              String attrValue)
Deprecated.  

Sets user's attribute value.
Parameters:
attrName - the name of a specified user attribute.
attrValue - the value of the specified attribute.

setAttributeValue

public void setAttributeValue(EbiContext context,
                              String attrName,
                              String attrValue)
                       throws EboUnrecoverableSystemException,
                              EboSecurityException
Sets user's attribute value.
Parameters:
context - an EbiContext object.
attrName - the name of a specified user attribute.
attrValue - the value of the specified attribute.

removeAttributeValue

public void removeAttributeValue(String attrName)
Deprecated.  

Remove user attribute.
Parameters:
attrName - the name of the attribute that needs to be removed.

removeAttributeValue

public void removeAttributeValue(EbiContext context,
                                 String attrName)
                          throws EboUnrecoverableSystemException,
                                 EboSecurityException
Remove user attribute.
Parameters:
context - an EbiContext object
attrName - the name of the attribute that needs to be removed.

getBlobAttributeContent

public byte[] getBlobAttributeContent(EbiContext context,
                                      String attrname)
                               throws EboUnrecoverableSystemException,
                                      EboSecurityException
Gets a user blob attribute content.
Parameters:
context - an EbiContext object.
attrname - a blob attribute name.
Returns:
content for the specified user blob attribute.

setBlobAttributeContent

public void setBlobAttributeContent(EbiContext context,
                                    String attrname,
                                    byte[] content)
                             throws EboUnrecoverableSystemException,
                                    EboSecurityException
Sets a user blob attribute content.
Parameters:
attrname - a user blob attribute name.
content - the content of the blob attribute.
Returns:
true if the content for the blob attribute is stored successfully, false otherwise.

removeBlobAttributeContent

public void removeBlobAttributeContent(EbiContext context,
                                       String attrname)
                                throws EboUnrecoverableSystemException,
                                       EboSecurityException
Remove a user blob attribute content.
Parameters:
attrname - the name of the attribute that needs to be removed.

getUserExtendedInfoList

public Collection getUserExtendedInfoList()
Get the user extended attributes list.
Returns:
an array of EbiUserExtInfo objects.

getUserBlobAttrInfoList

public Collection getUserBlobAttrInfoList()
Get the user blob attribute list.
Returns:
an array of EbiUserBlobAttrInfo objects.

SilverStream eXtend
Director 4.0