|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--portlets.compoze.groupware.Account
This class represents a user account.
| Method Summary | |
void |
delete(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
Deletes this account. |
boolean |
equals(java.lang.Object o)
Checks for equality. |
ConnectionPropertyValue[] |
getConnectionPropertyValues()
Gets the connection property values. |
ConnectionPropertyValue[] |
getConnectionPropertyValues(javax.servlet.http.HttpSession s,
com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
Gets the connection property values. |
java.lang.String |
getID()
Gets the account ID. |
java.lang.String |
getName()
Gets the account name. |
portlets.compoze.groupware.controls.provider.Provider |
getProvider()
Gets the provider. |
portlets.compoze.groupware.controls.provider.ProviderSession |
getProviderSession()
Gets the provider session. |
boolean |
isConnectedToProvider()
Gets true if this account was connected to the provider during provider session creation or false otherwise. |
boolean |
isDefault()
Checks if the account is the default account. |
void |
setConnectionPropertyValues(javax.servlet.http.HttpSession s,
com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
ConnectionPropertyValue[] values)
Sets the connection property values. |
void |
setDefault(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
Sets the account as the default account. |
void |
setIsConnectedToProvider(boolean bConnectedToProvider)
Sets true if this account was connected to the provider during provider session creation or false otherwise. |
void |
setName(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
java.lang.String sName)
Sets the account name. |
void |
setProviderSession(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
portlets.compoze.groupware.controls.provider.ProviderSession providerSession)
Sets the provider session. |
java.lang.String |
toString()
Returns the string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String getName()
public portlets.compoze.groupware.controls.provider.Provider getProvider()
public void setProviderSession(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
portlets.compoze.groupware.controls.provider.ProviderSession providerSession)
userProfileWrapper - the user profile wrapperproviderSession - the provider sessionpublic portlets.compoze.groupware.controls.provider.ProviderSession getProviderSession()
null if not available
public void setName(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
java.lang.String sName)
throws GroupwareException
userProfileWrapper - the user profile (may not be null)sName - the account namepublic java.lang.String getID()
public boolean isDefault()
true for default account; false otherwise
public void setDefault(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
throws GroupwareException
userProfileWrapper - the user profile (may not be null)
public void delete(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
throws GroupwareException
userProfileWrapper - the user profile (may not be null)
public void setConnectionPropertyValues(javax.servlet.http.HttpSession s,
com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
ConnectionPropertyValue[] values)
throws GroupwareException
s - the http session (may not be null)userProfileWrapper - the user profile (may not be null)values - the connection property values
public ConnectionPropertyValue[] getConnectionPropertyValues()
throws GroupwareException
null if values not initializedgetConnectionPropertyValues(HttpSession s, ProfileWrapper userProfileWrapper)
public ConnectionPropertyValue[] getConnectionPropertyValues(javax.servlet.http.HttpSession s,
com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
throws GroupwareException
s - the http session (may not be null)userProfileWrapper - the user profile (may not be null)public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to checktrue if this object has the same id as the argument; false otherwisegetID()public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isConnectedToProvider()
true if this account was connected to the provider during provider session creation or false otherwisepublic void setIsConnectedToProvider(boolean bConnectedToProvider)
bConnectedToProvider - true if this account was connected to the provider during provider session creation or false otherwise
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||