Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  * Enables/disables 'auto-approve'
  *
  * @param enabled <code>true</code> to enable 'auto-approve'
  */
 public void setAutoApprove(boolean enabled) {
   ProtocolInvoker.setAutoApprove(_harvestRepository.getProtocol(), enabled);
 }
Ejemplo n.º 3
0
 /**
  * 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());
 }
Ejemplo n.º 4
0
 /**
  * Checks if 'auto-approve' is enabled.
  *
  * @return <code>true</code> if 'auto-approve' is enabled
  */
 public boolean getAutoApprove() {
   return ProtocolInvoker.getAutoApprove(_harvestRepository.getProtocol());
 }
Ejemplo n.º 5
0
 /**
  * Enables/disables 'xml generation'
  *
  * @param enabled <code>true</code> to enable 'xml generation'
  */
 public void setUpdateDefinition(boolean enabled) {
   ProtocolInvoker.setUpdateDefinition(_harvestRepository.getProtocol(), enabled);
 }
Ejemplo n.º 6
0
 /**
  * Checks if 'xml generation' is enabled.
  *
  * @return <code>true</code> if 'xml generation' is enabled
  */
 public boolean getUpdateDefinition() {
   return ProtocolInvoker.getUpdateDefinition(_harvestRepository.getProtocol());
 }
Ejemplo n.º 7
0
 /**
  * Enables/disables 'deep harvest'
  *
  * @param enabled <code>true</code> to enable 'deep harvest'
  */
 public void setUpdateContent(boolean enabled) {
   ProtocolInvoker.setUpdateContent(_harvestRepository.getProtocol(), enabled);
 }
Ejemplo n.º 8
0
 /**
  * Checks if 'deep harvest' is enabled.
  *
  * @return <code>true</code> if 'deep harvest' is enabled
  */
 public boolean getUpdateContent() {
   return ProtocolInvoker.getUpdateContent(_harvestRepository.getProtocol());
 }