@ProviderType
public class LayoutServiceHttp
extends Object
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
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.
LayoutServiceSoap
,
HttpPrincipal
,
LayoutServiceUtil
Constructor and Description |
---|
LayoutServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.model.Layout |
addLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
Map<Locale,String> descriptionMap,
Map<Locale,String> keywordsMap,
Map<Locale,String> robotsMap,
String type,
String typeSettings,
boolean hidden,
Map<Locale,String> friendlyURLMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.model.Layout |
addLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.repository.model.FileEntry |
addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String folderName,
String fileName,
InputStream inputStream,
String mimeType) |
static void |
deleteLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String folderName,
String fileName) |
static byte[] |
exportLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static byte[] |
exportLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static File |
exportLayoutsAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
static File |
exportLayoutsAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static long |
exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
static long |
exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long exportImportConfigurationId) |
static long |
exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static long |
exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate,
String fileName) |
static byte[] |
exportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static byte[] |
exportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static File |
exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
static File |
exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static File |
exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate) |
static long |
exportPortletInfoAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate,
String fileName) |
static long |
exportPortletInfoAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate,
String fileName) |
static List<com.liferay.portal.kernel.model.Layout> |
getAncestorLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid) |
static long |
getDefaultPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long scopeGroupId,
boolean privateLayout,
String portletId) |
static long |
getDefaultPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
long scopeGroupId,
String portletId) |
static com.liferay.portal.kernel.model.Layout |
getLayoutByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String uuid,
long groupId,
boolean privateLayout) |
static String |
getLayoutName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
String languageId) |
static com.liferay.portal.kernel.model.LayoutReference[] |
getLayoutReferences(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId,
String portletId,
String preferencesKey,
String preferencesValue) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId,
boolean incomplete,
int start,
int end) |
static int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId) |
static int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority) |
static String[] |
getTempFileNames(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String folderName) |
static void |
importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
File file) |
static void |
importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
InputStream is) |
static void |
importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
byte[] bytes) |
static void |
importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file) |
static void |
importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream is) |
static long |
importLayoutsInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file) |
static long |
importLayoutsInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream inputStream) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
File file) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
InputStream is) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream is) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String portletId,
Map<String,String[]> parameterMap,
File file) |
static void |
importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String portletId,
Map<String,String[]> parameterMap,
InputStream is) |
static long |
importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file) |
static long |
importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream is) |
static void |
importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
String portletId,
Map<String,String[]> parameterMap,
File file) |
static void |
importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String taskName,
String portletId,
Map<String,String[]> parameterMap,
InputStream is) |
static void |
schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
String scope,
Date startDate,
Date endDate,
String groupName,
String cronText,
Date schedulerStartDate,
Date schedulerEndDate,
String description) |
static void |
schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
String groupName,
String cronText,
Date schedulerStartDate,
Date schedulerEndDate,
String description) |
static void |
schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long sourceGroupId,
long targetGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
String scope,
Date startDate,
Date endDate,
String groupName,
String cronText,
Date schedulerStartDate,
Date schedulerEndDate,
String description) |
static void |
schedulePublishToRemote(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long sourceGroupId,
boolean privateLayout,
Map<Long,Boolean> layoutIdMap,
Map<String,String[]> parameterMap,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
boolean remotePrivateLayout,
Date startDate,
Date endDate,
String groupName,
String cronText,
Date schedulerStartDate,
Date schedulerEndDate,
String description) |
static void |
setLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
unschedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String jobName,
String groupName) |
static void |
unschedulePublishToRemote(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String jobName,
String groupName) |
static com.liferay.portal.kernel.model.Layout |
updateIconImage(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
byte[] bytes) |
static com.liferay.portal.kernel.model.Layout |
updateLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
Map<Locale,String> descriptionMap,
Map<Locale,String> keywordsMap,
Map<Locale,String> robotsMap,
String type,
boolean hidden,
Map<Locale,String> friendlyURLMap,
boolean iconImage,
byte[] iconBytes,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.portal.kernel.model.Layout |
updateLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
String typeSettings) |
static com.liferay.portal.kernel.model.Layout |
updateLookAndFeel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css) |
static com.liferay.portal.kernel.model.Layout |
updateName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId) |
static com.liferay.portal.kernel.model.Layout |
updateName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
String name,
String languageId) |
static com.liferay.portal.kernel.model.Layout |
updateParentLayoutId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId) |
static com.liferay.portal.kernel.model.Layout |
updateParentLayoutId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long parentPlid) |
static com.liferay.portal.kernel.model.Layout |
updateParentLayoutIdAndPriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long parentPlid,
int priority) |
static com.liferay.portal.kernel.model.Layout |
updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
int priority) |
static com.liferay.portal.kernel.model.Layout |
updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId,
long nextLayoutId,
long previousLayoutId) |
static com.liferay.portal.kernel.model.Layout |
updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
int priority) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
File file) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
InputStream inputStream) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream inputStream) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
File file) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
InputStream inputStream) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file) |
static com.liferay.exportimport.kernel.lar.MissingReferences |
validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream inputStream) |
public static com.liferay.portal.kernel.model.Layout addLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, Map<Locale,String> descriptionMap, Map<Locale,String> keywordsMap, Map<Locale,String> robotsMap, String type, String typeSettings, boolean hidden, Map<Locale,String> friendlyURLMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout addLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String folderName, String fileName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteTempFileEntry(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String folderName, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static byte[] exportLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static byte[] exportLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static File exportLayoutsAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static File exportLayoutsAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long exportImportConfigurationId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportLayoutsAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static byte[] exportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static byte[] exportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static File exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static File exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static File exportPortletInfoAsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportPortletInfoAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long exportPortletInfoAsFileInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate, String fileName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.model.Layout> getAncestorLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getDefaultPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long scopeGroupId, boolean privateLayout, String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long getDefaultPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long scopeGroupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout getLayoutByUuidAndGroupId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static String getLayoutName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String languageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.LayoutReference[] getLayoutReferences(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String portletId, String preferencesKey, String preferencesValue)
public static List<com.liferay.portal.kernel.model.Layout> getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
public static List<com.liferay.portal.kernel.model.Layout> getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.portal.kernel.model.Layout> getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, boolean incomplete, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId)
public static int getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, int priority)
public static String[] getTempFileNames(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long importLayoutsInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long importLayoutsInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String portletId, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String portletId, Map<String,String[]> parameterMap, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static long importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, String portletId, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void importPortletInfoInBackground(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String taskName, String portletId, Map<String,String[]> parameterMap, InputStream is) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, String scope, Date startDate, Date endDate, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long sourceGroupId, long targetGroupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void schedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long sourceGroupId, long targetGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, String scope, Date startDate, Date endDate, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void schedulePublishToRemote(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long sourceGroupId, boolean privateLayout, Map<Long,Boolean> layoutIdMap, Map<String,String[]> parameterMap, String remoteAddress, int remotePort, String remotePathContext, boolean secureConnection, long remoteGroupId, boolean remotePrivateLayout, Date startDate, Date endDate, String groupName, String cronText, Date schedulerStartDate, Date schedulerEndDate, String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void setLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unschedulePublishToLive(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String jobName, String groupName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unschedulePublishToRemote(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String jobName, String groupName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateIconImage(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, Map<Locale,String> descriptionMap, Map<Locale,String> keywordsMap, Map<Locale,String> robotsMap, String type, boolean hidden, Map<Locale,String> friendlyURLMap, boolean iconImage, byte[] iconBytes, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String typeSettings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateLookAndFeel(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateName(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateParentLayoutId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long parentLayoutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateParentLayoutId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long parentPlid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updateParentLayoutIdAndPriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long parentPlid, int priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, int priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId, long nextLayoutId, long previousLayoutId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.model.Layout updatePriority(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, int priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException