public class GuestOrUserUtil
extends java.lang.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
PortalException
public static User getGuestOrUser(User user) throws PortalException
PortalException
public static long getGuestOrUserId() throws PrincipalException
PrincipalException
public static PermissionChecker getPermissionChecker() throws PrincipalException
PrincipalException
public static User getUser(long userId) throws PortalException
PortalException
public static long getUserId() throws PrincipalException
PrincipalException