EECA in webtools? Or elsewhere?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

EECA in webtools? Or elsewhere?

Anne Jessel
Hi

I'd like to see a list of all eecas for a single entity. I thought
this would be already in webtools, but I can't find it.

Am I not clicking on the right link, or is it not there?

Cheers,
Anne.

--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: [hidden email]

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

hans_bakker
Good point, perhaps we should add it to the entity reference....

Regards,
hans

On Fri, 2011-09-16 at 13:11 +1000, Anne wrote:

> Hi
>
> I'd like to see a list of all eecas for a single entity. I thought
> this would be already in webtools, but I can't find it.
>
> Am I not clicking on the right link, or is it not there?
>
> Cheers,
> Anne.
>

--
Ofbiz on twitter: http://twitter.com/apache_ofbiz
Alternative ofbiz website: http://www.ofbiz.info
http://www.antwebsystems.com : Quality services for competitive rates.

Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

Anne Jessel
Ahh, so that's why I couldn't find it. Thanks. Thought I was looking
in the wrong place.

Cheers,
Anne.

On 16 September 2011 13:29, Hans Bakker <[hidden email]> wrote:

> Good point, perhaps we should add it to the entity reference....
>
> Regards,
> hans
>
> On Fri, 2011-09-16 at 13:11 +1000, Anne wrote:
>> Hi
>>
>> I'd like to see a list of all eecas for a single entity. I thought
>> this would be already in webtools, but I can't find it.
>>
>> Am I not clicking on the right link, or is it not there?
>>
>> Cheers,
>> Anne.
>>
>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Alternative ofbiz website: http://www.ofbiz.info
> http://www.antwebsystems.com : Quality services for competitive rates.
>
>



--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: [hidden email]

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/
Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

BJ Freeman
In reply to this post by Anne Jessel
it is listed under the service of an entity, in artifactinfo.
https://demo-trunk.ofbiz.apache.org:8443/webtools/control/ArtifactInfo
put in a name and select a type of just click find.
like Person
then scroll down to the services area. click on a service
you will see
Service ECA Rules Triggered By This Service
and
Service ECA Rules Calling This Service



Anne sent the following on 9/15/2011 8:11 PM:

> Hi
>
> I'd like to see a list of all eecas for a single entity. I thought
> this would be already in webtools, but I can't find it.
>
> Am I not clicking on the right link, or is it not there?
>
> Cheers,
> Anne.
>
Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

BJ Freeman
Sorry missed EECA just woke up
but Artifactinfo is where it should go


BJ Freeman sent the following on 9/15/2011 11:45 PM:

> it is listed under the service of an entity, in artifactinfo.
> https://demo-trunk.ofbiz.apache.org:8443/webtools/control/ArtifactInfo
> put in a name and select a type of just click find.
> like Person
> then scroll down to the services area. click on a service
> you will see
> Service ECA Rules Triggered By This Service
> and
> Service ECA Rules Calling This Service
>
>
>
> Anne sent the following on 9/15/2011 8:11 PM:
>> Hi
>>
>> I'd like to see a list of all eecas for a single entity. I thought
>> this would be already in webtools, but I can't find it.
>>
>> Am I not clicking on the right link, or is it not there?
>>
>> Cheers,
>> Anne.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

BJ Freeman
take a look at
framework\webtools\src\org\ofbiz\webtools\artifactinfo\ServiceEcaArtifactInfo.java

BJ Freeman sent the following on 9/15/2011 11:49 PM:

> Sorry missed EECA just woke up
> but Artifactinfo is where it should go
>
>
> BJ Freeman sent the following on 9/15/2011 11:45 PM:
>> it is listed under the service of an entity, in artifactinfo.
>> https://demo-trunk.ofbiz.apache.org:8443/webtools/control/ArtifactInfo
>> put in a name and select a type of just click find.
>> like Person
>> then scroll down to the services area. click on a service
>> you will see
>> Service ECA Rules Triggered By This Service
>> and
>> Service ECA Rules Calling This Service
>>
>>
>>
>> Anne sent the following on 9/15/2011 8:11 PM:
>>> Hi
>>>
>>> I'd like to see a list of all eecas for a single entity. I thought
>>> this would be already in webtools, but I can't find it.
>>>
>>> Am I not clicking on the right link, or is it not there?
>>>
>>> Cheers,
>>> Anne.
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: EECA in webtools? Or elsewhere?

BJ Freeman
In reply to this post by Anne Jessel
been reviewing the Artifact code for my project.
ArtifactInfoFactory does have

    public static final String EntityInfoTypeId = "entity";
    public static final String ServiceInfoTypeId = "service";
    public static final String ServiceEcaInfoTypeId = "serviceEca";


    protected Map<String, Map<String, List<EntityEcaRule>>> entityEcaCache;
    protected Map<String, Map<String, List<ServiceEcaRule>>>
serviceEcaCache;
which is populated by
        this.entityEcaCache =
EntityEcaUtil.getEntityEcaCache(EntityEcaUtil.getEntityEcaReaderName(delegatorName));
        this.serviceEcaCache = ServiceEcaUtil.ecaCache;

but no
    public static final String EntityEcaInfoTypeId = "entityEca";

Hope that helps.

in the project I am hopping to put into webtools these will be gotten
from the files themselves.

Anne sent the following on 9/15/2011 11:33 PM:

> Ahh, so that's why I couldn't find it. Thanks. Thought I was looking
> in the wrong place.
>
> Cheers,
> Anne.
>
> On 16 September 2011 13:29, Hans Bakker <[hidden email]> wrote:
>> Good point, perhaps we should add it to the entity reference....
>>
>> Regards,
>> hans
>>
>> On Fri, 2011-09-16 at 13:11 +1000, Anne wrote:
>>> Hi
>>>
>>> I'd like to see a list of all eecas for a single entity. I thought
>>> this would be already in webtools, but I can't find it.
>>>
>>> Am I not clicking on the right link, or is it not there?
>>>
>>> Cheers,
>>> Anne.
>>>
>>
>> --
>> Ofbiz on twitter: http://twitter.com/apache_ofbiz
>> Alternative ofbiz website: http://www.ofbiz.info
>> http://www.antwebsystems.com : Quality services for competitive rates.
>>
>>
>
>
>