/** * update a text field. This is a convenience method that just * uses the JCR node to set a property. * This will also update the timestamp. */ public void updateStringProperty(String value, String prop) { updateStringProperty(value, prop, true); }
/** * This sets the format (or "file extension" of the resource). * In some cases this is critical, and generally should not be changed * after the initial version is checked in. * * @param newFormat */ public void updateFormat(String newFormat) { this.updateStringProperty( newFormat, FORMAT_PROPERTY_NAME ); }
/** * See the Dublin Core documentation for more * explanation: http://dublincore.org/documents/dces/ * * @param title the new title for the node * @throws RulesRepositoryException */ public void updateTitle(String title) throws RulesRepositoryException { updateStringProperty( title, TITLE_PROPERTY_NAME ); }
/** * update a text field. This is a convenience method that just * uses the JCR node to set a property. * This will also update the timestamp. */ public void updateStringProperty(String value, String prop) { updateStringProperty(value, prop, true); }
/** * See the Dublin Core documentation for more * explanation: http://dublincore.org/documents/dces/ * * @param title the new title for the node * @throws RulesRepositoryException */ public void updateTitle(String title) throws RulesRepositoryException { updateStringProperty( title, TITLE_PROPERTY_NAME ); }
public void updateExternalRelation(String rel) { updateStringProperty( rel, RELATION_PROPERTY_NAME ); }
public void updateCoverage(String cov) { updateStringProperty( cov, COVERAGE_PROPERTY_NAME ); }
public void updateRights(String rights) { updateStringProperty( rights, RIGHTS_PROPERTY_NAME ); }
/** * This sets the format (or "file extension" of the resource). * In some cases this is critical, and generally should not be changed * after the initial version is checked in. * * @param newFormat */ public void updateFormat(String newFormat) { this.updateStringProperty( newFormat, FORMAT_PROPERTY_NAME ); }
public void updateRights(String rights) { updateStringProperty( rights, RIGHTS_PROPERTY_NAME ); }
public void updateExternalSource(String source) { updateStringProperty( source, SOURCE_PROPERTY_NAME ); }
public void updateSubject(String sub) { updateStringProperty( sub, SUBJECT_PROPERTY_NAME ); }
public void updatePublisher(String pub) { updateStringProperty( pub, PUBLISHER_PROPERTY_NAME ); }
public void updateSubject(String sub) { updateStringProperty( sub, SUBJECT_PROPERTY_NAME ); }
public void updateType(String type) { updateStringProperty( type, TYPE_PROPERTY_NAME ); }
public void updateCoverage(String cov) { updateStringProperty( cov, COVERAGE_PROPERTY_NAME ); }
public void updateType(String type) { updateStringProperty( type, TYPE_PROPERTY_NAME ); }
public void updateExternalSource(String source) { updateStringProperty( source, SOURCE_PROPERTY_NAME ); }
public void updatePublisher(String pub) { updateStringProperty( pub, PUBLISHER_PROPERTY_NAME ); }
public void updateExternalRelation(String rel) { updateStringProperty( rel, RELATION_PROPERTY_NAME ); }