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:
java.io.Serializable, SecuredResource, BaseElement, Document, Node
Direct Known Subclasses:
FolderMetaDataImpl, LinkImpl, PageImpl, PageSecurityImpl

public abstract class DocumentImpl
extends AbstractNode
implements Document

Link

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

Field Summary
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Constructor Summary
DocumentImpl()
           
 
Method Summary
 java.lang.String getVersion()
          Gets the version number
 boolean isDirty()
           isDirty
 void setDirty(boolean dirty)
           setDirty
 void setVersion(java.lang.String version)
          Sets the version number
 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
 

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 java.lang.String getVersion()
Description copied from interface: Document
Gets the version number

Specified by:
getVersion in interface Document
Returns:
Returns the version.

setVersion

public void setVersion(java.lang.String version)
Description copied from interface: Document
Sets the version number

Specified by:
setVersion in interface Document
Parameters:
version - The version to set.

isDirty

public boolean isDirty()
Description copied from interface: Document

isDirty

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

Specified by:
isDirty in interface Document
Overrides:
isDirty in class AbstractNode

setDirty

public void setDirty(boolean dirty)
Description copied from interface: Document

setDirty

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

Specified by:
setDirty in interface Document
Overrides:
setDirty in class AbstractNode


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