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
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,
long classNameId,
long classPK,
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,
boolean system,
long masterLayoutPlid,
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,
long classNameId,
long classPK,
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,
boolean system,
Map<Locale,String> friendlyURLMap,
long masterLayoutPlid,
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,
long classNameId,
long classPK,
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,
boolean system,
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,
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,
long masterLayoutPlid,
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,
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,
long masterLayoutPlid,
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,
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 com.liferay.portal.kernel.model.Layout |
fetchLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
long layoutId) |
static List<com.liferay.portal.kernel.model.Layout> |
getAncestorLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid) |
static long |
getControlPanelLayoutPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal) |
static long |
getDefaultPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout) |
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 long |
getLayoutPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String uuid,
long groupId,
boolean privateLayout) |
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 List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String type) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String type,
int start,
int end) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String keywords,
String[] types,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String type) |
static List<com.liferay.portal.kernel.model.Layout> |
getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String type,
int start,
int end) |
static int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout) |
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 int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String type) |
static int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean privateLayout,
String keywords,
String[] types) |
static int |
getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String type) |
static String[] |
getTempFileNames(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String folderName) |
static boolean |
hasLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
String uuid,
long groupId,
boolean privateLayout) |
static boolean |
hasPortletId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
String portletId) |
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 |
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 hasIconImage,
byte[] iconBytes,
long masterLayoutPlid,
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,
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 hasIconImage,
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.portal.kernel.model.Layout |
updateType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long plid,
String type) |
public static com.liferay.portal.kernel.model.Layout addLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long parentLayoutId, long classNameId, long classPK, 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, boolean system, long masterLayoutPlid, 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, long classNameId, long classPK, 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, boolean system, Map<Locale,String> friendlyURLMap, long masterLayoutPlid, 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, long classNameId, long classPK, 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, boolean system, 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, 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, long masterLayoutPlid, 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, 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, long masterLayoutPlid, 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, 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 com.liferay.portal.kernel.model.Layout fetchLayout(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, long layoutId) 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 getControlPanelLayoutPlid(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal) 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, boolean privateLayout)
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 long getLayoutPlid(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 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 List<com.liferay.portal.kernel.model.Layout> getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String type) 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, String type, int start, int end) 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, String keywords, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) 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, String type)
public static List<com.liferay.portal.kernel.model.Layout> getLayouts(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String type, int start, int end)
public static int getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout)
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 int getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String type)
public static int getLayoutsCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean privateLayout, String keywords, String[] types) 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, String type)
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 boolean hasLayout(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 boolean hasPortletId(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, String portletId) 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 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 hasIconImage, byte[] iconBytes, long masterLayoutPlid, 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, 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 hasIconImage, 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.portal.kernel.model.Layout updateType(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long plid, String type) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException