org.efaps.ui.wicket.components.IRecent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of efaps-webapp Show documentation
Show all versions of efaps-webapp Show documentation
eFaps WebApp provides a web interface as the User Interface for eFaps
which can be easily expanded and altered.
/*
* Copyright 2003 - 2012 The eFaps Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Revision: $Rev: 7505 $
* Last Changed: $Date: 2012-05-11 13:14:52 -0500 (Fri, 11 May 2012) $
* Last Changed By: $Author: [email protected] $
*/
package org.efaps.ui.wicket.components;
import org.apache.wicket.Component;
import org.efaps.util.EFapsException;
/**
* Interface that must be implemented from a component if is used to navigate
* back to a recent page or object.
*
* @author The eFaps Team
* @version $Id: IRecent.java 7505 2012-05-11 18:14:52Z [email protected] $
*/
public interface IRecent
{
/**
* Open the Page the Link directs to.
*
* @param _openComponent Component that class the open command
* @throws EFapsException on any error
*/
void open(final Component _openComponent) throws EFapsException;
/**
* The String presented to the User to open this Link.
*
* @param _maxLength maximum Length of the Label
* @return the label of the link
* @throws EFapsException on any error
*/
String getLabel(final int _maxLength) throws EFapsException;
}