org.apache.jetspeed.om.page
Interface Document

All Superinterfaces:
BaseElement, Node, SecuredResource
All Known Subinterfaces:
BaseConcretePageElement, BaseFragmentsElement, BasePageElement, Dashboard, DynamicPage, FragmentDefinition, Link, Page, PageSecurity, PageTemplate

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
 java.lang.String getVersion()
          Gets the version number
 boolean isDirty()
           isDirty
 void setDirty(boolean dirty)
           setDirty
 void setVersion(java.lang.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, isStale, setShortTitle, setTitle
 
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints
 

Method Detail

getVersion

java.lang.String getVersion()
Gets the version number

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

setVersion

void setVersion(java.lang.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-2011 The Apache Software Foundation. All Rights Reserved.