org.apache.jetspeed.om.folder.impl
Class FolderMetaDataImpl

java.lang.Object
  extended byorg.apache.jetspeed.om.page.psml.AbstractBaseElement
      extended byorg.apache.jetspeed.page.document.AbstractNode
          extended byorg.apache.jetspeed.om.folder.impl.FolderMetaDataImpl
All Implemented Interfaces:
org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.om.folder.FolderMetaData, org.apache.jetspeed.page.document.Node, org.apache.jetspeed.om.common.SecuredResource, Serializable

public class FolderMetaDataImpl
extends AbstractNode
implements org.apache.jetspeed.om.folder.FolderMetaData

FolderMetaDataImpl

Version:
$Id: FolderMetaDataImpl.java 216120 2005-07-13 06:40:27Z rwatler $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  String defaultPage
           
private  Vector docOrder
           
private  List menuDefinitions
          menuDefinitions - menu definitions for folder
 
Fields inherited from class org.apache.jetspeed.page.document.AbstractNode
 
Fields inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement
 
Fields inherited from interface org.apache.jetspeed.om.folder.FolderMetaData
DOCUMENT_TYPE
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Fields inherited from interface org.apache.jetspeed.om.common.SecuredResource
EDIT_ACTION, VIEW_ACTION
 
Constructor Summary
FolderMetaDataImpl()
           
 
Method Summary
 String getDefaultPage()
           
 Vector getDocumentOrder()
           getDocumentOrder
 List getMenuDefinitions()
          getMenuDefinitions - get list of menu definitions
 String getType()
           getType
 String getUrl()
           getUrl
 void marshalling()
          marshalling - notification that this instance is to be saved to the persistent store
 void setDefaultPage(String defaultPage)
           
 void setDocumentOrder(Vector docIndexes)
           setDocumentOrder
 void setMenuDefinitions(List definitions)
          setMenuDefinitions - set list of menu definitions
 void unmarshalled()
          unmarshalled - notification that this instance has been loaded from the persistent store
 
Methods inherited from class org.apache.jetspeed.page.document.AbstractNode
checkConstraints, checkPermissions, getLogicalPermissionPath, getMetadata, getMetadataFields, getName, getParent, getParent, getPath, getPhysicalPermissionPath, getProfiledPath, getShortTitle, getTitle, getTitleName, isHidden, setHidden, setMetadata, setMetadataFields, setParent, setPath, setProfiledPath, setUrl
 
Methods inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement
checkAccess, checkAccess, checkConstraints, checkPermissions, checkPermissions, clone, equals, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, hashCode, setConstraintsEnabled, setHandlerFactory, setId, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.page.document.Node
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, isHidden, setParent, setPath
 
Methods inherited from interface org.apache.jetspeed.om.page.BaseElement
getId, getShortTitle, getTitle, setId, setShortTitle, setTitle
 
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, setSecurityConstraints
 

Field Detail

docOrder

private Vector docOrder

defaultPage

private String defaultPage

menuDefinitions

private List menuDefinitions
menuDefinitions - menu definitions for folder

Constructor Detail

FolderMetaDataImpl

public FolderMetaDataImpl()
Method Detail

getType

public String getType()

getType

Specified by:
getType in interface org.apache.jetspeed.page.document.Node
Returns:
See Also:
Node.getType()

getUrl

public String getUrl()

getUrl

Specified by:
getUrl in interface org.apache.jetspeed.page.document.Node
Overrides:
getUrl in class AbstractNode
Returns:
See Also:
Node.getUrl()

getDocumentOrder

public Vector getDocumentOrder()

getDocumentOrder

Specified by:
getDocumentOrder in interface org.apache.jetspeed.om.folder.FolderMetaData
Returns:
See Also:
FolderMetaData.getDocumentOrder()

setDocumentOrder

public void setDocumentOrder(Vector docIndexes)

setDocumentOrder

Specified by:
setDocumentOrder in interface org.apache.jetspeed.om.folder.FolderMetaData
Parameters:
docIndexes -
See Also:
org.apache.jetspeed.om.folder.FolderMetaData#setDocumentOrder(java.util.List)

getDefaultPage

public String getDefaultPage()
Specified by:
getDefaultPage in interface org.apache.jetspeed.om.folder.FolderMetaData
Returns:
Returns the defaultPage.

setDefaultPage

public void setDefaultPage(String defaultPage)
Specified by:
setDefaultPage in interface org.apache.jetspeed.om.folder.FolderMetaData
Parameters:
defaultPage - The defaultPage to set.

getMenuDefinitions

public List getMenuDefinitions()
getMenuDefinitions - get list of menu definitions

Specified by:
getMenuDefinitions in interface org.apache.jetspeed.om.folder.FolderMetaData
Returns:
definition list

setMenuDefinitions

public void setMenuDefinitions(List definitions)
setMenuDefinitions - set list of menu definitions

Specified by:
setMenuDefinitions in interface org.apache.jetspeed.om.folder.FolderMetaData
Parameters:
definitions - definition list

unmarshalled

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

Overrides:
unmarshalled in class AbstractNode

marshalling

public void marshalling()
marshalling - notification that this instance is to be saved to the persistent store

Overrides:
marshalling in class AbstractBaseElement


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