com.liferay.portal.kernel.model.Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext) Adds a layout with single entry maps for name, title, and description to the default locale. |
com.liferay.portal.kernel.model.Layout | addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, java.util.Map nameMap, java.util.Map titleMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, String typeSettings, boolean hidden, java.util.Map friendlyURLMap, ServiceContext serviceContext) Adds a layout with additional parameters. |
void | deleteLayout(com.liferay.portal.kernel.model.Layout layout, boolean updateLayoutSet, ServiceContext serviceContext)
|
void | deleteLayout(com.liferay.portal.kernel.model.Layout layout, ServiceContext serviceContext) Deletes the layout, its child layouts, and its associated resources. |
void | deleteLayout(long plid, ServiceContext serviceContext) Deletes the layout with the plid, also deleting the layout's child layouts, and associated resources. |
com.liferay.portal.kernel.model.Layout | fetchFirstLayout(long groupId, boolean privateLayout, long parentLayoutId)
|
com.liferay.portal.kernel.model.Layout | fetchLayout(long plid)
|
com.liferay.portal.kernel.model.Layout | fetchLayout(long groupId, boolean privateLayout, long layoutId)
|
com.liferay.portal.kernel.model.Layout | fetchLayout(String uuid, long groupId, boolean privateLayout)
|
com.liferay.portal.kernel.model.Layout | fetchLayoutByFriendlyURL(long groupId, boolean privateLayout, String friendlyURL)
|
com.liferay.portal.kernel.model.Layout | fetchLayoutByUuidAndGroupId(String uuid, long groupId, boolean privateLayout) Returns the layout matching the UUID, group, and privacy. |
com.liferay.portal.kernel.model.Layout | getFriendlyURLLayout(long groupId, boolean privateLayout, String friendlyURL) Returns the layout for the friendly URL. |
com.liferay.portal.kernel.model.Layout | getLayout(long plid) Returns the layout with the primary key. |
com.liferay.portal.kernel.model.Layout | getLayout(long groupId, boolean privateLayout, long layoutId) Returns the layout matching the layout ID, group, and privacy; throws a NoSuchLayoutException otherwise. |
com.liferay.portal.kernel.model.Layout | getLayoutByUuidAndGroupId(String uuid, long groupId, boolean privateLayout) Returns the layout matching the UUID, group, and privacy. |
java.util.List | getLayouts(int start, int end) Returns a range of all the layouts. |
java.util.List | getLayouts(long groupId, boolean privateLayout) Returns all the layouts belonging to the group. |
java.util.List | getLayouts(long groupId, long masterLayoutPlid)
|
java.util.List | getLayouts(long groupId, boolean privateLayout, long parentLayoutId, boolean incomplete, int start, int end) Returns a range of all the layouts belonging to the group that are children of the parent layout. |
java.util.List | getLayouts(long groupId, String keywords, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) Returns a range of all the layouts belonging to the group. |
java.util.List | getLayouts(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) Returns a range of all the layouts belonging to the group. |
java.util.List | getLayouts(long groupId, boolean privateLayout, long parentLayoutId, boolean incomplete, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) Returns a range of all the layouts belonging to the group that are children of the parent layout. |
java.util.List | getLayouts(long groupId, boolean privateLayout, String keywords, String[] types, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) Returns a range of all the layouts belonging to the group. |
java.util.List | getLayouts(long groupId, boolean privateLayout, long parentLayoutId) Returns all the layouts belonging to the group that are children of the parent layout. |
java.util.List | getLayouts(long groupId, boolean privateLayout, long[] layoutIds) Returns all the layouts that match the layout IDs and belong to the group. |
java.util.List | getLayouts(long groupId, boolean privateLayout, String type) Returns all the layouts that match the type and belong to the group. |
int | getLayoutsCount(com.liferay.portal.kernel.model.Group group, boolean privateLayout)
|
int | getLayoutsCount(long groupId, long masterLayoutPlid)
|
int | getLayoutsCount(com.liferay.portal.kernel.model.User user, boolean privateLayout)
|
int | getLayoutsCount(com.liferay.portal.kernel.model.Group group, boolean privateLayout, boolean includeUserGroups)
|
int | getLayoutsCount(com.liferay.portal.kernel.model.Group group, boolean privateLayout, long parentLayoutId)
|
int | getLayoutsCount(com.liferay.portal.kernel.model.Group group, boolean privateLayout, long[] layoutIds)
|
int | getLayoutsCount(long groupId, String keywords, String[] types)
|
int | getLayoutsCount(com.liferay.portal.kernel.model.User user, boolean privateLayout, boolean includeUserGroups)
|
com.liferay.portal.kernel.model.Layout | updateFriendlyURL(long userId, long plid, String friendlyURL, String languageId) Updates the friendly URL of the layout. |
com.liferay.portal.kernel.model.Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, java.util.Date publishDate) Updates the layout replacing its draft publish date. |
com.liferay.portal.kernel.model.Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, String typeSettings) Updates the layout replacing its type settings. |
com.liferay.portal.kernel.model.Layout | updateLayout( com.liferay.portal.kernel.model.Layout layout) Updates the layout in the database or adds it if it does not yet exist. |
com.liferay.portal.kernel.model.Layout | updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, java.util.Map nameMap, java.util.Map titleMap, java.util.Map descriptionMap, java.util.Map keywordsMap, java.util.Map robotsMap, String type, boolean hidden, java.util.Map friendlyURLMap, boolean hasIconImage, byte[] iconBytes, ServiceContext serviceContext) Updates the layout. |
com.liferay.portal.kernel.model.Layout | updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css) Updates the look and feel of the layout. |
com.liferay.portal.kernel.model.Layout | updateName(com.liferay.portal.kernel.model.Layout layout, String name, String languageId) Updates the name of the layout. |
com.liferay.portal.kernel.model.Layout | updateName(long plid, String name, String languageId) Updates the name of the layout matching the primary key. |
void | updatePriorities(long groupId, boolean privateLayout) Updates the priorities of the layouts. |
com.liferay.portal.kernel.model.Layout | updatePriority(long groupId, boolean privateLayout, long layoutId, int priority) Updates the priority of the layout matching the group, layout ID, and privacy. |