org.apache.jetspeed.page.document.impl
Class DocumentImpl

java.lang.Object
  extended by org.apache.jetspeed.om.page.impl.BaseElementImpl
      extended by org.apache.jetspeed.page.document.impl.NodeImpl
          extended by org.apache.jetspeed.page.document.impl.DocumentImpl
All Implemented Interfaces:
org.apache.jetspeed.om.common.SecuredResource, org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.page.document.Node
Direct Known Subclasses:
LinkImpl, PageImpl, PageSecurityImpl

public abstract class DocumentImpl
extends NodeImpl
implements org.apache.jetspeed.om.page.Document

DocumentImpl

Version:
$Id$
Author:
Randy Watler

Field Summary
private  boolean dirty
           
private  String version
           
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Constructor Summary
DocumentImpl(SecurityConstraintsImpl constraints)
           
 
Method Summary
 String getTitle()
           
 String getVersion()
           
 boolean isDirty()
           
 void setDirty(boolean dirty)
           
 void setVersion(String version)
           
 
Methods inherited from class org.apache.jetspeed.page.document.impl.NodeImpl
checkConstraints, checkPermissions, defaultTitleFromName, getCanonicalNodePath, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getName, getPageMetadata, getParent, getPath, getPhysicalPermissionPath, getShortTitle, getTitle, getType, getUrl, isHidden, newPageMetadata, setHidden, setName, setParent, setPath
 
Methods inherited from class org.apache.jetspeed.om.page.impl.BaseElementImpl
checkAccess, checkConstraints, checkPermissions, checkPermissions, equals, getConstraintsEnabled, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, grantViewActionAccess, hashCode, newSecurityConstraint, newSecurityConstraints, resetCachedSecurityConstraints, setConstraintsEnabled, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
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, setShortTitle, setTitle
 
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints
 

Field Detail

version

private String version

dirty

private boolean dirty
Constructor Detail

DocumentImpl

public DocumentImpl(SecurityConstraintsImpl constraints)
Method Detail

getTitle

public String getTitle()
Specified by:
getTitle in interface org.apache.jetspeed.om.page.BaseElement
Overrides:
getTitle in class BaseElementImpl

getVersion

public String getVersion()
Specified by:
getVersion in interface org.apache.jetspeed.om.page.Document

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface org.apache.jetspeed.om.page.Document

isDirty

public boolean isDirty()
Specified by:
isDirty in interface org.apache.jetspeed.om.page.Document

setDirty

public void setDirty(boolean dirty)
Specified by:
setDirty in interface org.apache.jetspeed.om.page.Document


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