04-09-2009 08:40 AM
04-17-2009 02:34 AM
public class ExtCheckoutEvaluator extends CheckoutDocEvaluator
{
@Override
public boolean evaluate(Node node)
{
boolean status = false;
//……
// add your custom logic here…
//……
return status;
}
}
<action id="checkout_doc">
<evaluator>com.alfrescoexploration.customAction.ExtCheckoutEvaluator</evaluator>
<label-id>checkout</label-id>
<image>/images/icons/CheckOut_icon.gif</image>
<action-listener>#{CheckinCheckoutBean.setupContentAction}</action-listener>
<action>dialog:checkoutFile</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
05-02-2018 11:11 AM
kirit _ Does this Approach work only for the alfresco share interface or with the REST API or CMIS will work too?