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 localeNamesMap,
java.util.Map 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 parameterMap)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap)
|
byte[] |
exportPortletInfo(long plid,
java.lang.String portletId,
java.util.Map 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 parameterMap,
java.io.File file)
|
void |
importLayouts(long groupId,
boolean privateLayout,
java.util.Map parameterMap,
java.io.InputStream is)
|
void |
importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map parameterMap,
java.io.File file)
|
void |
importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map 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 localeNamesMap,
java.util.Map 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 localeNamesMap,
java.util.Map 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
public 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
public Layout addLayout(long groupId,
boolean privateLayout,
long parentLayoutId,
java.util.Map localeNamesMap,
java.util.Map 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
public 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
public 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
public 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
public 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
public byte[] exportLayouts(long groupId,
boolean privateLayout,
java.util.Map 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
public byte[] exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
java.util.Map 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
public byte[] exportPortletInfo(long plid,
java.lang.String portletId,
java.util.Map 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
public void importLayouts(long groupId,
boolean privateLayout,
java.util.Map 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
public void importLayouts(long groupId,
boolean privateLayout,
java.util.Map 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
public void importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map 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
public void importPortletInfo(long plid,
java.lang.String portletId,
java.util.Map 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
public 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
public Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map localeNamesMap,
java.util.Map 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
public Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
java.util.Map localeNamesMap,
java.util.Map 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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