com.liferay.portlet.dynamicdatamapping.service.http
Class DDMStructureServiceHttp
java.lang.Object
com.liferay.portlet.dynamicdatamapping.service.http.DDMStructureServiceHttp
public class DDMStructureServiceHttp
- extends java.lang.Object
This class provides a HTTP utility for the
DDMStructureServiceUtil 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
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:
DDMStructureServiceSoap,
HttpPrincipal,
DDMStructureServiceUtil- Generated:
|
Method Summary |
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
addStructure(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
|
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
copyStructure(HttpPrincipal httpPrincipal,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext)
|
static void |
deleteStructure(HttpPrincipal httpPrincipal,
long structureId)
|
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
fetchStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureKey)
|
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
getStructure(HttpPrincipal httpPrincipal,
long structureId)
|
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
updateStructure(HttpPrincipal httpPrincipal,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
|
static com.liferay.portlet.dynamicdatamapping.model.DDMStructure |
updateStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMStructureServiceHttp
public DDMStructureServiceHttp()
addStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(HttpPrincipal httpPrincipal,
long groupId,
long classNameId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
java.lang.String storageType,
int type,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
copyStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(HttpPrincipal httpPrincipal,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteStructure
public static void deleteStructure(HttpPrincipal httpPrincipal,
long structureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
fetchStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureKey)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(HttpPrincipal httpPrincipal,
long structureId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(HttpPrincipal httpPrincipal,
long structureId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStructure
public static com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureKey,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String xsd,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException