| java.lang.Object com.liferay.portal.service.http.LayoutServiceHttp
LayoutServiceHttp | public class LayoutServiceHttp (Code) | | 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.portal.service.LayoutServiceUtil 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: com.liferay.portal.security.auth.HttpPrincipal See Also: com.liferay.portal.service.LayoutServiceUtil See Also: com.liferay.portal.service.http.LayoutServiceSoap |
Method Summary | |
public static com.liferay.portal.model.Layout | addLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) | public static com.liferay.portal.model.Layout | addLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) | public static void | deleteLayout(HttpPrincipal httpPrincipal, long plid) | public static void | deleteLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId) | public static byte[] | exportLayouts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.util.Map parameterMap) | public static byte[] | exportLayouts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long[] layoutIds, java.util.Map parameterMap) | public static byte[] | exportPortletInfo(HttpPrincipal httpPrincipal, long plid, java.lang.String portletId, java.util.Map parameterMap) | public static java.lang.String | getLayoutName(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, java.lang.String languageId) | public static com.liferay.portal.model.LayoutReference[] | getLayoutReferences(HttpPrincipal httpPrincipal, long companyId, java.lang.String portletId, java.lang.String prefsKey, java.lang.String prefsValue) | public static void | importLayouts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.util.Map parameterMap, java.io.File file) | public static void | importLayouts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, java.util.Map parameterMap, java.io.InputStream is) | public static void | importPortletInfo(HttpPrincipal httpPrincipal, long plid, java.lang.String portletId, java.util.Map parameterMap, java.io.File file) | public static void | importPortletInfo(HttpPrincipal httpPrincipal, long plid, java.lang.String portletId, java.util.Map parameterMap, java.io.InputStream is) | public static void | setLayouts(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds) | public static com.liferay.portal.model.Layout | updateLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) | public static com.liferay.portal.model.Layout | updateLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, java.lang.Boolean iconImage, byte[] iconBytes) | public static com.liferay.portal.model.Layout | updateLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, java.lang.String typeSettings) | public static com.liferay.portal.model.Layout | updateLookAndFeel(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme) | public static com.liferay.portal.model.Layout | updateName(HttpPrincipal httpPrincipal, long plid, java.lang.String name, java.lang.String languageId) | public static com.liferay.portal.model.Layout | updateName(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, java.lang.String name, java.lang.String languageId) | public static com.liferay.portal.model.Layout | updateParentLayoutId(HttpPrincipal httpPrincipal, long plid, long parentPlid) | public static com.liferay.portal.model.Layout | updateParentLayoutId(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId) | public static com.liferay.portal.model.Layout | updatePriority(HttpPrincipal httpPrincipal, long plid, int priority) | public static com.liferay.portal.model.Layout | updatePriority(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, int priority) |
addLayout | public static com.liferay.portal.model.Layout addLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addLayout | public static com.liferay.portal.model.Layout addLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateLayout | public static com.liferay.portal.model.Layout updateLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateLayout | public static com.liferay.portal.model.Layout updateLayout(HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map localeNamesMap, java.util.Map localeTitlesMap, java.lang.String description, java.lang.String type, boolean hidden, java.lang.String friendlyURL, java.lang.Boolean iconImage, byte[] iconBytes) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|