public boolean importParameter( SecurityCheckedParameter source, boolean overwrite, String newLabel )
{
// TODO double check if this needs to return newly added parameter
// also maybe add label checking to holder.addParam...
// and use overwrite also
SecurityCheckedParameterImpl param = ( SecurityCheckedParameterImpl )getParameterHolder().getParametarByLabel(
newLabel );
if( param != null )
{
if( overwrite )
{
param.setName( source.getName() );
param.setXpath( source.getXpath() );
param.setChecked( source.isChecked() );
return true;
}
else
{
return false;