/** * Construct */ public IsImmutableProperty(ServiceRegistry serviceRegistry, CMISConnector connector) { super(serviceRegistry, connector, PropertyIds.IS_IMMUTABLE); lockService = serviceRegistry.getLockService(); }
/** * Construct */ public IsImmutableProperty(ServiceRegistry serviceRegistry, CMISConnector connector) { super(serviceRegistry, connector, PropertyIds.IS_IMMUTABLE); lockService = serviceRegistry.getLockService(); }
/** * Removes the lock on a node. * */ public void unlock() { this.services.getLockService().unlock(this.nodeRef); }
/** * Removes the lock on a node. * */ public void unlock() { this.services.getLockService().unlock(this.nodeRef); }
/** * Construct */ protected CanCheckOutActionEvaluator(ServiceRegistry serviceRegistry) { super(serviceRegistry, Action.CAN_CHECK_OUT); permissionEvaluator = new PermissionActionEvaluator( serviceRegistry, Action.CAN_CHECK_OUT, PermissionService.CHECK_OUT); lockService = serviceRegistry.getLockService(); }
/** * Construct */ protected CanCheckOutActionEvaluator(ServiceRegistry serviceRegistry) { super(serviceRegistry, Action.CAN_CHECK_OUT); permissionEvaluator = new PermissionActionEvaluator( serviceRegistry, Action.CAN_CHECK_OUT, PermissionService.CHECK_OUT); lockService = serviceRegistry.getLockService(); }
/** * @return true if the node is currently locked */ public boolean getIsLocked() { boolean locked = false; if (getAspects().contains(ContentModel.ASPECT_LOCKABLE)) { locked = this.services.getLockService().isLocked(this.nodeRef); } return locked; }
/** * @return true if the node is currently locked */ public boolean getIsLocked() { boolean locked = false; if (getAspects().contains(ContentModel.ASPECT_LOCKABLE)) { locked = this.services.getLockService().isLocked(this.nodeRef); } return locked; }
/** * @return true if the node is currently locked */ public boolean getIsLocked() { boolean locked = false; if (getAspectsSet().contains(ContentModel.ASPECT_LOCKABLE)) { locked = this.services.getLockService().isLocked(this.nodeRef); } return locked; }
/** * @return true if the node is currently locked */ public boolean getIsLocked() { boolean locked = false; if (getAspectsSet().contains(ContentModel.ASPECT_LOCKABLE)) { locked = this.services.getLockService().isLocked(this.nodeRef); } return locked; }
serviceRegistry.getLockService().checkForLock(nodeRef);
serviceRegistry.getLockService().checkForLock(nodeRef);
this.ruleService = serviceRegistry.getRuleService(); this.cociService = serviceRegistry.getCheckOutCheckInService(); this.lockService = serviceRegistry.getLockService(); this.copyService = serviceRegistry.getCopyService(); this.contentService = serviceRegistry.getContentService();
LockService lockService = serviceRegistry.getLockService();