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

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.page.psml.LinkImpl
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.om.page.Link, org.apache.jetspeed.page.document.Node

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

Link

Version:
$Id: LinkImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
private  String skin
           
private  String target
           
 
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()
           getType
 boolean grantViewActionAccess()
           grantViewActionAccess
 void setSkin(String skin)
           
 void setTarget(String target)
           
 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, 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, 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.om.page.Link
setUrl
 
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, 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

skin

private String skin

target

private String target
Constructor Detail

LinkImpl

public LinkImpl()
Method Detail

getType

public String getType()

getType

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

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
Returns:
Returns the target.

setTarget

public void setTarget(String target)
Specified by:
setTarget in interface org.apache.jetspeed.om.page.Link
Parameters:
target - The target to set.

grantViewActionAccess

public boolean grantViewActionAccess()

grantViewActionAccess

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

unmarshalled

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

Overrides:
unmarshalled in class DocumentImpl


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