Liferay 6.0-ee

com.liferay.portal.service.base
Class PrincipalBean

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
Direct Known Subclasses:
AccountServiceBaseImpl, AddressServiceBaseImpl, AnnouncementsDeliveryServiceBaseImpl, AnnouncementsEntryServiceBaseImpl, AnnouncementsFlagServiceBaseImpl, AssetCategoryPropertyServiceBaseImpl, AssetCategoryServiceBaseImpl, AssetEntryServiceBaseImpl, AssetTagPropertyServiceBaseImpl, AssetTagServiceBaseImpl, AssetVocabularyServiceBaseImpl, BlogsEntryServiceBaseImpl, BookmarksEntryServiceBaseImpl, BookmarksFolderServiceBaseImpl, CalEventServiceBaseImpl, ClassNameServiceBaseImpl, CompanyServiceBaseImpl, ContactServiceBaseImpl, CountryServiceBaseImpl, DLFileEntryServiceBaseImpl, DLFileShortcutServiceBaseImpl, DLFileVersionServiceBaseImpl, DLFolderServiceBaseImpl, EmailAddressServiceBaseImpl, ExpandoColumnServiceBaseImpl, ExpandoValueServiceBaseImpl, FlagsEntryServiceBaseImpl, GroupServiceBaseImpl, IGFolderServiceBaseImpl, IGImageServiceBaseImpl, ImageServiceBaseImpl, JournalArticleServiceBaseImpl, JournalFeedServiceBaseImpl, JournalStructureServiceBaseImpl, JournalTemplateServiceBaseImpl, LayoutPrototypeServiceBaseImpl, LayoutServiceBaseImpl, LayoutSetPrototypeServiceBaseImpl, LayoutSetServiceBaseImpl, ListTypeServiceBaseImpl, MBBanServiceBaseImpl, MBCategoryServiceBaseImpl, MBMessageFlagServiceBaseImpl, MBMessageServiceBaseImpl, MBThreadServiceBaseImpl, MembershipRequestServiceBaseImpl, OrganizationServiceBaseImpl, OrgLaborServiceBaseImpl, PasswordPolicyServiceBaseImpl, PermissionServiceBaseImpl, PhoneServiceBaseImpl, PluginSettingServiceBaseImpl, PollsQuestionServiceBaseImpl, PollsVoteServiceBaseImpl, PortalServiceBaseImpl, PortletPreferencesServiceBaseImpl, PortletServiceBaseImpl, RatingsEntryServiceBaseImpl, RegionServiceBaseImpl, ResourcePermissionServiceBaseImpl, ResourceServiceBaseImpl, RoleServiceBaseImpl, SCFrameworkVersionServiceBaseImpl, SCLicenseServiceBaseImpl, SCProductEntryServiceBaseImpl, SCProductVersionServiceBaseImpl, ShoppingCategoryServiceBaseImpl, ShoppingCouponServiceBaseImpl, ShoppingItemServiceBaseImpl, ShoppingOrderServiceBaseImpl, TasksProposalServiceBaseImpl, TasksReviewServiceBaseImpl, TeamServiceBaseImpl, ThemeServiceBaseImpl, UserGroupGroupRoleServiceBaseImpl, UserGroupRoleServiceBaseImpl, UserGroupServiceBaseImpl, UserServiceBaseImpl, WebsiteServiceBaseImpl, WikiNodeServiceBaseImpl, WikiPageServiceBaseImpl

public class PrincipalBean
extends Object


Field Summary
static String[] ANONYMOUS_NAMES
           
static String JRUN_ANONYMOUS
           
static String ORACLE_ANONYMOUS
           
static String SUN_ANONYMOUS
           
static String WEBLOGIC_ANONYMOUS
           
 
Constructor Summary
PrincipalBean()
           
 
Method Summary
 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

JRUN_ANONYMOUS

public static final String JRUN_ANONYMOUS
See Also:
Constant Field Values

ORACLE_ANONYMOUS

public static final String ORACLE_ANONYMOUS
See Also:
Constant Field Values

SUN_ANONYMOUS

public static final String SUN_ANONYMOUS
See Also:
Constant Field Values

WEBLOGIC_ANONYMOUS

public static final String WEBLOGIC_ANONYMOUS
See Also:
Constant Field Values

ANONYMOUS_NAMES

public static final String[] ANONYMOUS_NAMES
Constructor Detail

PrincipalBean

public PrincipalBean()
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

Liferay 6.0-ee