com.liferay.portlet.journal.service.http
Class JournalStructureServiceHttp
java.lang.Object
com.liferay.portlet.journal.service.http.JournalStructureServiceHttp
public class JournalStructureServiceHttp
- extends java.lang.Object
This class provides a HTTP utility for the
JournalStructureServiceUtil 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:
JournalStructureServiceSoap,
HttpPrincipal,
JournalStructureServiceUtil- Generated:
|
Method Summary |
static com.liferay.portlet.journal.model.JournalStructure |
addStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
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.journal.model.JournalStructure |
copyStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
|
static void |
deleteStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId)
|
static com.liferay.portlet.journal.model.JournalStructure |
getStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId)
|
static java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
getStructures(HttpPrincipal httpPrincipal,
long groupId)
|
static java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
search(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<com.liferay.portlet.journal.model.JournalStructure> |
search(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
searchCount(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String keywords)
|
static int |
searchCount(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
|
static com.liferay.portlet.journal.model.JournalStructure |
updateStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId,
java.lang.String parentStructureId,
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 |
JournalStructureServiceHttp
public JournalStructureServiceHttp()
addStructure
public static com.liferay.portlet.journal.model.JournalStructure addStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId,
boolean autoStructureId,
java.lang.String parentStructureId,
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
copyStructure
public static com.liferay.portlet.journal.model.JournalStructure copyStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String oldStructureId,
java.lang.String newStructureId,
boolean autoStructureId)
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 groupId,
java.lang.String 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
getStructure
public static com.liferay.portlet.journal.model.JournalStructure getStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String 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
getStructures
public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(HttpPrincipal httpPrincipal,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchCount
public static int searchCount(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String keywords)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchCount
public static int searchCount(HttpPrincipal httpPrincipal,
long companyId,
long[] groupIds,
java.lang.String structureId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateStructure
public static com.liferay.portlet.journal.model.JournalStructure updateStructure(HttpPrincipal httpPrincipal,
long groupId,
java.lang.String structureId,
java.lang.String parentStructureId,
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