org.apache.jetspeed.om.page
Interface Link

All Superinterfaces:
BaseElement, Document, Node, SecuredResource

public interface Link
extends Document

Link

Version:
$Id: Link.java 881862 2009-11-18 18:24:48Z rwatler $
Author:
Scott T. Weaver

Field Summary
static java.lang.String DOCUMENT_TYPE
           
 
Fields inherited from interface org.apache.jetspeed.page.document.Node
PATH_SEPARATOR, PATH_SEPARATOR_CHAR
 
Method Summary
 java.lang.String getSkin()
          Returns the name of the skin associated to this link
 java.lang.String getTarget()
           
 void setSkin(java.lang.String skinName)
          Defines the skin for this link.
 void setTarget(java.lang.String target)
           
 void setUrl(java.lang.String url)
           
 
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, getType, getUrl, isHidden, setHidden, setParent, setPath
 
Methods inherited from interface org.apache.jetspeed.om.page.BaseElement
getId, getShortTitle, getTitle, isStale, 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

static final java.lang.String DOCUMENT_TYPE
See Also:
Constant Field Values
Method Detail

getSkin

java.lang.String getSkin()
Returns the name of the skin associated to this link


setSkin

void setSkin(java.lang.String skinName)
Defines the skin for this link. This skin should be known by the portal.

Parameters:
skinName - the name of the new skin applied to this link

setUrl

void setUrl(java.lang.String url)
Parameters:
url - The url to set.

getTarget

java.lang.String getTarget()
Returns:
Returns the target.

setTarget

void setTarget(java.lang.String target)
Parameters:
target - The target to set.


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.