Liferay 6.1.2-ce-ga3

com.liferay.portal.googleapps
Class GBaseManagerImpl

java.lang.Object
  extended by com.liferay.portal.googleapps.GBaseManagerImpl
Direct Known Subclasses:
GEmailSettingsManagerImpl, GGroupManagerImpl, GNicknameManagerImpl, GUserManagerImpl

public class GBaseManagerImpl
extends Object


Field Summary
static String APPS_URL
           
protected  GoogleApps googleApps
           
 
Constructor Summary
GBaseManagerImpl(GoogleApps googleApps)
           
 
Method Summary
protected  Element addAppsProperty(Element parentElement, String name, String value)
           
protected  Element addAtomCategory(Element parentElement, String type)
           
protected  Element addAtomEntry(Document document)
           
protected  Namespace getAppsNamespace()
           
protected  QName getAppsQName(String localName)
           
protected  Namespace getAtomNamespace()
           
protected  QName getAtomQName(String localName)
           
protected  long getCompanyId()
           
protected  Document getDocument(String url)
           
protected  String getErrorMessage(Document document)
           
protected  boolean hasError(Document document)
           
protected  void submitAdd(String url, Document document)
           
protected  void submitDelete(String url)
           
protected  void submitUpdate(String url, Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPS_URL

public static final String APPS_URL
See Also:
Constant Field Values

googleApps

protected GoogleApps googleApps
Constructor Detail

GBaseManagerImpl

public GBaseManagerImpl(GoogleApps googleApps)
Method Detail

addAppsProperty

protected Element addAppsProperty(Element parentElement,
                                  String name,
                                  String value)

addAtomCategory

protected Element addAtomCategory(Element parentElement,
                                  String type)

addAtomEntry

protected Element addAtomEntry(Document document)

getAppsNamespace

protected Namespace getAppsNamespace()

getAppsQName

protected QName getAppsQName(String localName)

getAtomNamespace

protected Namespace getAtomNamespace()

getAtomQName

protected QName getAtomQName(String localName)

getCompanyId

protected long getCompanyId()

getDocument

protected Document getDocument(String url)
                        throws GoogleAppsException
Throws:
GoogleAppsException

getErrorMessage

protected String getErrorMessage(Document document)

hasError

protected boolean hasError(Document document)

submitAdd

protected void submitAdd(String url,
                         Document document)
                  throws GoogleAppsException
Throws:
GoogleAppsException

submitDelete

protected void submitDelete(String url)
                     throws GoogleAppsException
Throws:
GoogleAppsException

submitUpdate

protected void submitUpdate(String url,
                            Document document)
                     throws GoogleAppsException
Throws:
GoogleAppsException

Liferay 6.1.2-ce-ga3