12-02-2009 07:45 AM
12-02-2009 08:22 AM
12-02-2009 08:56 AM
12-02-2009 02:01 PM
12-02-2009 02:24 PM
05-21-2014 05:06 PM
12-03-2009 12:12 PM
12-03-2009 01:26 PM
12-04-2009 04:26 AM
12-14-2009 07:46 AM
Yes you can use the RM services. But you will run into difficulty if, like the first post in this thread, you only do part of the required action.
Under the covers RM works via a set of "RMActions" and you can call those. Its exactly how the RM Share interface works.
// Add the declared aspect
Map<QName, Serializable> declaredProps = new HashMap<QName, Serializable>(2);
declaredProps.put(PROP_DECLARED_AT, new Date());
declaredProps.put(PROP_DECLARED_BY, AuthenticationUtil.getRunAsUser());
this.nodeService.addAspect(actionedUponNodeRef, ASPECT_DECLARED_RECORD, declaredProps);
// remove all owner related rights
this.ownableService.setOwner(actionedUponNodeRef, OwnableService.NO_OWNER);
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.