You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2011/10/01 05:56:05 UTC

Re: EECA in webtools? Or elsewhere?

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 <ma...@antwebsystems.com> 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.
>>
>>
> 
> 
>