Class SimpleUserSystemService
- java.lang.Object
-
- org.kie.server.services.taskassigning.user.system.simple.SimpleUserSystemService
-
- All Implemented Interfaces:
org.kie.server.services.taskassigning.user.system.api.UserSystemService
public class SimpleUserSystemService extends Object implements org.kie.server.services.taskassigning.user.system.api.UserSystemService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSimpleUserSystemService.SimpleUserSystemServiceException
-
Field Summary
Fields Modifier and Type Field Description static StringAFFINITIES_FILEProperty name for configuring the path to the optional users affinities definition file.protected Exceptionerrorstatic StringNAMEstatic StringSKILLS_FILEProperty name for configuring the path to the optional users skills definition file.static StringUSERS_FILEProperty name for configuring the path to the users definition file.
-
Constructor Summary
Constructors Constructor Description SimpleUserSystemService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.kie.server.services.taskassigning.user.system.api.Group>findAllGroups()List<org.kie.server.services.taskassigning.user.system.api.User>findAllUsers()org.kie.server.services.taskassigning.user.system.api.UserfindUser(String id)StringgetName()voidstart()voidtest()
-
-
-
Field Detail
-
USERS_FILE
public static final String USERS_FILE
Property name for configuring the path to the users definition file.- See Also:
- Constant Field Values
-
SKILLS_FILE
public static final String SKILLS_FILE
Property name for configuring the path to the optional users skills definition file.- See Also:
- Constant Field Values
-
AFFINITIES_FILE
public static final String AFFINITIES_FILE
Property name for configuring the path to the optional users affinities definition file.- See Also:
- Constant Field Values
-
error
protected Exception error
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.kie.server.services.taskassigning.user.system.api.UserSystemService
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.kie.server.services.taskassigning.user.system.api.UserSystemService
-
findAllUsers
public List<org.kie.server.services.taskassigning.user.system.api.User> findAllUsers()
- Specified by:
findAllUsersin interfaceorg.kie.server.services.taskassigning.user.system.api.UserSystemService
-
findAllGroups
public List<org.kie.server.services.taskassigning.user.system.api.Group> findAllGroups()
-
test
public void test()
- Specified by:
testin interfaceorg.kie.server.services.taskassigning.user.system.api.UserSystemService
-
findUser
public org.kie.server.services.taskassigning.user.system.api.User findUser(String id)
- Specified by:
findUserin interfaceorg.kie.server.services.taskassigning.user.system.api.UserSystemService
-
-