|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthero.session.UserSessionBean
The User Session Bean, is an stateless session bean that provides the user API to get information on
Todo list and started activities and to produce events on activities (start, terminate, cancel).
This Session Bean is based on Engine Session Bean: a recursive implementation that manage the previous execution operations
and propagates the activity state changes to the activities that are connected to this one.
The User Session Bean API provides information about user projects and activites (project list,
todo list and activity list) and also useful information about project instances or user
preferences. With this API users can performs his task/activities by using start, terminate and
cancel methods and also terminates workflow processes.
The following lines shows a sample code to use this API in your application:
First of all you have to import the User Session files:
import hero.interfaces.UserSessionLocalHome;
import hero.interfaces.UserSessionLocal;
import hero.interfaces.UserSessionHome;
import hero.interfaces.UserSession;
import hero.interfaces.UserSessionUtil;
Now, it is time to create the User Session instance:
Like this if you want to use local interfaces:
UserSessionLocalHome userh = (UserSessionLocalHome)hero.interfaces.UserSessionUtil.getLocalHome();
UserSessionLocal usersession = userh.create();
or like this if you use remote interfaces:
UserSessionHome userh = (UserSessionHome)hero.interfaces.UserSessionUtil.getHome();
UserSession usersession = userh.create();
Now you can call all User Sessions methods...
Field Summary |
Fields inherited from interface hero.util.EventConstants |
ADDEDGE, ADDITERATION, ADDNODE, ADDROLE, ADDUSERPROJECT, ANTICIPATING, CANCELED, CHANGEROLE, DELETEEDGE, DELETENODE, DELETEPROJECT, EDGE, EDGENAME, EVENT, FROM, ITERATION, LOG, NODE, NODEDEADLINE, NODEDEADLINES, NODEIN, NODENAME, NODEOUT, NODESTATE, NODETYPE, PROJECT, PROJECTNAME, READYINITIAL, ROLE, ROLENAME, SETEDGESTATE, SETNODEDEADLINE, SETNODEDEADLINES, SETNODEEXECUTOR, SETNODESTATE, SETUSERROLE, START, TERMINATED, TO, UNSETUSERROLE, USER, USERNAME, USERROLE |
Constructor Summary | |
UserSessionBean()
|
Method Summary | |
void |
cancelActivity(java.lang.String projectName,
java.lang.String nodeName)
Tries to cancel an activity (when activity is executing or anticipating) |
void |
deleteUserProperty(java.lang.String key)
Delete a property of a user |
void |
ejbActivate()
Internal Enterprise Java Beans method. |
void |
ejbCreate()
Creates the User Session Bean. |
void |
ejbPassivate()
Internal Enterprise Java Beans method. |
void |
ejbRemove()
Internal Enterprise Java Beans method. |
java.util.Collection |
getActivityList(java.lang.String projectName)
Obtain all user activities from specific project (executing and anticipating state) |
java.util.Collection |
getActivityListAllInstances()
Obtain executing user activities for all instances/cooperative projects (executing and anticipating state) |
java.util.Collection |
getActivityListAllInstancesAsPK()
Obtain executing user activities for all instances/cooperative projects (executing and anticipating state) |
java.util.Collection |
getActivityListAllInstancesByPK(java.util.Collection list,
int offset,
int numrows)
Obtain executing user activities for all instances/cooperative projects (executing and anticipating state) |
java.util.Collection |
getActivityListAsPK(java.lang.String projectName)
Obtain all user activities from specific project (executing and anticipating state) |
java.util.Collection |
getActivityListByPK(java.lang.String projectName,
java.util.Collection list,
int offset,
int numrows)
Obtain all user activities from specific project (executing and anticipating state) |
java.util.Collection |
getActivityListByProperty(java.lang.String key,
java.lang.String value)
Obtain executing user activities matching with property value (executing and anticipating state activities) |
java.util.Collection |
getActivityListByPropertyAsPK(java.lang.String key,
java.lang.String value)
Obtain executing user activities matching with property value (executing and anticipating state activities) |
java.util.Collection |
getActivityListByPropertyByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Obtain executing user activities matching with property value (executing and anticipating state activities) |
java.util.Collection |
getCooperativeList()
Get user cooperative projects list. |
java.util.Collection |
getCooperativeList(int offset,
int numrows)
Get user cooperative projects list. |
java.util.Collection |
getInstanceNodes(java.lang.String instanceName,
java.lang.String userName)
Get ready and executing activities for a user instance |
java.util.Collection |
getInstancesActivityTerminated(java.lang.String projectName,
java.lang.String nodeName)
Get activities model instances terminated by this user |
java.util.Collection |
getInstancesActivityTerminatedAsPK(java.lang.String projectName,
java.lang.String nodeName)
Get subset of activities model instances terminated by this user |
java.util.Collection |
getInstancesActivityTerminatedByPK(java.lang.String projectName,
java.lang.String nodeName,
java.util.Collection list,
int offset,
int numrows)
Get subset of activities model instances terminated by this user |
java.util.Collection |
getInstancesActivityTodoList(java.lang.String projectName,
java.lang.String nodeName)
Get activities model instances assigned to this user |
java.util.Collection |
getInstancesActivityTodoListAsPK(java.lang.String projectName,
java.lang.String nodeName)
Get subset of activities model instances assigned to this user |
java.util.Collection |
getInstancesActivityTodoListByPK(java.lang.String projectName,
java.lang.String nodeName,
java.util.Collection list,
int offset,
int numrows)
Get subset of activities model instances assigned to this user |
java.util.Collection |
getInstancesByProperty(java.lang.String key,
java.lang.String value)
Get Workflow instances from a property |
java.util.Collection |
getInstancesByPropertyAsPK(java.lang.String key,
java.lang.String value)
Get Workflow instances from a property |
java.util.Collection |
getInstancesByPropertyByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Get Workflow instances from a property |
java.util.Collection |
getInstancesByPropertyNames(java.lang.String key,
java.lang.String value)
Get Workflow instances from a property |
java.util.Collection |
getInstancesByPropertyNamesAsPK(java.lang.String key,
java.lang.String value)
Get Workflow instances from a property |
java.util.Collection |
getInstancesByPropertyNamesByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Get Workflow instances from a property |
java.util.Collection |
getInstancesList()
Get user instances list. |
java.util.Collection |
getInstancesList(int offset,
int numrows)
Get user instances list. |
java.util.Collection |
getInstancesListNames()
Get instances list names for this user. |
java.util.Collection |
getInstancesListNames(int offset,
int numrows)
Get instances list names for this user. |
int |
getListCount(java.lang.String projectName,
java.lang.String nodeName,
java.lang.String type)
Obtain a count of the various user entities. |
java.util.Collection |
getModelInstancesTerminated(java.lang.String projectName)
Get activities names of the model instances terminated by this user |
java.util.Collection |
getModelInstancesTerminated(java.lang.String projectName,
int offset,
int numrows)
Get activities names of the model instances terminated by this user |
java.util.Collection |
getModelInstancesTodoList(java.lang.String projectName)
Get activities names of the model instances assigned to this user |
java.util.Collection |
getModelInstancesTodoList(java.lang.String projectName,
int offset,
int numrows)
Get activities names of the model instances assigned to this user |
java.util.Collection |
getModelList()
Get user model list. |
java.util.Collection |
getModelList(int offset,
int numrows)
|
java.util.Collection |
getModels()
Get available workflow models. |
java.util.Collection |
getModelsAsPK()
Get available workflow models. |
java.util.Collection |
getModelsByPK(java.util.Collection list,
int offset,
int numrows)
Get available workflow models. |
java.util.Collection |
getModelsLight()
Get available workflow models. |
java.util.Collection |
getModelsLightAsPK()
Get available workflow models. |
java.util.Collection |
getModelsLightByPK(java.util.Collection list,
int offset,
int numrows)
Get available workflow models. |
BnNodeValue |
getNode(java.lang.String projectName,
java.lang.String nodeName)
Get Node Value from a specific project |
java.util.Collection |
getProjectInstances(java.lang.String projectName)
Get Workflow instances of this project |
java.util.Collection |
getProjectInstancesAsPK(java.lang.String projectName)
Get Workflow instances of this project |
java.util.Collection |
getProjectInstancesByPK(java.lang.String projectName,
java.util.Collection list,
int offset,
int numrows)
Get Workflow instances of this project |
java.util.Collection |
getProjectInstancesNames(java.lang.String projectName)
Get workflow instances names of this project |
java.util.Collection |
getProjectInstancesNamesAsPK(java.lang.String projectName)
Get workflow instances names of this project |
java.util.Collection |
getProjectInstancesNamesByPK(java.lang.String projectName,
java.util.Collection list,
int offset,
int numrows)
Get workflow instances names of this project |
java.util.Collection |
getProjectList()
Get user project list. |
java.util.Collection |
getProjectListNames()
Get project list names for this user (models/cooperative/instances) |
java.util.Collection |
getProjectsByProperty(java.lang.String key,
java.lang.String value)
Get Workflow projects from a property |
java.util.Collection |
getProjectsByPropertyAsPK(java.lang.String key,
java.lang.String value)
Get Workflow projects from a property |
java.util.Collection |
getProjectsByPropertyByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Get Workflow projects from a property |
java.util.Collection |
getProjectsByPropertyNames(java.lang.String key,
java.lang.String value)
Get Workflow projects from a property |
java.util.Collection |
getProjectsByPropertyNamesAsPK(java.lang.String key,
java.lang.String value)
Get Workflow projects from a property |
java.util.Collection |
getProjectsByPropertyNamesByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Get Workflow projects from a property |
java.util.Collection |
getTerminatedListAllInstances()
Obtain terminated user activities for all instances/cooperative projects. |
java.util.Collection |
getTerminatedListAllInstancesAsPK()
Obtain a subset of the terminated user activities for all instances/cooperative projects. |
java.util.Collection |
getTerminatedListAllInstancesByPK(java.util.Collection list,
int offset,
int numrows)
Obtain a subset of the terminated user activities for all instances/cooperative projects. |
java.util.Collection |
getToDoList(java.lang.String projectName)
Obtain all user activities from specific project (ready and anticipable state) |
java.util.Collection |
getToDoListAllInstances()
Obtain todo user activities for all instances/cooperative projects (ready and anticipable state) |
java.util.Collection |
getToDoListAllInstancesAsPK()
Obtain todo user activities for all instances/cooperative projects (ready and anticipable state) |
java.util.Collection |
getToDoListAllInstancesByPK(java.util.Collection list,
int offset,
int numrows)
Obtain todo user activities for all instances/cooperative projects (ready and anticipable state) |
java.util.Collection |
getToDoListAsPK(java.lang.String projectName)
Obtain all user activities from specific project (ready and anticipable state) |
java.util.Collection |
getToDoListByActivityProperty(java.lang.String key,
java.lang.String value)
Obtain todo user activities matching with activity property value (ready and anticipable state activities) |
java.util.Collection |
getToDoListByActivityPropertyAsPK(java.lang.String key,
java.lang.String value)
Obtain todo user activities matching with activity property value (ready and anticipable state activities) |
java.util.Collection |
getToDoListByActivityPropertyByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Obtain todo user activities matching with activity property value (ready and anticipable state activities) |
java.util.Collection |
getToDoListByPK(java.lang.String projectName,
java.util.Collection list,
int offset,
int numrows)
Obtain all user activities from specific project (ready and anticipable state) |
java.util.Collection |
getToDoListByProperties(int operation,
java.util.Hashtable properties)
Obtain todo user activities matching with project properties (ready and anticipable state activities) |
java.util.Collection |
getToDoListByPropertiesAsPK(int operation,
java.util.Hashtable properties)
Obtain todo user activities matching with project properties (ready and anticipable state activities) |
java.util.Collection |
getToDoListByPropertiesByPK(int operation,
java.util.Hashtable properties,
java.util.Collection list,
int offset,
int numrows)
Obtain todo user activities matching with project properties (ready and anticipable state activities) |
java.util.Collection |
getToDoListByProperty(java.lang.String key,
java.lang.String value)
Obtain todo user activities matching with project property value (ready and anticipable state activities) |
java.util.Collection |
getToDoListByPropertyAsPK(java.lang.String key,
java.lang.String value)
Obtain todo user activities matching with project property value (ready and anticipable state activities) |
java.util.Collection |
getToDoListByPropertyByPK(java.lang.String key,
java.lang.String value,
java.util.Collection list,
int offset,
int numrows)
Obtain todo user activities matching with project property value (ready and anticipable state activities) |
java.lang.String |
getUser()
Get the user name |
java.util.Collection |
getUserInstancesProject()
Get models names which have ongoing instances for this user |
java.util.Collection |
getUserInstancesProject(int offset,
int numrows)
Get models names which have ongoing instances for this user |
java.util.Collection |
getUserInstancesProjectNodes(java.lang.String projectName)
Get ready, anticipable and executing activities for current user instances |
java.util.Collection |
getUserInstancesProjectNodesAsPK(java.lang.String projectName)
Get a subset of the ready, anticipable and executing activities for current user instances |
java.util.Collection |
getUserInstancesProjectNodesByPK(java.lang.String projectName,
java.util.Collection list,
int offset,
int numrows)
Get a subset of the ready, anticipable and executing activities for current user instances |
java.lang.String |
getUserJabber()
Get the user jabber address |
BnUserLightValue |
getUserLightValue()
Get the user light value |
java.lang.String |
getUserMail(java.lang.String userName)
Get the mail of this user from Bonita database. |
java.lang.String |
getUserPassword()
Get the user password |
java.util.Collection |
getUserProperties()
Get User properties |
void |
removeProject(java.lang.String projectName)
Delete a Workflow project |
void |
setSessionContext(javax.ejb.SessionContext context)
Internal Enterprise Java Beans method. |
void |
setUserMail(java.lang.String userName,
java.lang.String mail)
Set the mail of this user into Bonita database. |
void |
setUserProperty(java.lang.String key,
java.lang.String value)
Set a property of a user |
void |
startActivity(java.lang.String projectName,
java.lang.String nodeName)
Tries to start an activity (when activity state is ready or anticipable) |
void |
terminate(java.lang.String projectName)
Tries to terminate a project (only when all project activities are terminated) |
void |
terminateActivity(java.lang.String projectName,
java.lang.String nodeName)
Tries to terminate an activity (when activity state is executing or anticipating) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserSessionBean()
Method Detail |
public java.util.Collection getProjectList() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectListNames() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesList() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesList(int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelList() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelList(int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModels() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelsLight() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelsAsPK() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelsByPK(java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelsLightAsPK() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelsLightByPK(java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getCooperativeList() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getCooperativeList(int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesListNames() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesListNames(int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public void removeProject(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getToDoList(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getToDoListAsPK(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getToDoListByPK(java.lang.String projectName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getActivityList(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getActivityListAsPK(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getActivityListByPK(java.lang.String projectName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getToDoListAllInstances() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getToDoListAllInstancesAsPK() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getToDoListAllInstancesByPK(java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getActivityListAllInstances() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getActivityListAllInstancesAsPK() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getActivityListAllInstancesByPK(java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getTerminatedListAllInstances() throws hero.util.HeroException
hero.util.HeroException
public int getListCount(java.lang.String projectName, java.lang.String nodeName, java.lang.String type) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getTerminatedListAllInstancesAsPK() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getTerminatedListAllInstancesByPK(java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getToDoListByProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getToDoListByPropertyAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getToDoListByPropertyByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getToDoListByProperties(int operation, java.util.Hashtable properties) throws hero.util.HeroException
operation
- AND/OR operations are allowed.properties
- Hashtable containing the key/value elements
hero.util.HeroException
public java.util.Collection getToDoListByPropertiesAsPK(int operation, java.util.Hashtable properties) throws hero.util.HeroException
operation
- AND/OR operations are allowed.properties
- Hashtable containing the key/value elements
hero.util.HeroException
public java.util.Collection getToDoListByPropertiesByPK(int operation, java.util.Hashtable properties, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
operation
- AND/OR operations are allowed.properties
- Hashtable containing the key/value elements
hero.util.HeroException
public java.util.Collection getToDoListByActivityProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getToDoListByActivityPropertyAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getToDoListByActivityPropertyByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getActivityListByProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getActivityListByPropertyAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getActivityListByPropertyByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
key
- the key of the propertyvalue
- the value of the property
hero.util.HeroException
public java.util.Collection getProjectInstancesNames(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getProjectInstancesNamesAsPK(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getProjectInstancesNamesByPK(java.lang.String projectName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getProjectInstances(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getProjectInstancesAsPK(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getProjectInstancesByPK(java.lang.String projectName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getInstancesByProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesByPropertyAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesByPropertyByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesByPropertyNames(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesByPropertyNamesAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getInstancesByPropertyNamesByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByPropertyAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByPropertyByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByPropertyNames(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByPropertyNamesAsPK(java.lang.String key, java.lang.String value) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getProjectsByPropertyNamesByPK(java.lang.String key, java.lang.String value, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getModelInstancesTodoList(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getModelInstancesTodoList(java.lang.String projectName, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getModelInstancesTerminated(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getModelInstancesTerminated(java.lang.String projectName, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public java.util.Collection getInstancesActivityTodoList(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getInstancesActivityTodoListAsPK(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getInstancesActivityTodoListByPK(java.lang.String projectName, java.lang.String nodeName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getInstancesActivityTerminated(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getInstancesActivityTerminatedAsPK(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getInstancesActivityTerminatedByPK(java.lang.String projectName, java.lang.String nodeName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.util.Collection getUserInstancesProject() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getUserInstancesProject(int offset, int numrows) throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getUserInstancesProjectNodes(java.lang.String projectName) throws hero.util.HeroException
projectName
- the project name
hero.util.HeroException
public java.util.Collection getInstanceNodes(java.lang.String instanceName, java.lang.String userName) throws hero.util.HeroException
instanceName
- the project nameuserName
- the caller's name
hero.util.HeroException
public java.util.Collection getUserInstancesProjectNodesAsPK(java.lang.String projectName) throws hero.util.HeroException
projectName
- the project name
hero.util.HeroException
public java.util.Collection getUserInstancesProjectNodesByPK(java.lang.String projectName, java.util.Collection list, int offset, int numrows) throws hero.util.HeroException
projectName
- the project name
hero.util.HeroException
public void startActivity(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public void terminateActivity(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public void cancelActivity(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public void terminate(java.lang.String projectName) throws hero.util.HeroException
projectName
- the name of the project
hero.util.HeroException
public BnNodeValue getNode(java.lang.String projectName, java.lang.String nodeName) throws hero.util.HeroException
projectName
- the name of the projectnodeName
- the name of the node
hero.util.HeroException
public java.lang.String getUser()
public BnUserLightValue getUserLightValue() throws hero.util.HeroException
hero.util.HeroException
public void setUserMail(java.lang.String userName, java.lang.String mail) throws hero.util.HeroException
userName
- the name of the user
hero.util.HeroException
public java.lang.String getUserMail(java.lang.String userName) throws hero.util.HeroException
userName
- the name of the user
hero.util.HeroException
public java.lang.String getUserPassword() throws hero.util.HeroException
hero.util.HeroException
public java.lang.String getUserJabber() throws hero.util.HeroException
hero.util.HeroException
public java.util.Collection getUserProperties() throws hero.util.HeroException
hero.util.HeroException
public void setUserProperty(java.lang.String key, java.lang.String value) throws hero.util.HeroException
key
- the key of the propertyvalue
- the name of the property
hero.util.HeroException
public void deleteUserProperty(java.lang.String key) throws hero.util.HeroException
key
- the key of the property
hero.util.HeroException
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public void setSessionContext(javax.ejb.SessionContext context)
setSessionContext
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |