11-24-2009 02:01 PM
11-25-2009 12:29 PM
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
Map<QName, Serializable> properties = nodeService.getProperties(actionedUponNodeRef);
properties.put(SomeCoModel.PROP_IS_ACTIVE, activeFlag);
if (document.hasAspect("sc:webable")) {
if (document.properties["sc:isActive"] == true) {
document.properties["sc:isActive"] = false;
document.properties["sc:published"] = new Date();
document.save();
}
}
11-25-2009 12:59 PM
11-25-2009 01:17 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.