How to get Alfresco Action status

杀马特。学长 韩版系。学妹 提交于 2019-12-12 03:35:23

问题


I have a problem. I have Alfresco 4. I'm create a rule(for INBOUND, OUTBOUND, UPDATE) and action for my scpecific folder. But when I hook the action in my java class(extending from ActionExecuterAbstractBase) I don't know, how to get status for node(what's happen - deleted, modified or created node). One way for resolved this problem - it's a comparison uploaded_date and modified_date properties from a node. But it's not good. If anyone know how to do it, please, answer. Thank you.


回答1:


2 ways to do this: 1) create 3 classes, which gets triggered by the right type.

2) I would just ad an extra parameter to your action, like status. And at the inbound rule just set inbound, etc. Then you can read the action.getParameterValue (check the Custom Actions Wiki).



来源:https://stackoverflow.com/questions/10687676/how-to-get-alfresco-action-status

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!