Compoze Software, Inc.

portlets.compoze.im
Class ImAccount


java.lang.Object

  |

  +--portlets.compoze.im.ImAccount

All Implemented Interfaces:
java.io.Serializable

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

This class represents an IM account.

See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTY_IM_ENABLED
           
 
Method Summary
 void delete(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
          Deletes the account.
static ImAccount getDefaultAccount(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
          Gets the default account.
 java.lang.String getID()
          Gets the ID.
 java.lang.String getPassword()
          Gets the password.
 ImProvider getProvider()
          Gets the provider.
 java.lang.String getUsername()
          Gets the username.
 boolean isInvisible()
          Checks the invisible flag.
 void setInvisible(boolean bInvisible)
          Sets the invisible flag.
 void setPassword(java.lang.String sPassword)
          Sets the password.
 void setProvider(ImProvider provider)
          Sets the provider.
 void setUsername(java.lang.String sUsername)
          Sets the username.
 void update(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
          Updates the account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_IM_ENABLED


public static final java.lang.String PROPERTY_IM_ENABLED
Method Detail

getDefaultAccount


public static ImAccount getDefaultAccount(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
                                   throws GroupwareException
Gets the default account.
Parameters:
userProfileWrapper - the user profile (may not be null)
Returns:
the default account

delete


public void delete(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
            throws GroupwareException
Deletes the account.
Parameters:
userProfileWrapper - the user profile (may not be null)

update


public void update(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
            throws GroupwareException
Updates the account.
Parameters:
userProfileWrapper - the user profile (may not be null)

getID


public java.lang.String getID()
Gets the ID.
Returns:
the ID

getUsername


public java.lang.String getUsername()
Gets the username.
Returns:
the username

setUsername


public void setUsername(java.lang.String sUsername)
Sets the username.
Parameters:
sUsername - the username

setProvider


public void setProvider(ImProvider provider)
Sets the provider.
Parameters:
provider - the provider (may not be null)

getProvider


public ImProvider getProvider()
Gets the provider.
Returns:
the provider

getPassword


public java.lang.String getPassword()
Gets the password.
Returns:
the password

setPassword


public void setPassword(java.lang.String sPassword)
Sets the password.
Parameters:
sPassword - the password

isInvisible


public boolean isInvisible()
Checks the invisible flag.
Returns:
true to sign-in as invisible; false otherwise

setInvisible


public void setInvisible(boolean bInvisible)
Sets the invisible flag.
Parameters:
bInvisible - true to sign-in as invisible; false otherwise

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.