public class OwDummyUserInfo extends Object implements com.wewebu.ow.server.ecm.OwUserInfo
Dummy Implementation for user information, used by credentials.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwDummyUserInfo(String userName_p) |
Modifier and Type | Method and Description |
---|---|
Collection |
getGroups()
get a list with group info the user is assigned to
|
Collection |
getRoleNames()
get a string list of role names for this user
|
String |
getUserDisplayName() |
String |
getUserEmailAdress()
get the user eMail Address
|
String |
getUserID()
get the user unique persistent ID, which does not change even when name changes
|
String |
getUserLongName()
get name of logged in user in the long descriptive form
|
String |
getUserName()
get the user login
|
String |
getUserShortName() |
boolean |
isGroup()
flag indication, that user info actually designates a group rather than a single user
|
void |
setEmailAddress(String emailAddress_p) |
void |
setGroup(boolean isGroup_p) |
void |
setRoleNames(Collection roleNames_p) |
void |
setStrLongUserName(String strLongUserName_p) |
void |
setUserId(String userId_p) |
void |
setUserName(String userName_p) |
public OwDummyUserInfo(String userName_p)
public void setEmailAddress(String emailAddress_p)
emailAddress_p
- The emailAddress to set.public void setGroup(boolean isGroup_p)
isGroup_p
- The isGroup to set.public void setStrLongUserName(String strLongUserName_p)
strLongUserName_p
- The strLongUserName to set.public void setUserId(String userId_p)
userId_p
- The userId to set.public void setUserName(String userName_p)
userName_p
- The userName to set.public String getUserLongName() throws Exception
getUserLongName
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public String getUserName() throws Exception
getUserName
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public String getUserEmailAdress() throws Exception
getUserEmailAdress
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public String getUserID()
getUserID
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
public Collection getRoleNames() throws Exception
getRoleNames
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public Collection getGroups() throws Exception
getGroups
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public void setRoleNames(Collection roleNames_p)
roleNames_p
- The roleNames to set.public boolean isGroup() throws Exception
isGroup
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
public String getUserDisplayName() throws Exception
getUserDisplayName
in interface com.wewebu.ow.server.conf.OwBaseUserInfo
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.