com.liferay.portal.service
Class BaseServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
All Implemented Interfaces:
BaseService

public abstract class BaseServiceImpl
extends java.lang.Object
implements BaseService

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String[] ANONYMOUS_NAMES
           
static java.lang.String JRUN_ANONYMOUS
           
static java.lang.String ORACLE_ANONYMOUS
           
static java.lang.String SUN_ANONYMOUS
           
static java.lang.String WEBLOGIC_ANONYMOUS
           
 
Constructor Summary
BaseServiceImpl()
           
 
Method Summary
protected  java.lang.ClassLoader getClassLoader()
           
 User getGuestOrUser()
           
 long getGuestOrUserId()
           
 PermissionChecker getPermissionChecker()
           
 User getUser()
           
 long getUserId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANONYMOUS_NAMES

public static final java.lang.String[] ANONYMOUS_NAMES

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
Constructor Detail

BaseServiceImpl

public BaseServiceImpl()
Method Detail

getGuestOrUser

public User getGuestOrUser()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getGuestOrUserId

public long getGuestOrUserId()
                      throws PrincipalException
Throws:
PrincipalException

getPermissionChecker

public PermissionChecker getPermissionChecker()
                                       throws PrincipalException
Throws:
PrincipalException

getUser

public User getUser()
             throws PortalException,
                    SystemException
Throws:
PortalException
SystemException

getUserId

public long getUserId()
               throws PrincipalException
Throws:
PrincipalException

getClassLoader

protected java.lang.ClassLoader getClassLoader()