Registry / other / portal-service

portal-service

JSON →
library6.2.5javamavenunverified

Contains interfaces for Liferay portal services, shared by all plugins via the global class loader.

<dependency> <groupId>com.liferay.portal</groupId> <artifactId>portal-service</artifactId> <version>6.2.5</version> </dependency>
INSTALL
IMPORT
SIG · PORTAL-SERVICE
P
portal-service
otherjavav6.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UserLocalServiceUtil
✓ com.liferay.portal.service.UserLocalServiceUtil

Retrieves a user's full name by their ID using the Liferay portal service.

import com.liferay.portal.service.UserLocalServiceUtil; long userId = 12345L; String userName = UserLocalServiceUtil.getUser(userId).getFullName(); System.out.println("User: " + userName);
Debug
Known issues
breakingVersion 6.2.5 is very old; Liferay has moved to newer versions with different APIs.
fix
Upgrade to a modern Liferay version (e.g., 7.4) and use the corresponding service interfaces.
affects: <=6.2.5
Upgrade
Version history
6.2.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
portal-service — mvn dependency:get portal-service · libregistry