com.liferay.portal.service.base
Class PrincipalBean
java.lang.Object
com.liferay.portal.service.base.PrincipalBean
public class PrincipalBean
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRUN_ANONYMOUS
public static final java.lang.String JRUN_ANONYMOUS
- See Also:
- Constant Field Values
ORACLE_ANONYMOUS
public static final java.lang.String ORACLE_ANONYMOUS
- See Also:
- Constant Field Values
SUN_ANONYMOUS
public static final java.lang.String SUN_ANONYMOUS
- See Also:
- Constant Field Values
WEBLOGIC_ANONYMOUS
public static final java.lang.String WEBLOGIC_ANONYMOUS
- See Also:
- Constant Field Values
ANONYMOUS_NAMES
public static final java.lang.String[] ANONYMOUS_NAMES
PrincipalBean
public PrincipalBean()
getGuestOrUserId
public long getGuestOrUserId()
throws PrincipalException
- Throws:
PrincipalException
getPermissionChecker
public PermissionChecker getPermissionChecker()
throws PrincipalException
- Throws:
PrincipalException
getUser
public User getUser()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserId
public long getUserId()
throws PrincipalException
- Throws:
PrincipalException