com.liferay.portlet.expando.service.http
Class ExpandoColumnServiceHttp

java.lang.Object
  extended by com.liferay.portlet.expando.service.http.ExpandoColumnServiceHttp

public class ExpandoColumnServiceHttp
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides a HTTP utility for the com.liferay.portlet.expando.service.ExpandoColumnServiceUtil service utility. The static methods of this class calls the same methods of the service utility. However, the signatures are different because it requires an additional com.liferay.portal.security.auth.HttpPrincipal parameter.

The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.

Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.

The HTTP utility is only generated for remote services.

Author:
Brian Wing Shun Chan
See Also:
HttpPrincipal, ExpandoColumnServiceUtil, ExpandoColumnServiceSoap

Constructor Summary
ExpandoColumnServiceHttp()
           
 
Method Summary
static com.liferay.portlet.expando.model.ExpandoColumn addColumn(HttpPrincipal httpPrincipal, long tableId, java.lang.String name, int type)
           
static void deleteColumn(HttpPrincipal httpPrincipal, long columnId)
           
static void deleteColumns(HttpPrincipal httpPrincipal, long tableId)
           
static void deleteColumns(HttpPrincipal httpPrincipal, long classNameId, java.lang.String tableName)
           
static void deleteColumns(HttpPrincipal httpPrincipal, java.lang.String className, java.lang.String tableName)
           
static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal, long columnId)
           
static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal, long tableId, java.lang.String name)
           
static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal, long classNameId, java.lang.String tableName, java.lang.String name)
           
static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal, java.lang.String className, java.lang.String tableName, java.lang.String name)
           
static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal, long tableId)
           
static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal, long classNameId, java.lang.String tableName)
           
static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal, java.lang.String className, java.lang.String tableName)
           
static int getColumnsCount(HttpPrincipal httpPrincipal, long tableId)
           
static int getColumnsCount(HttpPrincipal httpPrincipal, long classNameId, java.lang.String tableName)
           
static int getColumnsCount(HttpPrincipal httpPrincipal, java.lang.String className, java.lang.String tableName)
           
static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(HttpPrincipal httpPrincipal, long classNameId, java.lang.String name)
           
static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(HttpPrincipal httpPrincipal, java.lang.String className, java.lang.String name)
           
static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(HttpPrincipal httpPrincipal, long classNameId)
           
static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(HttpPrincipal httpPrincipal, java.lang.String className)
           
static int getDefaultTableColumnsCount(HttpPrincipal httpPrincipal, long classNameId)
           
static int getDefaultTableColumnsCount(HttpPrincipal httpPrincipal, java.lang.String className)
           
static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(HttpPrincipal httpPrincipal, long columnId, java.lang.String name, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoColumnServiceHttp

public ExpandoColumnServiceHttp()
Method Detail

addColumn

public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(HttpPrincipal httpPrincipal,
                                                                        long tableId,
                                                                        java.lang.String name,
                                                                        int type)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumn

public static void deleteColumn(HttpPrincipal httpPrincipal,
                                long columnId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumns

public static void deleteColumns(HttpPrincipal httpPrincipal,
                                 long tableId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumns

public static void deleteColumns(HttpPrincipal httpPrincipal,
                                 java.lang.String className,
                                 java.lang.String tableName)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteColumns

public static void deleteColumns(HttpPrincipal httpPrincipal,
                                 long classNameId,
                                 java.lang.String tableName)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal,
                                                                        long columnId)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal,
                                                                        long tableId,
                                                                        java.lang.String name)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal,
                                                                        java.lang.String className,
                                                                        java.lang.String tableName,
                                                                        java.lang.String name)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(HttpPrincipal httpPrincipal,
                                                                        long classNameId,
                                                                        java.lang.String tableName,
                                                                        java.lang.String name)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getColumns

public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal,
                                                                                         long tableId)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumns

public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal,
                                                                                         java.lang.String className,
                                                                                         java.lang.String tableName)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumns

public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(HttpPrincipal httpPrincipal,
                                                                                         long classNameId,
                                                                                         java.lang.String tableName)
                                                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

public static int getColumnsCount(HttpPrincipal httpPrincipal,
                                  long tableId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

public static int getColumnsCount(HttpPrincipal httpPrincipal,
                                  java.lang.String className,
                                  java.lang.String tableName)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getColumnsCount

public static int getColumnsCount(HttpPrincipal httpPrincipal,
                                  long classNameId,
                                  java.lang.String tableName)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(HttpPrincipal httpPrincipal,
                                                                                    java.lang.String className,
                                                                                    java.lang.String name)
                                                                             throws com.liferay.portal.SystemException,
                                                                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDefaultTableColumn

public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(HttpPrincipal httpPrincipal,
                                                                                    long classNameId,
                                                                                    java.lang.String name)
                                                                             throws com.liferay.portal.SystemException,
                                                                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getDefaultTableColumns

public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(HttpPrincipal httpPrincipal,
                                                                                                     java.lang.String className)
                                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumns

public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(HttpPrincipal httpPrincipal,
                                                                                                     long classNameId)
                                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumnsCount

public static int getDefaultTableColumnsCount(HttpPrincipal httpPrincipal,
                                              java.lang.String className)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getDefaultTableColumnsCount

public static int getDefaultTableColumnsCount(HttpPrincipal httpPrincipal,
                                              long classNameId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateColumn

public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(HttpPrincipal httpPrincipal,
                                                                           long columnId,
                                                                           java.lang.String name,
                                                                           int type)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException