|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
String[] |
getAttributeValues(EbiContext context,
String attrName)
Gets user attribute values by a specified attribute name. |
byte[] |
getBlobAttributeContent(EbiContext context,
String attrname)
Gets a user blob attribute content. |
String |
getUserAuthenticatedRealmName()
Gets User's authenticated realm name. |
Collection |
getUserBlobAttrInfoList()
Deprecated. this method is not supported by the new jndi persistence provider |
String |
getUserEmailAddress()
Gets User's email address. |
Collection |
getUserExtendedInfoList()
Deprecated. this method is not supported by the new jndi persistence provider |
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(EbiContext context,
String attrName,
String attrvalue)
Remove user attribute value that matches the specified value. |
void |
removeAttributeValue(String attrName)
Deprecated. |
void |
removeAttributeValues(EbiContext context,
String attrName)
Remove all values for a specified user attribute. |
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(EbiContext context,
String attrName,
String oldValue,
String newValue)
Sets an attribute value for a specified user attribute. |
void |
setAttributeValue(String attrName,
String attrValue)
Deprecated. |
void |
setAttributeValues(EbiContext context,
String attrName,
String[] values)
Sets attribute values for a specified user attribute. |
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 |
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 |
public static final String EL_FW_USER
Method Detail |
public String getUserUUID()
public void setUserUUID(String IID)
user
- UUID.public String getUserID()
public void setUserID(String userID)
userID
- a user id.public String getUserFirstName()
public void setUserFirstName(String firstName)
firstName
- user's first name.public String getUserLastName()
public void setUserLastName(String lastName)
lastName
- user's last name.public String getUserEmailAddress()
public void setUserEmailAddress(String emailAddress)
emailAddress
- user's email address.public String getUserAuthenticatedRealmName()
public void setUserAuthenticatedRealmName(String realmName)
realmName
- name of user's authenticated realm.public String getAttributeValue(String attrName)
attrName
- the name of a specified user attribute.public String getAttributeValue(EbiContext context, String attrname) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.attrName
- the name of a specified user attribute.public String[] getAttributeValues(EbiContext context, String attrName) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.attrName
- the name of a specified user attribute.public void setAttributeValue(String attrName, String attrValue)
attrName
- the name of a specified user attribute.attrValue
- the value of the specified attribute.public void setAttributeValue(EbiContext context, String attrName, String attrValue) throws EboUnrecoverableSystemException, EboSecurityException
Make sure that a user uuid is already generated for this instance. If not, you need to call setUserUUID(null), which will generate a user uuid for you. Or, if you want to provide an uuid for this instance, you may call setUserUUID(uuid).
context
- an EbiContext object.attrName
- the name of a specified user attribute.attrValue
- the value of the specified attribute.public void setAttributeValue(EbiContext context, String attrName, String oldValue, String newValue) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.attrName
- the name of a specified user attribute.oldValue
- the old value to be replaced.newValue
- the new value.public void setAttributeValues(EbiContext context, String attrName, String[] values) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.attrName
- the name of a specified user attribute.values
- new values that replace the old ones.public void removeAttributeValue(String attrName)
attrName
- the name of the attribute that needs to be removed.public void removeAttributeValue(EbiContext context, String attrName) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext objectattrName
- the name of the attribute that needs to be removed.public void removeAttributeValue(EbiContext context, String attrName, String attrvalue) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext objectattrName
- the name of the attribute that needs to be removed.attrValue
- the value specified needs to be removedpublic void removeAttributeValues(EbiContext context, String attrName) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext objectattrName
- the name of the attribute that needs to be removed.public byte[] getBlobAttributeContent(EbiContext context, String attrname) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.attrname
- a blob attribute name.public void setBlobAttributeContent(EbiContext context, String attrname, byte[] content) throws EboUnrecoverableSystemException, EboSecurityException
Make sure that a user uuid is already generated for this instance. If not, you need to call setUserUUID(null), which will generate a user uuid for you. Or, if you want to provide an uuid for this instance, you may call setUserUUID(uuid).
attrname
- a user blob attribute name.content
- the content of the blob attribute.public void removeBlobAttributeContent(EbiContext context, String attrname) throws EboUnrecoverableSystemException, EboSecurityException
attrname
- the name of the attribute that needs to be removed.public Collection getUserExtendedInfoList()
this method is not supported by the new jndi persistence provider
public Collection getUserBlobAttrInfoList()
this method is not supported by the new jndi persistence provider
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |