org.apache.jetspeed.om.page
Interface Document

All Superinterfaces:
BaseElement, Node, SecuredResource
All Known Subinterfaces:
ContentPage, Link, Page, PageSecurity

public interface Document
extends Node

Document

Version:
$Id: Document.java 551606 2007-06-28 16:07:53Z taylor $
Author:
Scott T. Weaver

Field Summary
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Method Summary
 String getVersion()
          Gets the version number
 boolean isDirty()
           isDirty
 void setDirty(boolean dirty)
           setDirty
 void setVersion(String versionNumber)
          Sets the version number
 
Methods inherited from interface org.apache.jetspeed.page.document.Node
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getType, getUrl, isHidden, setHidden, setParent, setPath
 
Methods inherited from interface org.apache.jetspeed.om.page.BaseElement
getId, getShortTitle, getTitle, setShortTitle, setTitle
 
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints
 

Method Detail

getVersion

String getVersion()
Gets the version number

Returns:
version number is a string composed of optionally point separated digits

setVersion

void setVersion(String versionNumber)
Sets the version number

Parameters:
versionNumber - version number is a string composed of optional point separated digits

isDirty

boolean isDirty()

isDirty

Whether this node is dirty, i.e. should be updated in the persistent store.

Parameters:
hidden - flag

setDirty

void setDirty(boolean dirty)

setDirty

Flag the node as dirty / clean, i.e. should be resp. should not be updated in the persistent store

Parameters:
hidden - flag


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.