Liferay 7.0-ce-b4

com.liferay.portlet.exportimport.service
Class ExportImportLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.exportimport.service.ExportImportLocalServiceUtil

@ProviderType
public class ExportImportLocalServiceUtil
extends Object

Provides the local service utility for ExportImport. This utility wraps ExportImportLocalServiceImpl and is the primary access point for service operations in application layer code running on the local server. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
ExportImportLocalService, ExportImportLocalServiceBaseImpl, ExportImportLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ExportImportLocalServiceUtil()
           
 
Method Summary
static File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration)
           
static long exportLayoutsAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration)
           
static long exportLayoutsAsFileInBackground(long userId, long exportImportConfigurationId)
           
static File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration)
           
static long exportPortletInfoAsFileInBackground(long userId, ExportImportConfiguration exportImportConfiguration)
           
static long exportPortletInfoAsFileInBackground(long userId, long exportImportConfigurationId)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static ExportImportLocalService getService()
           
static void importLayouts(ExportImportConfiguration exportImportConfiguration, File file)
           
static void importLayouts(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
static void importLayoutsDataDeletions(ExportImportConfiguration exportImportConfiguration, File file)
           
static long importLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file)
           
static long importLayoutsInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
static long importLayoutsInBackground(long userId, long exportImportConfigurationId, File file)
           
static long importLayoutsInBackground(long userId, long exportImportConfigurationId, InputStream inputStream)
           
static void importPortletDataDeletions(ExportImportConfiguration exportImportConfiguration, File file)
           
static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, File file)
           
static void importPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
static long importPortletInfoInBackground(long userId, ExportImportConfiguration exportImportConfiguration, File file)
           
static long importPortletInfoInBackground(long userId, ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
static long importPortletInfoInBackground(long userId, long exportImportConfigurationId, File file)
           
static long importPortletInfoInBackground(long userId, long exportImportConfigurationId, InputStream inputStream)
           
static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, File file)
           
static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, File file)
           
static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration, InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportImportLocalServiceUtil

public ExportImportLocalServiceUtil()
Method Detail

exportLayoutsAsFile

public static File exportLayoutsAsFile(ExportImportConfiguration exportImportConfiguration)
                                throws PortalException
Throws:
PortalException

exportLayoutsAsFileInBackground

public static long exportLayoutsAsFileInBackground(long userId,
                                                   ExportImportConfiguration exportImportConfiguration)
                                            throws PortalException
Throws:
PortalException

exportLayoutsAsFileInBackground

public static long exportLayoutsAsFileInBackground(long userId,
                                                   long exportImportConfigurationId)
                                            throws PortalException
Throws:
PortalException

exportPortletInfoAsFile

public static File exportPortletInfoAsFile(ExportImportConfiguration exportImportConfiguration)
                                    throws PortalException
Throws:
PortalException

exportPortletInfoAsFileInBackground

public static long exportPortletInfoAsFileInBackground(long userId,
                                                       ExportImportConfiguration exportImportConfiguration)
                                                throws PortalException
Throws:
PortalException

exportPortletInfoAsFileInBackground

public static long exportPortletInfoAsFileInBackground(long userId,
                                                       long exportImportConfigurationId)
                                                throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

importLayouts

public static void importLayouts(ExportImportConfiguration exportImportConfiguration,
                                 File file)
                          throws PortalException
Throws:
PortalException

importLayouts

public static void importLayouts(ExportImportConfiguration exportImportConfiguration,
                                 InputStream inputStream)
                          throws PortalException
Throws:
PortalException

importLayoutsDataDeletions

public static void importLayoutsDataDeletions(ExportImportConfiguration exportImportConfiguration,
                                              File file)
                                       throws PortalException
Throws:
PortalException

importLayoutsInBackground

public static long importLayoutsInBackground(long userId,
                                             ExportImportConfiguration exportImportConfiguration,
                                             File file)
                                      throws PortalException
Throws:
PortalException

importLayoutsInBackground

public static long importLayoutsInBackground(long userId,
                                             ExportImportConfiguration exportImportConfiguration,
                                             InputStream inputStream)
                                      throws PortalException
Throws:
PortalException

importLayoutsInBackground

public static long importLayoutsInBackground(long userId,
                                             long exportImportConfigurationId,
                                             File file)
                                      throws PortalException
Throws:
PortalException

importLayoutsInBackground

public static long importLayoutsInBackground(long userId,
                                             long exportImportConfigurationId,
                                             InputStream inputStream)
                                      throws PortalException
Throws:
PortalException

importPortletDataDeletions

public static void importPortletDataDeletions(ExportImportConfiguration exportImportConfiguration,
                                              File file)
                                       throws PortalException
Throws:
PortalException

importPortletInfo

public static void importPortletInfo(ExportImportConfiguration exportImportConfiguration,
                                     File file)
                              throws PortalException
Throws:
PortalException

importPortletInfo

public static void importPortletInfo(ExportImportConfiguration exportImportConfiguration,
                                     InputStream inputStream)
                              throws PortalException
Throws:
PortalException

importPortletInfoInBackground

public static long importPortletInfoInBackground(long userId,
                                                 ExportImportConfiguration exportImportConfiguration,
                                                 File file)
                                          throws PortalException
Throws:
PortalException

importPortletInfoInBackground

public static long importPortletInfoInBackground(long userId,
                                                 ExportImportConfiguration exportImportConfiguration,
                                                 InputStream inputStream)
                                          throws PortalException
Throws:
PortalException

importPortletInfoInBackground

public static long importPortletInfoInBackground(long userId,
                                                 long exportImportConfigurationId,
                                                 File file)
                                          throws PortalException
Throws:
PortalException

importPortletInfoInBackground

public static long importPortletInfoInBackground(long userId,
                                                 long exportImportConfigurationId,
                                                 InputStream inputStream)
                                          throws PortalException
Throws:
PortalException

validateImportLayoutsFile

public static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration,
                                                          File file)
                                                   throws PortalException
Throws:
PortalException

validateImportLayoutsFile

public static MissingReferences validateImportLayoutsFile(ExportImportConfiguration exportImportConfiguration,
                                                          InputStream inputStream)
                                                   throws PortalException
Throws:
PortalException

validateImportPortletInfo

public static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration,
                                                          File file)
                                                   throws PortalException
Throws:
PortalException

validateImportPortletInfo

public static MissingReferences validateImportPortletInfo(ExportImportConfiguration exportImportConfiguration,
                                                          InputStream inputStream)
                                                   throws PortalException
Throws:
PortalException

getService

public static ExportImportLocalService getService()

Liferay 7.0-ce-b4