|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.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 availablepublic 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 name
GroupwareException
public java.lang.String getID()
public boolean isDefault()
true
for default account; false
otherwisepublic void setDefault(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper) throws GroupwareException
userProfileWrapper
- the user profile (may not be null
)
GroupwareException
public void delete(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper) throws GroupwareException
userProfileWrapper
- the user profile (may not be null
)
GroupwareException
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
GroupwareException
public ConnectionPropertyValue[] getConnectionPropertyValues() throws GroupwareException
null
if values not initialized
GroupwareException
getConnectionPropertyValues(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
)
GroupwareException
public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same id as the argument; false
otherwisegetID()
public java.lang.String toString()
public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |