com.liferay.portal.googleapps
Class GUserManagerImpl
java.lang.Object
com.liferay.portal.googleapps.GBaseManagerImpl
com.liferay.portal.googleapps.GUserManagerImpl
- All Implemented Interfaces:
- GUserManager
public class GUserManagerImpl
- extends GBaseManagerImpl
- implements GUserManager
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 |
userURL
protected String userURL
GUserManagerImpl
public GUserManagerImpl(GoogleApps googleApps)
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)