public class GuestOrUserUtil
extends Object
| Constructor and Description |
|---|
GuestOrUserUtil() |
| Modifier and Type | Method and Description |
|---|---|
static User |
getGuestOrUser() |
static User |
getGuestOrUser(User user) |
static long |
getGuestOrUserId() |
static PermissionChecker |
getPermissionChecker() |
static User |
getUser(long userId) |
static long |
getUserId() |
public static User getGuestOrUser() throws PortalException
PortalExceptionpublic static User getGuestOrUser(User user) throws PortalException
PortalExceptionpublic static long getGuestOrUserId()
throws PrincipalException
PrincipalExceptionpublic static PermissionChecker getPermissionChecker() throws PrincipalException
PrincipalExceptionpublic static User getUser(long userId) throws PortalException
PortalExceptionpublic static long getUserId()
throws PrincipalException
PrincipalException