com.liferay.portal.googleapps
Class GHelperUtil
java.lang.Object
com.liferay.portal.googleapps.GHelperUtil
public class GHelperUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPS_URL
public static final String APPS_URL
- See Also:
- Constant Field Values
GHelperUtil
public GHelperUtil()
addAppsProperty
public static Element addAppsProperty(Element parentElement,
String name,
String value)
addAtomCategory
public static Element addAtomCategory(Element parentElement,
String type)
addAtomEntry
public static Element addAtomEntry(Document document)
getAppsNamespace
public static Namespace getAppsNamespace()
getAppsQName
public static QName getAppsQName(String localName)
getAtomNamespace
public static Namespace getAtomNamespace()
getAtomQName
public static QName getAtomQName(String localName)
getDocument
public static Document getDocument(GAuthenticator gAuthenticator,
String url)
throws GoogleAppsException
- Throws:
GoogleAppsException
getErrorMessage
public static String getErrorMessage(Document document)
hasError
public static boolean hasError(Document document)
submitAdd
public static void submitAdd(GAuthenticator gAuthenticator,
String url,
Document document)
throws GoogleAppsException
- Throws:
GoogleAppsException
submitDelete
public static void submitDelete(GAuthenticator gAuthenticator,
String url)
throws GoogleAppsException
- Throws:
GoogleAppsException
submitUpdate
public static void submitUpdate(GAuthenticator gAuthenticator,
String url,
Document document)
throws GoogleAppsException
- Throws:
GoogleAppsException