/** * Enables/disables 'lock-title' If a flag is set, it means a title is locked and synchronizer is * not allowed to update it, although all the rest of information is allowed to be updated. * * @param lockTitle <code>true</code> to enable 'lock-title' */ public void setLockTitle(boolean lockTitle) { ProtocolInvoker.setLockTitle(_harvestRepository.getProtocol(), lockTitle); }
/** * Enables/disables 'auto-approve' * * @param enabled <code>true</code> to enable 'auto-approve' */ public void setAutoApprove(boolean enabled) { ProtocolInvoker.setAutoApprove(_harvestRepository.getProtocol(), enabled); }
/** * Checks if 'lock-title' is enabled. If a flag is set, it means a title is locked and * synchronizer is not allowed to update it, although all the rest of information is allowed to be * updated. * * @return <code>true</code> if 'lock-title' is enabled */ public boolean getLockTitle() { return ProtocolInvoker.getLockTitle(_harvestRepository.getProtocol()); }
/** * Checks if 'auto-approve' is enabled. * * @return <code>true</code> if 'auto-approve' is enabled */ public boolean getAutoApprove() { return ProtocolInvoker.getAutoApprove(_harvestRepository.getProtocol()); }
/** * Enables/disables 'xml generation' * * @param enabled <code>true</code> to enable 'xml generation' */ public void setUpdateDefinition(boolean enabled) { ProtocolInvoker.setUpdateDefinition(_harvestRepository.getProtocol(), enabled); }
/** * Checks if 'xml generation' is enabled. * * @return <code>true</code> if 'xml generation' is enabled */ public boolean getUpdateDefinition() { return ProtocolInvoker.getUpdateDefinition(_harvestRepository.getProtocol()); }
/** * Enables/disables 'deep harvest' * * @param enabled <code>true</code> to enable 'deep harvest' */ public void setUpdateContent(boolean enabled) { ProtocolInvoker.setUpdateContent(_harvestRepository.getProtocol(), enabled); }
/** * Checks if 'deep harvest' is enabled. * * @return <code>true</code> if 'deep harvest' is enabled */ public boolean getUpdateContent() { return ProtocolInvoker.getUpdateContent(_harvestRepository.getProtocol()); }