|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.ServiceImpl
org.activiti.engine.impl.IdentityServiceImpl
public class IdentityServiceImpl
字段摘要 |
---|
从类 org.activiti.engine.impl.ServiceImpl 继承的字段 |
---|
commandExecutor |
构造方法摘要 | |
---|---|
IdentityServiceImpl()
|
方法摘要 | |
---|---|
boolean |
checkPassword(String userId,
String password)
Checks if the password is valid for the given user. |
GroupQuery |
createGroupQuery()
Creates a GroupQuery thats allows to programmatically query the groups. |
void |
createMembership(String userId,
String groupId)
|
NativeGroupQuery |
createNativeGroupQuery()
Returns a new NativeQuery for tasks. |
NativeUserQuery |
createNativeUserQuery()
Returns a new NativeQuery for tasks. |
UserQuery |
createUserQuery()
Creates a UserQuery that allows to programmatically query the users. |
void |
deleteGroup(String groupId)
Deletes the group. |
void |
deleteMembership(String userId,
String groupId)
Delete the membership of the user in the group. |
void |
deleteUser(String userId)
|
void |
deleteUserInfo(String userId,
String key)
Delete an entry of the generic extensibility key-value pairs associated with a user |
String |
getUserInfo(String userId,
String key)
Generic extensibility key-value pairs associated with a user |
List<String> |
getUserInfoKeys(String userId)
Generic extensibility keys associated with a user |
Picture |
getUserPicture(String userId)
Retrieves the picture for a given user. |
Group |
newGroup(String groupId)
Creates a new group. |
User |
newUser(String userId)
Creates a new user. |
void |
saveGroup(Group group)
Saves the group. |
void |
saveUser(User user)
Saves the user. |
void |
setAuthenticatedUserId(String authenticatedUserId)
Passes the authenticated user id for this particular thread. |
void |
setUserInfo(String userId,
String key,
String value)
Generic extensibility key-value pairs associated with a user |
void |
setUserPicture(String userId,
Picture picture)
Sets the picture for a given user. |
从类 org.activiti.engine.impl.ServiceImpl 继承的方法 |
---|
getCommandExecutor, setCommandExecutor |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public IdentityServiceImpl()
方法详细信息 |
---|
public Group newGroup(String groupId)
IdentityService
复制的描述IdentityService.saveGroup(Group)
.
IdentityService
中的 newGroup
groupId
- id for the new group, cannot be null.public User newUser(String userId)
IdentityService
复制的描述IdentityService.saveUser(User)
.
IdentityService
中的 newUser
userId
- id for the new user, cannot be null.public void saveGroup(Group group)
IdentityService
复制的描述
IdentityService
中的 saveGroup
group
- group to save. Cannot be null.public void saveUser(User user)
IdentityService
复制的描述
IdentityService
中的 saveUser
user
- user to save, cannot be null.public UserQuery createUserQuery()
IdentityService
复制的描述UserQuery
that allows to programmatically query the users.
IdentityService
中的 createUserQuery
public NativeUserQuery createNativeUserQuery()
IdentityService
复制的描述NativeQuery
for tasks.
IdentityService
中的 createNativeUserQuery
public GroupQuery createGroupQuery()
IdentityService
复制的描述GroupQuery
thats allows to programmatically query the groups.
IdentityService
中的 createGroupQuery
public NativeGroupQuery createNativeGroupQuery()
IdentityService
复制的描述NativeQuery
for tasks.
IdentityService
中的 createNativeGroupQuery
public void createMembership(String userId, String groupId)
IdentityService
中的 createMembership
userId
- the userId, cannot be null.groupId
- the groupId, cannot be null.public void deleteGroup(String groupId)
IdentityService
复制的描述
IdentityService
中的 deleteGroup
groupId
- id of the group that should be deleted, cannot be null.public void deleteMembership(String userId, String groupId)
IdentityService
复制的描述
IdentityService
中的 deleteMembership
userId
- the user's id, cannot be null.groupId
- the group's id, cannot be null.public boolean checkPassword(String userId, String password)
IdentityService
复制的描述
IdentityService
中的 checkPassword
public void deleteUser(String userId)
IdentityService
中的 deleteUser
userId
- id of user to delete, cannot be null. When an id is passed
for an unexisting user, this operation is ignored.public void setUserPicture(String userId, Picture picture)
IdentityService
复制的描述
IdentityService
中的 setUserPicture
picture
- can be null to delete the picture.public Picture getUserPicture(String userId)
IdentityService
复制的描述
IdentityService
中的 getUserPicture
public void setAuthenticatedUserId(String authenticatedUserId)
IdentityService
复制的描述
IdentityService
中的 setAuthenticatedUserId
public String getUserInfo(String userId, String key)
IdentityService
复制的描述
IdentityService
中的 getUserInfo
public List<String> getUserInfoKeys(String userId)
IdentityService
复制的描述
IdentityService
中的 getUserInfoKeys
public void setUserInfo(String userId, String key, String value)
IdentityService
复制的描述
IdentityService
中的 setUserInfo
public void deleteUserInfo(String userId, String key)
IdentityService
复制的描述
IdentityService
中的 deleteUserInfo
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |