[Yanel-usage] Trying to understand ExecutableUsecaseResource
Michael Wechner
michael.wechner at wyona.com
Thu Mar 20 08:55:20 CET 2008
Josias Thöny wrote:
> Michael Wechner wrote:
>
>> Hi
>>
>> I am trying to better understand the ExecutableUsecaseResource,
>> whereas I have read the Javadoc.
>>
>> So I guess checkPreconditions is a mean to test for instance if input
>> parameters are correct, right?
>>
>> For example that an email address has an @ sign, etc right?
>
>
> yes, right.
> if checkPreconditions() is successful, then execute() is called. So
> it's a check to decide whether the usecase can be executed or not.
thanks.
Btw, is there already some documentation on this? Otherwise I will try
to add some. I guess it would make sense to add a section called:
Existing useful resources:
- Redirect resource
- Submit/Cancel aka ExecutableUsecaseResource
- ...
WDYT?
Cheers
Michi
>
> josias
>
>>
>> Thanks
>>
>> Michi
>>
>
>
> _______________________________________________
> Yanel-usage mailing list
> Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-usage
mailing list