Method Summary |
|
public VersionableItem | archiveItem(boolean data) |
protected void | checkIsUpdateable() This will check to see if the node is the "head" and
so can be updated (you can't update historical nodes ). |
public void | checkin(String comment) This will save the content (if it hasn't been already) and
then check it in to create a new version. |
public void | checkout() This will check out the node prior to editing. |
public String | getCheckinComment() This will return the checkin comment for the latest revision. |
public String | getCoverage() Typically, Coverage will include spatial location
(a place name or geographic coordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity). |
public Calendar | getCreatedDate() This returns the date/time on which the asset was "ORIGINALLY CREATED". |
public String | getCreator() This is the person who initially created the resource. |
public String | getDescription() |
public String | getExternalRelation() A reference to a EXTERNAL related resource. |
public String | getExternalSource() This is the source of the asset/rule. |
public String | getFormat() This returns the format of an item.
This is analagous to a file extension
if the resource was a file (it may contain more information
then a pure file extension could, however). |
public String | getLastContributor() Returns the last contributors name. |
public Calendar | getLastModified() |
protected long | getLongProperty(String property) |
public String | getName() |
abstract public VersionableItem | getPrecedingVersion() Clients of this method can cast the resulting object to the type of object they are
calling the method on (e.g. |
protected Node | getPrecedingVersionNode() |
ItemVersionIterator | getPredecessorVersionsIterator() |
public String | getPublisher() Examples of Publisher include a person, an organization, or a service. |
protected Node | getRealContentFromVersion(Node node) This deals with a node which *may* be a version, if it is, it grabs the frozen copy. |
public String | getRights() Optionally contains any copyright/ownership rights for the asset. |
public StateItem | getState() |
public String | getStateDescription() This will return the current state item as a displayable thing. |
protected String | getStringProperty(String property) |
public String | getSubject() Typically,
Subject will be expressed as keywords,
key phrases or classification codes that describe a topic of the resource. |
abstract public VersionableItem | getSucceedingVersion() Clients of this method can cast the resulting object to the type of object they are
calling the method on (e.g. |
protected Node | getSucceedingVersionNode() |
ItemVersionIterator | getSuccessorVersionsIterator() |
public String | getTitle() Gets the Title of the versionable node. |
public String | getType() This is the Dublin Core field of type (a broad classification of resource type). |
public String | getUUID() |
public Node | getVersionContentNode() When retrieving content, if we are dealing with a version in the history,
we need to get the actual content node to retrieve values. |
public long | getVersionNumber() get this version number (default is incrementing integer, but you
can provide an implementation of VersionNumberGenerator if needed). |
public String | getVersionSnapshotUUID() This returns the id of the exact version node (as opposed to the "main" node). |
public boolean | isArchived() |
public boolean | isHistoricalVersion() This will return true if the current entity is actually a
historical version (which means is effectively read only). |
public boolean | sameState(StateItem other) |
public void | updateCoverage(String cov) |
public void | updateDescription(String newDescriptionContent) Creates a new version of this object's node, updating the description content
for the node. |
public void | updateExternalRelation(String rel) |
public void | updateExternalSource(String source) |
public void | updateFormat(String newFormat) This sets the format (or "file extension" of the resource). |
public void | updatePublisher(String pub) |
public void | updateRights(String rights) |
public void | updateState(String stateName) |
public void | updateState(StateItem stateItem) |
protected void | updateStringProperty(String value, String prop) update a text field. |
public void | updateSubject(String sub) |
public void | updateTitle(String title) |
public void | updateType(String type) |