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

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
              extended by org.apache.jetspeed.om.folder.psml.FolderMetaDataImpl
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

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

FolderMetaDataImpl

Version:
$Id: FolderMetaDataImpl.java 553014 2007-07-03 23:10:53Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  String defaultPage
           
private  DefaultsImpl defaults
           
private  List docOrder
           
static String DOCUMENT_TYPE
           
private  List menuDefinitions
          menuDefinitions - menu definitions for folder
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Constructor Summary
FolderMetaDataImpl()
           
 
Method Summary
 String getDefaultDecorator(String fragmentType)
           getDefaultDecorator
 String getDefaultPage()
           
 DefaultsImpl getDefaults()
          getDefaults - Castor access method for Defaults.
 List getDocumentOrder()
           getDocumentOrder
 List getMenuDefinitions()
          getMenuDefinitions - get list of menu definitions
 String getSkin()
           getSkin
 String getType()
           getType
 String getUrl()
           getUrl
 void marshalling()
          marshalling - notification that this instance is to be saved to the persistent store
 void setDefaultDecorator(String decoratorName, String fragmentType)
           setDefaultDecorator
 void setDefaultPage(String defaultPage)
           
 void setDefaults(DefaultsImpl defaults)
          setDefaults - Castor access method for Defaults.
 void setDocumentOrder(List docIndexes)
           setDocumentOrder
 void setMenuDefinitions(List definitions)
          setMenuDefinitions - set list of menu definitions
 void setSkin(String skinName)
           setSkin
 void unmarshalled()
          unmarshalled - notification that this instance has been loaded from the persistent store
 
Methods inherited from class org.apache.jetspeed.om.page.psml.DocumentImpl
getVersion, isDirty, setDirty, setVersion
 
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, 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, 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.om.page.Document
getVersion, isDirty, setDirty, setVersion
 
Methods inherited from interface org.apache.jetspeed.page.document.Node
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, 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

DOCUMENT_TYPE

public static final String DOCUMENT_TYPE
See Also:
Constant Field Values

defaults

private DefaultsImpl defaults

docOrder

private List 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:
document type

getUrl

public String getUrl()

getUrl

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

getSkin

public String getSkin()

getSkin

Returns:
skin for folder

setSkin

public void setSkin(String skinName)

setSkin

Parameters:
skinName - skin for folder

getDefaultDecorator

public String getDefaultDecorator(String fragmentType)

getDefaultDecorator

Parameters:
fragmentType - portlet or layout fragment type
Returns:
decorator name

setDefaultDecorator

public void setDefaultDecorator(String decoratorName,
                                String fragmentType)

setDefaultDecorator

Parameters:
decoratorName - decorator name
fragmentType - portlet or layout fragment type

getDocumentOrder

public List getDocumentOrder()

getDocumentOrder

Returns:
document order

setDocumentOrder

public void setDocumentOrder(List docIndexes)

setDocumentOrder

Parameters:
docIndexes -

getDefaultPage

public String getDefaultPage()
Returns:
Returns the defaultPage.

setDefaultPage

public void setDefaultPage(String defaultPage)
Parameters:
defaultPage - The defaultPage to set.

getMenuDefinitions

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

Returns:
definition list

setMenuDefinitions

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

Parameters:
definitions - definition list

getDefaults

public DefaultsImpl getDefaults()
getDefaults - Castor access method for Defaults.

Returns:
defaults instance

setDefaults

public void setDefaults(DefaultsImpl defaults)
setDefaults - Castor access method for Defaults.

Parameters:
defaults - defaults instance

unmarshalled

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

Overrides:
unmarshalled in class DocumentImpl

marshalling

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

Overrides:
marshalling in class AbstractBaseElement


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