org.apache.jetspeed.om.page.psml
Class DocumentImpl

java.lang.Object
  extended by org.apache.jetspeed.om.page.psml.AbstractBaseElement
      extended by org.apache.jetspeed.page.document.psml.AbstractNode
          extended by org.apache.jetspeed.om.page.psml.DocumentImpl
All Implemented Interfaces:
Serializable, 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:
FolderMetaDataImpl, LinkImpl, PageImpl, PageSecurityImpl

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

Link

Version:
$Id: LinkImpl.java 314803 2005-10-12 06:35:19Z rwatler $
Author:
Scott T. Weaver
See Also:
Serialized Form

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()
           
 
Method Summary
 String getVersion()
           
 boolean isDirty()
           
 void setDirty(boolean dirty)
           
 void setVersion(String version)
           
 void unmarshalled()
          unmarshalled - notification that this instance has been loaded from the persistent store
 
Methods inherited from class org.apache.jetspeed.page.document.psml.AbstractNode
checkConstraints, checkPermissions, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getMetadataFields, getName, getParent, getParent, getPath, getPhysicalPermissionPath, getProfiledPath, getShortTitle, getTitle, getTitleName, getUrl, isHidden, setHidden, setMetadata, setMetadataFields, setParent, setPath, setProfiledPath, setUrl
 
Methods inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement
checkAccess, checkAccess, checkConstraints, checkPermissions, checkPermissions, equals, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, hashCode, marshalling, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setHandlerFactory, setId, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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, getTitle, 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()
Method Detail

unmarshalled

public void unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store

Overrides:
unmarshalled in class AbstractNode

getVersion

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

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface org.apache.jetspeed.om.page.Document
Parameters:
version - The version to set.

isDirty

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

setDirty

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


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