org.efaps.ui.wicket.components
Class RecentObjectLink

java.lang.Object
  extended by org.efaps.ui.wicket.components.RecentObjectLink
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, IRecent

public class RecentObjectLink
extends Object
implements IRecent, org.apache.wicket.IClusterable

TODO comment!

Version:
$Id: RecentObjectLink.java 6107 2011-02-02 19:45:59Z jan@moxter.net $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
RecentObjectLink(AbstractUIPageObject _uiObject)
           
 
Method Summary
protected  org.efaps.db.Instance getInstance()
          Getter method for the instance variable instance.
protected  String getLabel()
          Getter method for the instance variable label.
 String getLabel(int _maxLength)
          The String presented to the User to open this Link.
 void open(org.apache.wicket.Component _openComponent)
          Open the Page the Link directs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentObjectLink

public RecentObjectLink(AbstractUIPageObject _uiObject)
                 throws org.efaps.util.EFapsException
Parameters:
_uiObject - uiObject this Link belongs to
Throws:
org.efaps.util.EFapsException - on error
Method Detail

open

public void open(org.apache.wicket.Component _openComponent)
          throws org.efaps.util.EFapsException
Open the Page the Link directs to.

Specified by:
open in interface IRecent
Parameters:
_openComponent - Component that class the open command
Throws:
org.efaps.util.EFapsException - on any error

getLabel

public String getLabel(int _maxLength)
                throws org.efaps.util.EFapsException
The String presented to the User to open this Link.

Specified by:
getLabel in interface IRecent
Parameters:
_maxLength - maximum Length of the Label
Returns:
the label of the link
Throws:
org.efaps.util.EFapsException - on any error

getLabel

protected String getLabel()
Getter method for the instance variable label.

Returns:
value of instance variable label

getInstance

protected org.efaps.db.Instance getInstance()
Getter method for the instance variable instance.

Returns:
value of instance variable instance


Copyright © 2003-2011 The eFaps Team. All Rights Reserved.