All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zkoss.zk.ui.ext.Blockable Maven / Gradle / Ivy

There is a newer version: 10.0.0-jakarta
Show newest version
/* Blockable.java

{{IS_NOTE
 Purpose:
  
 Description:
  
 History:
  Jul 14, 2011 12:28:40 PM , Created by simonpai
}}IS_NOTE

Copyright (C) 2011 Potix Corporation. All Rights Reserved.

{{IS_RIGHT
}}IS_RIGHT
*/
package org.zkoss.zk.ui.ext;

import org.zkoss.zk.au.AuRequest;

/**
 * An interface that allows a {@link org.zkoss.zk.ui.Component} to specify when 
 * to block an AuRequest from client, for security control.
 * @author simonpai
 * since 5.0.8
 */
public interface Blockable {

	/**
	 * Return true if the request shall be blocked.
	 */
	public boolean shallBlock(AuRequest request);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy