Liferay 6.1.2-ce-ga3

com.liferay.portal.googleapps
Class GUserManagerImpl

java.lang.Object
  extended by com.liferay.portal.googleapps.GBaseManagerImpl
      extended by com.liferay.portal.googleapps.GUserManagerImpl
All Implemented Interfaces:
GUserManager

public class GUserManagerImpl
extends GBaseManagerImpl
implements GUserManager


Field Summary
protected  String userURL
           
 
Fields inherited from class com.liferay.portal.googleapps.GBaseManagerImpl
APPS_URL, googleApps
 
Constructor Summary
GUserManagerImpl(GoogleApps googleApps)
           
 
Method Summary
 void addGUser(long userId, String password, String firstName, String lastName)
           
 void deleteGUser(long userId)
           
protected  GUser getGUser(Element atomEntryElement)
           
 GUser getGUser(long userId)
           
 GUser getGUser(String emailAddress)
           
 List<GUser> getGUsers()
           
protected  void getGUsers(List<GUser> gUsers, String url)
           
protected  String getUserURL(long userId)
           
 void updateActive(long userId, boolean active)
           
 void updatePassword(long userId, String password)
           
 
Methods inherited from class com.liferay.portal.googleapps.GBaseManagerImpl
addAppsProperty, addAtomCategory, addAtomEntry, getAppsNamespace, getAppsQName, getAtomNamespace, getAtomQName, getCompanyId, getDocument, getErrorMessage, hasError, submitAdd, submitDelete, submitUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userURL

protected String userURL
Constructor Detail

GUserManagerImpl

public GUserManagerImpl(GoogleApps googleApps)
Method Detail

addGUser

public void addGUser(long userId,
                     String password,
                     String firstName,
                     String lastName)
              throws GoogleAppsException
Specified by:
addGUser in interface GUserManager
Throws:
GoogleAppsException

deleteGUser

public void deleteGUser(long userId)
                 throws GoogleAppsException
Specified by:
deleteGUser in interface GUserManager
Throws:
GoogleAppsException

getGUser

public GUser getGUser(long userId)
               throws GoogleAppsException
Specified by:
getGUser in interface GUserManager
Throws:
GoogleAppsException

getGUser

public GUser getGUser(String emailAddress)
               throws GoogleAppsException
Specified by:
getGUser in interface GUserManager
Throws:
GoogleAppsException

getGUsers

public List<GUser> getGUsers()
                      throws GoogleAppsException
Specified by:
getGUsers in interface GUserManager
Throws:
GoogleAppsException

updateActive

public void updateActive(long userId,
                         boolean active)
                  throws GoogleAppsException
Specified by:
updateActive in interface GUserManager
Throws:
GoogleAppsException

updatePassword

public void updatePassword(long userId,
                           String password)
                    throws GoogleAppsException
Specified by:
updatePassword in interface GUserManager
Throws:
GoogleAppsException

getGUser

protected GUser getGUser(Element atomEntryElement)

getGUsers

protected void getGUsers(List<GUser> gUsers,
                         String url)
                  throws GoogleAppsException
Throws:
GoogleAppsException

getUserURL

protected String getUserURL(long userId)

Liferay 6.1.2-ce-ga3