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

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

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

Link

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

Field Summary
private  String target
           
 
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.page.Link
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
LinkImpl()
           
 
Method Summary
 String getTarget()
           
 String getType()
           getType
 boolean grantViewActionAccess()
           grantViewActionAccess
 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.page.document.AbstractNode
checkConstraints, checkPermissions, 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, clone, equals, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, hashCode, marshalling, 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.om.page.Link
setUrl
 
Methods inherited from interface org.apache.jetspeed.page.document.Node
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getUrl, 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

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()

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 AbstractNode


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