com.liferay.portlet.exportimport.service.http
Class ExportImportServiceHttp
java.lang.Object
com.liferay.portlet.exportimport.service.http.ExportImportServiceHttp
@ProviderType
public class ExportImportServiceHttp
- extends Object
Provides the HTTP utility for the
ExportImportServiceUtil 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.
- See Also:
ExportImportServiceSoap,
HttpPrincipal,
ExportImportServiceUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
|
Method Summary |
static File |
exportLayoutsAsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
|
static long |
exportLayoutsAsFileInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
|
static long |
exportLayoutsAsFileInBackground(HttpPrincipal httpPrincipal,
long exportImportConfigurationId)
|
static File |
exportPortletInfoAsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
|
static long |
exportPortletInfoAsFileInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
|
static void |
importLayouts(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static void |
importLayouts(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
static long |
importLayoutsInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static long |
importLayoutsInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
static void |
importPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static void |
importPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
static long |
importPortletInfoInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static long |
importPortletInfoInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
static MissingReferences |
validateImportLayoutsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static MissingReferences |
validateImportLayoutsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
static MissingReferences |
validateImportPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
|
static MissingReferences |
validateImportPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExportImportServiceHttp
public ExportImportServiceHttp()
exportLayoutsAsFile
public static File exportLayoutsAsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
- Throws:
PortalException
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
- Throws:
PortalException
exportLayoutsAsFileInBackground
public static long exportLayoutsAsFileInBackground(HttpPrincipal httpPrincipal,
long exportImportConfigurationId)
throws PortalException
- Throws:
PortalException
exportPortletInfoAsFile
public static File exportPortletInfoAsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
- Throws:
PortalException
exportPortletInfoAsFileInBackground
public static long exportPortletInfoAsFileInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
- Throws:
PortalException
importLayouts
public static void importLayouts(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
importLayouts
public static void importLayouts(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
importLayoutsInBackground
public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
importLayoutsInBackground
public static long importLayoutsInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
importPortletInfo
public static void importPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
importPortletInfo
public static void importPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
importPortletInfoInBackground
public static long importPortletInfoInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
importPortletInfoInBackground
public static long importPortletInfoInBackground(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
validateImportLayoutsFile
public static MissingReferences validateImportLayoutsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
validateImportLayoutsFile
public static MissingReferences validateImportLayoutsFile(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
validateImportPortletInfo
public static MissingReferences validateImportPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
File file)
throws PortalException
- Throws:
PortalException
validateImportPortletInfo
public static MissingReferences validateImportPortletInfo(HttpPrincipal httpPrincipal,
ExportImportConfiguration exportImportConfiguration,
InputStream inputStream)
throws PortalException
- Throws:
PortalException