com.liferay.portal.service
Interface LayoutLocalService
public interface LayoutLocalService
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.LayoutLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
LayoutLocalServiceFactory
,
LayoutLocalServiceUtil
Method Summary |
Layout |
addLayout(Layout layout)
|
Layout |
addLayout(long userId,
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 userId,
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,
long dlFolderId)
|
Layout |
addLayout(long userId,
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)
|
Layout |
addLayout(long userId,
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,
long dlFolderId)
|
void |
deleteLayout(Layout layout)
|
void |
deleteLayout(Layout layout,
boolean updateLayoutSet)
|
void |
deleteLayout(long plid)
|
void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
void |
deleteLayouts(long groupId,
boolean privateLayout)
|
java.util.List<Layout> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<Layout> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
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)
|
long |
getDefaultPlid(long groupId)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout,
java.lang.String portletId)
|
Layout |
getDLFolderLayout(long dlFolderId)
|
Layout |
getFriendlyURLLayout(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
|
Layout |
getLayout(long plid)
|
Layout |
getLayout(long groupId,
boolean privateLayout,
long layoutId)
|
Layout |
getLayoutByIconImageId(long iconImageId)
|
java.util.List<Layout> |
getLayouts(long groupId,
boolean privateLayout)
|
java.util.List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
java.util.List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long[] layoutIds)
|
java.util.List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
|
LayoutReference[] |
getLayouts(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
|
java.util.List<Layout> |
getNullFriendlyURLLayouts()
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
|
void |
importPortletInfo(long userId,
long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
|
void |
importPortletInfo(long userId,
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 |
updateFriendlyURL(long plid,
java.lang.String friendlyURL)
|
Layout |
updateLayout(Layout layout)
|
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(Layout layout,
java.lang.String name,
java.lang.String languageId)
|
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(Layout layout,
int priority)
|
Layout |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
Layout |
updatePriority(long plid,
int priority)
|
addLayout
Layout addLayout(Layout layout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteLayout
void deleteLayout(long plid)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayout
void deleteLayout(Layout layout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<Layout> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<Layout> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateLayout
Layout updateLayout(Layout layout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addLayout
Layout addLayout(long userId,
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addLayout
Layout addLayout(long userId,
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addLayout
Layout addLayout(long userId,
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,
long dlFolderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addLayout
Layout addLayout(long userId,
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,
long dlFolderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayout
void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayout
void deleteLayout(Layout layout,
boolean updateLayoutSet)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteLayouts
void deleteLayouts(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
exportLayouts
byte[] exportLayouts(long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getDefaultPlid
long getDefaultPlid(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultPlid
long getDefaultPlid(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDefaultPlid
long getDefaultPlid(long groupId,
boolean privateLayout,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDLFolderLayout
Layout getDLFolderLayout(long dlFolderId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getFriendlyURLLayout
Layout getFriendlyURLLayout(long groupId,
boolean privateLayout,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayout
Layout getLayout(long plid)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayout
Layout getLayout(long groupId,
boolean privateLayout,
long layoutId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayoutByIconImageId
Layout getLayoutByIconImageId(long iconImageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayouts
java.util.List<Layout> getLayouts(long groupId,
boolean privateLayout)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
java.util.List<Layout> getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
java.util.List<Layout> getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLayouts
java.util.List<Layout> getLayouts(long groupId,
boolean privateLayout,
long[] layoutIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getLayouts
LayoutReference[] getLayouts(long companyId,
java.lang.String portletId,
java.lang.String prefsKey,
java.lang.String prefsValue)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNullFriendlyURLLayouts
java.util.List<Layout> getNullFriendlyURLLayouts()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
importLayouts
void importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importLayouts
void importLayouts(long userId,
long groupId,
boolean privateLayout,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importPortletInfo
void importPortletInfo(long userId,
long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.File file)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
importPortletInfo
void importPortletInfo(long userId,
long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,java.lang.String[]> parameterMap,
java.io.InputStream is)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setLayouts
void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateFriendlyURL
Layout updateFriendlyURL(long plid,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateLayout
Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
java.lang.String typeSettings)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateName
Layout updateName(long plid,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
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 com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateName
Layout updateName(Layout layout,
java.lang.String name,
java.lang.String languageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateParentLayoutId
Layout updateParentLayoutId(long plid,
long parentPlid)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateParentLayoutId
Layout updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePriority
Layout updatePriority(long plid,
int priority)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePriority
Layout updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePriority
Layout updatePriority(Layout layout,
int priority)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException