com.liferay.portal.service
Interface LayoutService
public interface LayoutService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.LayoutServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
LayoutServiceFactory
,
LayoutServiceUtil
Method Summary |
Layout |
addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
|
Layout |
addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
|
void |
deleteLayout(long plid)
|
void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
byte[] |
exportPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
|
java.lang.String |
getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String languageId)
|
LayoutReference[] |
getLayoutReferences(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
|
void |
importLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
|
void |
importLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
|
void |
importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
|
void |
importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
|
void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
java.lang.Boolean iconImage,
byte[] iconBytes)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
|
Layout |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme)
|
Layout |
updateName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String name,
java.lang.String languageId)
|
Layout |
updateName(long plid,
java.lang.String name,
java.lang.String languageId)
|
Layout |
updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
Layout |
updateParentLayoutId(long plid,
long parentPlid)
|
Layout |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
Layout |
updatePriority(long plid,
int priority)
|
addLayout
Layout addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addLayout
Layout addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayout
void deleteLayout(long plid)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayout
void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayoutName
java.lang.String getLayoutName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String languageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayoutReferences
LayoutReference[] getLayoutReferences(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
exportLayouts
byte[] exportLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
exportLayouts
byte[] exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
exportPortletInfo
byte[] exportPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importLayouts
void importLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importLayouts
void importLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importPortletInfo
void importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importPortletInfo
void importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setLayouts
void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLayout
Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLayout
Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map<java.util.Locale,java.lang.String> localeNamesMap,
java.util.Map<java.util.Locale,java.lang.String> localeTitlesMap,
java.lang.String description,
java.lang.String type,
boolean hidden,
java.lang.String friendlyURL,
java.lang.Boolean iconImage,
byte[] iconBytes)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLayout
Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLookAndFeel
Layout updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateName
Layout updateName(long plid,
java.lang.String name,
java.lang.String languageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateName
Layout updateName(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String name,
java.lang.String languageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateParentLayoutId
Layout updateParentLayoutId(long plid,
long parentPlid)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateParentLayoutId
Layout updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePriority
Layout updatePriority(long plid,
int priority)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePriority
Layout updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException