com.primix.vlib.components
Class PersonLink

java.lang.Object
  |
  +--com.primix.tapestry.AbstractComponent
        |
        +--com.primix.tapestry.BaseComponent
              |
              +--com.primix.vlib.components.PersonLink
All Implemented Interfaces:
IComponent, IRender

public class PersonLink
extends BaseComponent

Creates a link to the PersonPage page using the external service.
Parameter Type Read / Write Required Default Description
primaryKey Integer R yes   The primary key of the IPerson to create a link to.
name String R yes   The name of the person to create a link to.
omit boolean R no   If true, then the link is omitted and replaced with an  .

Informal parameters are not allowed. A body is not allowed.

Version:
$Id: PersonLink.java,v 1.7 2001/08/15 21:28:10 hship Exp $
Author:
Howard Ship

Fields inherited from class com.primix.tapestry.BaseComponent
outer, OUTER_INIT_SIZE, outerCount
 
Fields inherited from class com.primix.tapestry.AbstractComponent
id, page, specification, wrapped, wrappedCount
 
Constructor Summary
PersonLink()
           
 
Method Summary
 java.lang.String[] getContext()
          The context has two elements.
 IBinding getNameBinding()
           
 IBinding getOmitBinding()
           
 IBinding getPrimaryKeyBinding()
           
 boolean getShowLink()
           
 void setNameBinding(IBinding value)
           
 void setOmitBinding(IBinding value)
           
 void setPrimaryKeyBinding(IBinding value)
           
 
Methods inherited from class com.primix.tapestry.BaseComponent
addOuter, finishLoad, readTemplate, render
 
Methods inherited from class com.primix.tapestry.AbstractComponent
addAsset, addComponent, addWrapped, cleanupAfterRender, cleanupComponent, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getPage, getSpecification, prepareForRender, renderWrapped, reset, setBinding, setContainer, setId, setPage, setSpecification, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersonLink

public PersonLink()
Method Detail

getPrimaryKeyBinding

public IBinding getPrimaryKeyBinding()

setPrimaryKeyBinding

public void setPrimaryKeyBinding(IBinding value)

getNameBinding

public IBinding getNameBinding()

setNameBinding

public void setNameBinding(IBinding value)

getOmitBinding

public IBinding getOmitBinding()

setOmitBinding

public void setOmitBinding(IBinding value)

getShowLink

public boolean getShowLink()

getContext

public java.lang.String[] getContext()
The context has two elements. The first is the page to jump to ("Person", for PersonPage), the second is the primary key of the person.