com.liferay.portal.service.impl
Class LayoutLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.LayoutLocalServiceBaseImpl
com.liferay.portal.service.impl.LayoutLocalServiceImpl
- All Implemented Interfaces:
- LayoutLocalService
public class LayoutLocalServiceImpl
- extends LayoutLocalServiceBaseImpl
Fields inherited from class com.liferay.portal.service.base.LayoutLocalServiceBaseImpl |
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, browserTrackerLocalService, browserTrackerPersistence, classNameLocalService, classNamePersistence, classNameService, clusterGroupLocalService, clusterGroupPersistence, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, countryPersistence, countryService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, emailAddressLocalService, emailAddressPersistence, emailAddressService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, journalContentSearchLocalService, journalContentSearchPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutPrototypeLocalService, layoutPrototypePersistence, layoutPrototypeService, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetPrototypeLocalService, layoutSetPrototypePersistence, layoutSetPrototypeService, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, lockLocalService, lockPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, portalLocalService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, quartzLocalService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceActionLocalService, resourceActionPersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePermissionFinder, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, subscriptionLocalService, subscriptionPersistence, tasksProposalFinder, tasksProposalLocalService, tasksProposalPersistence, tasksProposalService, teamFinder, teamLocalService, teamPersistence, teamService, themeLocalService, themeService, ticketLocalService, ticketPersistence, userFinder, userGroupFinder, userGroupGroupRoleLocalService, userGroupGroupRolePersistence, userGroupGroupRoleService, userGroupLocalService, userGroupPersistence, userGroupRoleFinder, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
long dlFolderId,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
long dlFolderId,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
void |
deleteLayout(Layout layout,
boolean updateLayoutSet)
|
void |
deleteLayout(long plid)
Deletes the layout with the primary key from the database. |
void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
void |
deleteLayouts(long groupId,
boolean privateLayout)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
File |
exportLayoutsAsFile(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
byte[] |
exportPortletInfo(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
File |
exportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
static String |
getCounterName(long groupId,
boolean privateLayout)
|
long |
getDefaultPlid(long groupId)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout,
String portletId)
|
Layout |
getDLFolderLayout(long dlFolderId)
|
protected String |
getFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String name,
String friendlyURL)
|
protected String |
getFriendlyURL(String friendlyURL)
|
Layout |
getFriendlyURLLayout(long groupId,
boolean privateLayout,
String friendlyURL)
|
Layout |
getLayout(long plid)
Gets the layout with the primary key. |
Layout |
getLayout(long groupId,
boolean privateLayout,
long layoutId)
|
Layout |
getLayoutByIconImageId(long iconImageId)
|
Layout |
getLayoutByUuidAndGroupId(String uuid,
long groupId)
Gets the layout with the UUID and group id. |
List<Layout> |
getLayouts(long groupId,
boolean privateLayout)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long[] layoutIds)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
String type)
|
LayoutReference[] |
getLayouts(long companyId,
String portletId,
String preferencesKey,
String preferencesValue)
|
long |
getNextLayoutId(long groupId,
boolean privateLayout)
|
protected int |
getNextPriority(long groupId,
boolean privateLayout,
long parentLayoutId)
|
List<Layout> |
getNullFriendlyURLLayouts()
|
protected long |
getParentLayoutId(long groupId,
boolean privateLayout,
long parentLayoutId)
|
boolean |
hasLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
byte[] bytes)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream is)
|
void |
importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file)
|
void |
importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream is)
|
protected boolean |
isDescendant(Layout layout,
long layoutId)
|
void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
protected void |
setLocalizedAttributes(Layout layout,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap)
|
Layout |
updateFriendlyURL(long plid,
String friendlyURL)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
Boolean iconImage,
byte[] iconBytes,
ServiceContext serviceContext)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
String typeSettings)
|
Layout |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
|
Layout |
updateName(Layout layout,
String name,
String languageId)
|
Layout |
updateName(long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId)
|
Layout |
updateName(long plid,
String name,
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)
|
protected void |
validate(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
String name,
String type,
boolean hidden,
String friendlyURL)
|
protected void |
validateFirstLayout(String type,
boolean hidden)
|
protected void |
validateFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String friendlyURL)
|
protected void |
validateName(String name)
|
protected void |
validateName(String name,
String languageId)
|
protected void |
validateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
Methods inherited from class com.liferay.portal.service.base.LayoutLocalServiceBaseImpl |
addLayout, createLayout, deleteLayout, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getClassNameLocalService, getClassNamePersistence, getClassNameService, getClusterGroupLocalService, getClusterGroupPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCountryPersistence, getCountryService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutPrototypeLocalService, getLayoutPrototypePersistence, getLayoutPrototypeService, getLayouts, getLayoutsCount, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetPrototypeLocalService, getLayoutSetPrototypePersistence, getLayoutSetPrototypeService, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getLockLocalService, getLockPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPortalLocalService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getQuartzLocalService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceActionLocalService, getResourceActionPersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePermissionFinder, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getTasksProposalFinder, getTasksProposalLocalService, getTasksProposalPersistence, getTasksProposalService, getTeamFinder, getTeamLocalService, getTeamPersistence, getTeamService, getThemeLocalService, getThemeService, getTicketLocalService, getTicketPersistence, getUserFinder, getUserGroupFinder, getUserGroupGroupRoleLocalService, getUserGroupGroupRolePersistence, getUserGroupGroupRoleService, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleFinder, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setClassNameLocalService, setClassNamePersistence, setClassNameService, setClusterGroupLocalService, setClusterGroupPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCountryPersistence, setCountryService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutPrototypeLocalService, setLayoutPrototypePersistence, setLayoutPrototypeService, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetPrototypeLocalService, setLayoutSetPrototypePersistence, setLayoutSetPrototypeService, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setLockLocalService, setLockPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPortalLocalService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setQuartzLocalService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceActionLocalService, setResourceActionPersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePermissionFinder, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setTasksProposalFinder, setTasksProposalLocalService, setTasksProposalPersistence, setTasksProposalService, setTeamFinder, setTeamLocalService, setTeamPersistence, setTeamService, setThemeLocalService, setThemeService, setTicketLocalService, setTicketPersistence, setUserFinder, setUserGroupFinder, setUserGroupGroupRoleLocalService, setUserGroupGroupRolePersistence, setUserGroupGroupRoleService, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleFinder, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateLayout, updateLayout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutLocalServiceImpl
public LayoutLocalServiceImpl()
getCounterName
public static String getCounterName(long groupId,
boolean privateLayout)
addLayout
public Layout addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
long dlFolderId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addLayout
public Layout addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addLayout
public Layout addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLayout
public void deleteLayout(Layout layout,
boolean updateLayoutSet)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLayout
public void deleteLayout(long plid)
throws PortalException,
SystemException
- Description copied from class:
LayoutLocalServiceBaseImpl
- Deletes the layout with the primary key from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteLayout
in interface LayoutLocalService
- Overrides:
deleteLayout
in class LayoutLocalServiceBaseImpl
- Parameters:
plid
- the primary key of the layout to delete
- Throws:
PortalException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurred
deleteLayout
public void deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLayouts
public void deleteLayouts(long groupId,
boolean privateLayout)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportLayouts
public byte[] exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportLayouts
public byte[] exportLayouts(long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportLayoutsAsFile
public File exportLayoutsAsFile(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportPortletInfo
public byte[] exportPortletInfo(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
exportPortletInfoAsFile
public File exportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDefaultPlid
public long getDefaultPlid(long groupId)
throws SystemException
- Throws:
SystemException
getDefaultPlid
public long getDefaultPlid(long groupId,
boolean privateLayout)
throws SystemException
- Throws:
SystemException
getDefaultPlid
public long getDefaultPlid(long groupId,
boolean privateLayout,
String portletId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDLFolderLayout
public Layout getDLFolderLayout(long dlFolderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFriendlyURLLayout
public Layout getFriendlyURLLayout(long groupId,
boolean privateLayout,
String friendlyURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLayout
public Layout getLayout(long plid)
throws PortalException,
SystemException
- Description copied from class:
LayoutLocalServiceBaseImpl
- Gets the layout with the primary key.
- Specified by:
getLayout
in interface LayoutLocalService
- Overrides:
getLayout
in class LayoutLocalServiceBaseImpl
- Parameters:
plid
- the primary key of the layout to get
- Returns:
- the layout
- Throws:
PortalException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurred
getLayout
public Layout getLayout(long groupId,
boolean privateLayout,
long layoutId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLayoutByIconImageId
public Layout getLayoutByIconImageId(long iconImageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLayoutByUuidAndGroupId
public Layout getLayoutByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Description copied from class:
LayoutLocalServiceBaseImpl
- Gets the layout with the UUID and group id.
- Specified by:
getLayoutByUuidAndGroupId
in interface LayoutLocalService
- Overrides:
getLayoutByUuidAndGroupId
in class LayoutLocalServiceBaseImpl
- Parameters:
uuid
- the UUID of layout to getgroupId
- the group id of the layout to get
- Returns:
- the layout
- Throws:
PortalException
- if a layout with the UUID and group id could not be found
SystemException
- if a system exception occurred
getLayouts
public List<Layout> getLayouts(long groupId,
boolean privateLayout)
throws SystemException
- Throws:
SystemException
getLayouts
public List<Layout> getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
- Throws:
SystemException
getLayouts
public List<Layout> getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getLayouts
public List<Layout> getLayouts(long groupId,
boolean privateLayout,
long[] layoutIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLayouts
public List<Layout> getLayouts(long groupId,
boolean privateLayout,
String type)
throws SystemException
- Throws:
SystemException
getLayouts
public LayoutReference[] getLayouts(long companyId,
String portletId,
String preferencesKey,
String preferencesValue)
throws SystemException
- Throws:
SystemException
getNextLayoutId
public long getNextLayoutId(long groupId,
boolean privateLayout)
throws SystemException
- Throws:
SystemException
getNullFriendlyURLLayouts
public List<Layout> getNullFriendlyURLLayouts()
throws SystemException
- Throws:
SystemException
hasLayouts
public boolean hasLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
- Throws:
SystemException
importLayouts
public void importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
byte[] bytes)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importLayouts
public void importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importLayouts
public void importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPortletInfo
public void importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
importPortletInfo
public void importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream is)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setLayouts
public void setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateFriendlyURL
public Layout updateFriendlyURL(long plid,
String friendlyURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLayout
public Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
Boolean iconImage,
byte[] iconBytes,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLayout
public Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLayout
public Layout updateLayout(long groupId,
boolean privateLayout,
long layoutId,
String typeSettings)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateLookAndFeel
public Layout updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateName
public Layout updateName(Layout layout,
String name,
String languageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateName
public Layout updateName(long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateName
public Layout updateName(long plid,
String name,
String languageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateParentLayoutId
public Layout updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateParentLayoutId
public Layout updateParentLayoutId(long plid,
long parentPlid)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updatePriority
public Layout updatePriority(Layout layout,
int priority)
throws SystemException
- Throws:
SystemException
updatePriority
public Layout updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updatePriority
public Layout updatePriority(long plid,
int priority)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFriendlyURL
protected String getFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String name,
String friendlyURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFriendlyURL
protected String getFriendlyURL(String friendlyURL)
getNextPriority
protected int getNextPriority(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
- Throws:
SystemException
getParentLayoutId
protected long getParentLayoutId(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
- Throws:
SystemException
isDescendant
protected boolean isDescendant(Layout layout,
long layoutId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setLocalizedAttributes
protected void setLocalizedAttributes(Layout layout,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap)
validate
protected void validate(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
String name,
String type,
boolean hidden,
String friendlyURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateFirstLayout
protected void validateFirstLayout(String type,
boolean hidden)
throws PortalException
- Throws:
PortalException
validateFriendlyURL
protected void validateFriendlyURL(long groupId,
boolean privateLayout,
long layoutId,
String friendlyURL)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validateName
protected void validateName(String name)
throws PortalException
- Throws:
PortalException
validateName
protected void validateName(String name,
String languageId)
throws PortalException
- Throws:
PortalException
validateParentLayoutId
protected void validateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException