org.apache.jetspeed.om.page.psml
Class LinkImpl
java.lang.Object
org.apache.jetspeed.om.page.psml.AbstractBaseElement
org.apache.jetspeed.page.document.psml.AbstractNode
org.apache.jetspeed.om.page.psml.DocumentImpl
org.apache.jetspeed.om.page.psml.LinkImpl
- All Implemented Interfaces:
- java.io.Serializable, SecuredResource, BaseElement, Document, Link, Node
public class LinkImpl
- extends DocumentImpl
- implements Link
Link
- Version:
- $Id: LinkImpl.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Scott T. Weaver
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getSkin()
Returns the name of the skin associated to this link |
java.lang.String |
getTarget()
|
java.lang.String |
getType()
getType |
boolean |
grantViewActionAccess()
grantViewActionAccess |
void |
setSkin(java.lang.String skin)
Defines the skin for this link. |
void |
setTarget(java.lang.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.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.page.document.Node |
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getUrl, isHidden, setHidden, setParent, setPath |
LinkImpl
public LinkImpl()
getType
public java.lang.String getType()
getType
- Specified by:
getType
in interface Node
- Returns:
- See Also:
Node.getType()
getSkin
public java.lang.String getSkin()
- Description copied from interface:
Link
- Returns the name of the skin associated to this link
- Specified by:
getSkin
in interface Link
setSkin
public void setSkin(java.lang.String skin)
- Description copied from interface:
Link
- Defines the skin for this link. This skin should be
known by the portal.
- Specified by:
setSkin
in interface Link
- Parameters:
skin
- the name of the new skin applied to this link
getTarget
public java.lang.String getTarget()
- Specified by:
getTarget
in interface Link
- Returns:
- Returns the target.
setTarget
public void setTarget(java.lang.String target)
- Specified by:
setTarget
in interface 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-2009 Apache Software Foundation. All Rights Reserved.