Compoze Software, Inc.

portlets.compoze.im
Class ImUtility


java.lang.Object

  |

  +--portlets.compoze.im.ImUtility

All Implemented Interfaces:
java.io.Serializable

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

This class contains utilities for Im.

See Also:
Serialized Form

Constructor Summary
ImUtility()
           
 
Method Summary
static boolean isAvailable(FeatureGroup featureGroup, com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
          Checks if Im is available.
static void testLogin(java.lang.String sUsername, java.lang.String sPassword, ImProvider provider)
          Tests login to the Im account.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImUtility


public ImUtility()
Method Detail

testLogin


public static void testLogin(java.lang.String sUsername,
                             java.lang.String sPassword,
                             ImProvider provider)
                      throws ImLoginException
Tests login to the Im account.
Parameters:
sUsername - the username
sPassword - the password
provider - the provider

isAvailable


public static boolean isAvailable(FeatureGroup featureGroup,
                                  com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
                           throws ImException
Checks if Im is available.
Parameters:
featureGroup - the feature group
userProfileWrapper - the user profile
Returns:
true if Im is available; false otherwise

Compoze Software, Inc.

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