org.apache.jetspeed.om.page.impl
Class LinkImpl

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
              extended by org.apache.jetspeed.om.page.impl.LinkImpl
All Implemented Interfaces:
org.apache.jetspeed.om.common.SecuredResource, org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.om.page.Link, org.apache.jetspeed.page.document.Node

public class LinkImpl
extends DocumentImpl
implements org.apache.jetspeed.om.page.Link

LinkImpl

Version:
$Id$
Author:
Randy Watler

Field Summary
private  String skin
           
private  String target
           
private  String url
           
 
Fields inherited from interface org.apache.jetspeed.om.page.Link
DOCUMENT_TYPE
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Constructor Summary
LinkImpl()
           
 
Method Summary
 String getSkin()
           
 String getTarget()
           
 String getType()
           
 String getUrl()
           
 boolean grantViewActionAccess()
          grantViewActionAccess
 PageMetadataImpl newPageMetadata(Collection fields)
          newPageMetadata Construct page manager specific metadata implementation.
 void setSkin(String skin)
           
 void setTarget(String target)
           
 void setUrl(String url)
           
 
Methods inherited from class org.apache.jetspeed.page.document.impl.DocumentImpl
getTitle, getVersion, isDirty, setDirty, setVersion
 
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, isHidden, 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, 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.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

skin

private String skin

target

private String target

url

private String url
Constructor Detail

LinkImpl

public LinkImpl()
Method Detail

newPageMetadata

public PageMetadataImpl newPageMetadata(Collection fields)
Description copied from class: NodeImpl
newPageMetadata Construct page manager specific metadata implementation.

Overrides:
newPageMetadata in class NodeImpl
Parameters:
fields - mutable fields collection
Returns:
page metadata

grantViewActionAccess

public boolean grantViewActionAccess()
Description copied from class: BaseElementImpl
grantViewActionAccess

Overrides:
grantViewActionAccess in class BaseElementImpl
Returns:
granted access for view action

getUrl

public String getUrl()
Specified by:
getUrl in interface org.apache.jetspeed.page.document.Node
Overrides:
getUrl in class NodeImpl

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface org.apache.jetspeed.om.page.Link

getSkin

public String getSkin()
Specified by:
getSkin in interface org.apache.jetspeed.om.page.Link

setSkin

public void setSkin(String skin)
Specified by:
setSkin in interface org.apache.jetspeed.om.page.Link

getTarget

public String getTarget()
Specified by:
getTarget in interface org.apache.jetspeed.om.page.Link

setTarget

public void setTarget(String target)
Specified by:
setTarget in interface org.apache.jetspeed.om.page.Link

getType

public String getType()
Specified by:
getType in interface org.apache.jetspeed.page.document.Node
Specified by:
getType in class NodeImpl


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