| java.lang.Object com.liferay.portal.service.base.LayoutLocalServiceBaseImpl com.liferay.portal.service.impl.LayoutLocalServiceImpl
LayoutLocalServiceImpl | public class LayoutLocalServiceImpl extends LayoutLocalServiceBaseImpl (Code) | | View Source
author: Brian Wing Shun Chan author: Joel Kozikowski author: Charles May author: Raymond Augé author: Jorge Ferrer author: Bruno Farache |
Method Summary | |
public Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL) | public Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL) | public Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, long dlFolderId) | public Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, long dlFolderId) | public void | deleteLayout(long plid) | public void | deleteLayout(long groupId, boolean privateLayout, long layoutId) | public void | deleteLayout(Layout layout, boolean updateLayoutSet) | public void | deleteLayouts(long groupId, boolean privateLayout) | protected void | deleteMissingLayouts(long groupId, boolean privateLayout, Set newLayoutIds) | protected void | deletePortletData(PortletDataContext context, Layout layout, Element parentEl) | protected String | deletePortletData(PortletDataContext context, String portletId, PortletPreferences portletPreferences, Element parentEl) | protected void | exportComments(PortletDataContext context, Element root) | protected Element | exportGroupPermissions(long companyId, long groupId, String resourceName, String resourcePrimKey, Element parentEl, String elName) | protected void | exportGroupRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String entityName, Element parentEl) | protected void | exportInheritedPermissions(LayoutCache layoutCache, long companyId, String resourceName, String resourcePrimKey, Element parentEl, String entityName) | protected void | exportInheritedRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String entityName, Element parentEl) | protected void | exportLayoutPermissions(LayoutCache layoutCache, long companyId, long groupId, Group guestGroup, Layout layout, Element permissionsEl, boolean exportUserPermissions) | protected void | exportLayoutRoles(LayoutCache layoutCache, long companyId, long groupId, Element rolesEl) | public byte[] | exportLayouts(long groupId, boolean privateLayout, Map parameterMap) | public byte[] | exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, Map parameterMap) | protected void | exportPortletData(PortletDataContext context, Layout layout, LayoutTypePortlet layoutTypePortlet, Element parentEl) | protected void | exportPortletData(PortletDataContext context, String portletId, javax.portlet.PortletPreferences portletPreferences, Element parentEl) | public byte[] | exportPortletInfo(long plid, String portletId, Map parameterMap) | protected void | exportPortletPermissions(LayoutCache layoutCache, long companyId, long groupId, Group guestGroup, Layout layout, LayoutTypePortlet layoutTypePortlet, Set portletIds, Element permissionsEl, boolean exportUserPermissions) | protected void | exportPortletPreferences(long ownerId, int ownerType, long plid, boolean defaultUser, Element parentEl) | protected void | exportPortletPreferences(long ownerId, int ownerType, boolean defaultUser, long plid, LayoutTypePortlet layoutTypePortlet, Element parentEl) | protected void | exportPortletPreferences(long ownerId, int ownerType, boolean defaultUser, Layout layout, String portletId, Element parentEl) | protected void | exportPortletRoles(LayoutCache layoutCache, long companyId, long groupId, Set portletIds, Element rolesEl) | protected void | exportRatings(PortletDataContext context, Element root) | protected Element | exportRoles(long companyId, String resourceName, int scope, String resourcePrimKey, Element parentEl, String elName, List roles) | protected void | exportTags(PortletDataContext context, Element root) | protected byte[] | exportTheme(LayoutSet layoutSet) | protected void | exportThemeFiles(String path, File dir, ZipWriter zipWriter) | protected void | exportUserPermissions(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String resourcePrimKey, Element parentEl) | protected void | exportUserRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, Element parentEl) | protected void | fixTypeSettings(Layout layout) | protected List | getActions(Element el) | public Layout | getDLFolderLayout(long dlFolderId) | public long | getDefaultPlid(long groupId) | public long | getDefaultPlid(long groupId, boolean privateLayout) | protected String | getFriendlyURL(String friendlyURL) | public Layout | getFriendlyURLLayout(long groupId, boolean privateLayout, String friendlyURL) | public Layout | getLayout(long plid) | public Layout | getLayout(long groupId, boolean privateLayout, long layoutId) | public Layout | getLayoutByIconImageId(long iconImageId) | public List | getLayouts(long groupId, boolean privateLayout) | public List | getLayouts(long groupId, boolean privateLayout, long parentLayoutId) | public List | getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end) | public List | getLayouts(long groupId, boolean privateLayout, long[] layoutIds) | public LayoutReference[] | getLayouts(long companyId, String portletId, String prefsKey, String prefsValue) | protected long | getNextLayoutId(long groupId, boolean privateLayout) | protected int | getNextPriority(long groupId, boolean privateLayout, long parentLayoutId) | protected long | getParentLayoutId(long groupId, boolean privateLayout, long parentLayoutId) | protected boolean | hasRole(List roles, String roleName) | protected void | importGroupPermissions(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String resourcePrimKey, Element parentEl, String elName, boolean portletActions) | protected void | importGroupRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String entityName, Element parentEl) | protected void | importInheritedPermissions(LayoutCache layoutCache, long companyId, String resourceName, String resourcePrimKey, Element permissionsEl, String entityName, boolean portletActions) | protected void | importInheritedRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String entityName, Element parentEl) | protected void | importLayoutPermissions(LayoutCache layoutCache, long companyId, long groupId, Group guestGroup, Layout layout, Element permissionsEl, boolean importUserPermissions) | protected void | importLayoutRoles(LayoutCache layoutCache, long companyId, long groupId, Element rolesEl) | public void | importLayouts(long userId, long groupId, boolean privateLayout, Map parameterMap, File file) | public void | importLayouts(long userId, long groupId, boolean privateLayout, Map parameterMap, InputStream is) | protected void | importPortletData(PortletDataContext context, Layout layout, Element parentEl) | protected String | importPortletData(PortletDataContext context, String portletId, PortletPreferences portletPreferences, Element parentEl) | public void | importPortletInfo(long userId, long plid, String portletId, Map parameterMap, File file) | public void | importPortletInfo(long userId, long plid, String portletId, Map parameterMap, InputStream is) | protected void | importPortletPermissions(LayoutCache layoutCache, long companyId, long groupId, Group guestGroup, Layout layout, Element permissionsEl, boolean importUserPermissions) | protected void | importPortletPreferences(long companyId, long plid, Element parentEl, boolean importPortletSetup, boolean importUserPreferences) | protected void | importPortletRoles(LayoutCache layoutCache, long companyId, long groupId, Element rolesEl) | protected void | importRolePermissions(LayoutCache layoutCache, long companyId, String resourceName, int scope, String resourcePrimKey, Element parentEl, boolean communityRole) | protected String | importTheme(LayoutSet layoutSet, byte[] themeZip) | protected void | importUserPermissions(LayoutCache layoutCache, long companyId, long groupId, String resourceName, String resourcePrimKey, Element parentEl, boolean portletActions) | protected void | importUserRoles(LayoutCache layoutCache, long companyId, long groupId, String resourceName, Element parentEl) | protected boolean | isDescendant(Layout layout, long layoutId) | protected void | readComments(PortletDataContext context, Element root) | protected void | readRatings(PortletDataContext context, Element root) | protected void | readTags(PortletDataContext context, Element root) | public void | setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds) | protected void | setLocalizedAttributes(Layout layout, Map localeNamesMap, Map localeTitlesMap) | public Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL) | public Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, Boolean iconImage, byte[] iconBytes) | public Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, String typeSettings) | public Layout | updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css, boolean wapTheme) | public Layout | updateName(long plid, String name, String languageId) | public Layout | updateName(long groupId, boolean privateLayout, long layoutId, String name, String languageId) | public Layout | updateName(Layout layout, String name, String languageId) | public Layout | updateParentLayoutId(long plid, long parentPlid) | public Layout | updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId) | public Layout | updatePriority(long plid, int priority) | public Layout | updatePriority(long groupId, boolean privateLayout, long layoutId, int priority) | public Layout | updatePriority(Layout layout, int priority) | protected void | validate(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, String type, boolean hidden, String friendlyURL) | protected void | validateFirstLayout(String type, boolean hidden) | protected void | validateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId) |
addLayout | public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL) throws PortalException, SystemException(Code) | | |
addLayout | public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL) throws PortalException, SystemException(Code) | | |
addLayout | public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, long dlFolderId) throws PortalException, SystemException(Code) | | |
addLayout | public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, long dlFolderId) throws PortalException, SystemException(Code) | | |
exportPortletPreferences | protected void exportPortletPreferences(long ownerId, int ownerType, long plid, boolean defaultUser, Element parentEl) throws PortalException, SystemException(Code) | | |
fixTypeSettings | protected void fixTypeSettings(Layout layout)(Code) | | |
getActions | protected List getActions(Element el)(Code) | | |
getDefaultPlid | public long getDefaultPlid(long groupId, boolean privateLayout) throws SystemException(Code) | | |
getLayouts | public List getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int begin, int end) throws SystemException(Code) | | |
getNextLayoutId | protected long getNextLayoutId(long groupId, boolean privateLayout) throws SystemException(Code) | | |
getNextPriority | protected int getNextPriority(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException(Code) | | |
importPortletPreferences | protected void importPortletPreferences(long companyId, long plid, Element parentEl, boolean importPortletSetup, boolean importUserPreferences) throws PortalException, SystemException(Code) | | |
setLocalizedAttributes | protected void setLocalizedAttributes(Layout layout, Map localeNamesMap, Map localeTitlesMap)(Code) | | |
updateLayout | public Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL) throws PortalException, SystemException(Code) | | |
updateLayout | public Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map localeNamesMap, Map localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, Boolean iconImage, byte[] iconBytes) throws PortalException, SystemException(Code) | | |
|
|