Package | Description |
---|---|
com.liferay.portal.kernel.service |
This package defines the portal service interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
void |
PortletLocalService.addPortletCategory(long companyId,
String categoryName) |
void |
PortletLocalService.clearCache() |
Portlet |
PortletLocalService.clonePortlet(String portletId) |
void |
PortletLocalService.deployPortlet(Portlet portlet) |
void |
PortletLocalService.destroyPortlet(Portlet portlet) |
void |
PortletLocalService.destroyRemotePortlet(Portlet portlet) |
Group |
GroupLocalService.fetchGroup(long companyId,
String groupKey)
Returns the group with the matching group key by first searching the
system groups and then using the finder cache.
|
Portlet |
PortletLocalService.fetchPortletById(long companyId,
String portletId) |
ResourceAction |
ResourceActionLocalService.fetchResourceAction(String name,
String actionId) |
Role |
RoleLocalService.fetchRole(long companyId,
String name)
Returns the role with the name in the company.
|
ClassName |
ClassNameLocalService.getClassName(String value) |
long |
ClassNameLocalService.getClassNameId(Class<?> clazz) |
long |
ClassNameLocalService.getClassNameId(String value) |
List<CustomAttributesDisplay> |
PortletLocalService.getCustomAttributesDisplays() |
javax.portlet.PortletPreferences |
PortletPreferencesLocalService.getDefaultPreferences(long companyId,
String portletId) |
User |
UserLocalService.getDefaultUser(long companyId)
Returns the default user for the company.
|
long |
UserLocalService.getDefaultUserId(long companyId)
Returns the primary key of the default user for the company.
|
PortletCategory |
PortletLocalService.getEARDisplay(String xml) |
List<Portlet> |
PortletLocalService.getFriendlyURLMapperPortlets() |
List<FriendlyURLMapper> |
PortletLocalService.getFriendlyURLMappers() |
Group |
GroupLocalService.getGroup(long companyId,
String groupKey)
Returns the group with the matching group key.
|
PortletApp |
PortletLocalService.getPortletApp(String servletContextName) |
Portlet |
PortletLocalService.getPortletById(long companyId,
String portletId) |
Portlet |
PortletLocalService.getPortletById(String portletId) |
Portlet |
PortletLocalService.getPortletByStrutsPath(long companyId,
String strutsPath) |
List<Portlet> |
PortletLocalService.getPortlets() |
List<Portlet> |
PortletLocalService.getPortlets(long companyId) |
List<Portlet> |
PortletLocalService.getPortlets(long companyId,
boolean showSystem,
boolean showPortal) |
ResourceAction |
ResourceActionLocalService.getResourceAction(String name,
String actionId) |
Role |
RoleLocalService.getRole(long companyId,
String name)
Returns the role with the name in the company.
|
List<Portlet> |
PortletLocalService.getScopablePortlets() |
PortletCategory |
PortletLocalService.getWARDisplay(String servletContextName,
String xml) |
boolean |
PortletLocalService.hasPortlet(long companyId,
String portletId) |
boolean |
WorkflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(long companyId,
long groupId,
String className) |
boolean |
WorkflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(long companyId,
long groupId,
String className,
long classPK) |
boolean |
WorkflowDefinitionLinkLocalService.hasWorkflowDefinitionLink(long companyId,
long groupId,
String className,
long classPK,
long typePK) |
void |
PortletLocalService.initEAR(javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage) |
List<Portlet> |
PortletLocalService.initWAR(String servletContextName,
javax.servlet.ServletContext servletContext,
String[] xmls,
PluginPackage pluginPackage) |
boolean |
GroupLocalService.isLiveGroupActive(Group group) |
boolean |
ResourceBlockLocalService.isSupported(String name)
Deprecated.
|
void |
PortletLocalService.visitPortlets(long companyId,
Consumer<Portlet> consumer) |