[jBPM Users] - Re: Start time of process instances
by sebastian.s
I am not too familiar with the source code but I took a look. Here's the interface HistoryProcessInstance. Since there is also a state active I suppose you can also access active process instances over this interface?
| public interface HistoryProcessInstance {
|
| /** when the full process instance has come to an end */
| String STATE_ENDED = "ended";
|
| /** when the full process instance is still active */
| String STATE_ACTIVE = "active";
|
| ..
|
| /** when the process instance started */
| Date getStartTime();
|
| ..
|
| }
|
The interface ProcessInstance just extends Execution:
| public interface ProcessInstance extends Execution {
| }
|
I checked and there is no getter or attribute for the start time.
So for me this means: When I work with the ExecutionService and a process instance is returned I cannot easily get the start time but I would have to do a query on the HistoryService for this instance to get the start time?
If I don't get anything wrong this turns out to be rather a discussion about the API for the development forum than for the users' forum.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256792#4256792
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256792
16 years, 7 months
[JBoss Portal Users] - No email in email validation registration
by junanax
Describe your environment:
JBoss Portal 2.6.4 - GA
Downloaded from jboss.org
JBoss AS Version (comes with the bundle)
Tomcat (other details cannot locate)
KUbuntu
I tried to set-up my email server configuration and encoded this:
jboss:service=Mail
portal:service=Module,type=IdentityServiceController
-1
smtp.gmail.com
xmarterportalmaster(a)gmail.com
jarredmartin
false
100000
10000
java:portal/MailModule
I tried to enable the email validation user registration of IdentityPortlet and encoded this:
<subscription-mode>jbp_identity_validation_approval_workflow</subscription-mode>
<admin-subscription-mode>jbp_identity_validation_approval_workflow</admin-subscription-mode>
<!--
overwrite-workflow: overwrites existing process definitions
-->
<overwrite-workflow>true</overwrite-workflow>
<!--
email-domain: used in the email template sent for email verification
-->
<email-domain>gmail.comm</email-domain>
<!--
email-from: sender address
-->
<email-from>xmarterportalmaster(a)gmail.com</email-from>
Problem: I tried to register a user but got no email for the validation.
Can anyone help me?
Thanks!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256791#4256791
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256791
16 years, 7 months
[JBoss Tools Users] - Re: Jboss Tools for Seam
by allforjava
Thank you Max, for the reply.
anonymous wrote : We support both generation from database and entities.
|
| If you by selective mean generate from a subset of the current entities then that is not available yet.
I meant generation of only entities/components without their views. Did you meant the same?
a. To restrict only view generation for some components/Entities. Instead of deleting each time.
b. Where I need only reflect modification in entities/components.
c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up.
d. Further page.xml are not generated for the components.
anonymous wrote : You mean only generate list and not home/edit and vice versa ?
| No - what is your usecase if you have the feature from above ?
No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form.
However there is no option to use existing entity/component to create the view. If wrong please correct.
3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed.
Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables.
And now expecting to generate only views with exisitng Entities/Components.
Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults.
Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be
and required views for it.
If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256784#4256784
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256784
16 years, 7 months
[JBoss Tools Users] - Re: Jboss Tools for Seam
by allforjava
Thank you Max, for the reply.
anonymous wrote : We support both generation from database and entities.
|
| If you by selective mean generate from a subset of the current entities then that is not available yet.
I meant generation of only entities/components without their views. Did you meant the same?
a. To restrict only view generation for some components/Entities. Instead of deleting each time.
b. Where I need only reflect modification in entities/components.
c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up.
anonymous wrote : You mean only generate list and not home/edit and vice versa ?
| No - what is your usecase if you have the feature from above ?
No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form.
However there is no option to use existing entity/component to create the view. If wrong please correct.
3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed.
Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables.
And now expecting to generate only views with exisitng Entities/Components.
Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults.
Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be
and required views for it.
If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256779#4256779
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256779
16 years, 7 months