Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
@Property
public String getAuthor() {
	return JcrUtil.getString(getPrivateNode(), "myJcrPrefixWCBConstants.NAMESPACE_PREFIX + ":author");
}

public void setAuthor(String author) {
	JcrUtil.setString(getPrivateNode(),"myJcrPrefix WCBConstants.NAMESPACE_PREFIX + ":author", author);
}


Since the Author also must be editable in the Editor, we also add the metadata field to the Form backing object of the metadata part (CustomMediaItemVersionFBO.java). This is done in a similar way as we did it for the business object:

...