mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Add support for running in an api-Versioned manner
This commit is contained in:
@ -32,13 +32,18 @@ import java.util.List;
|
|||||||
public class FilterAndColumnsSetupData extends QWidgetData
|
public class FilterAndColumnsSetupData extends QWidgetData
|
||||||
{
|
{
|
||||||
private String tableName;
|
private String tableName;
|
||||||
private Boolean allowVariables = false;
|
private Boolean allowVariables = false;
|
||||||
private Boolean hideColumns = false;
|
private Boolean hideColumns = false;
|
||||||
private Boolean hidePreview = false;
|
private Boolean hidePreview = false;
|
||||||
private Boolean hideSortBy = false;
|
private Boolean hideSortBy = false;
|
||||||
private Boolean overrideIsEditable;
|
private Boolean overrideIsEditable;
|
||||||
private List<String> filterDefaultFieldNames;
|
private List<String> filterDefaultFieldNames;
|
||||||
|
|
||||||
|
private Boolean isApiVersioned = false;
|
||||||
|
private String apiName;
|
||||||
|
private String apiPath;
|
||||||
|
private String apiVersion;
|
||||||
|
|
||||||
private String filterFieldName = "queryFilterJson";
|
private String filterFieldName = "queryFilterJson";
|
||||||
private String columnFieldName = "columnsJson";
|
private String columnFieldName = "columnsJson";
|
||||||
|
|
||||||
@ -293,6 +298,7 @@ public class FilterAndColumnsSetupData extends QWidgetData
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for overrideIsEditable
|
** Getter for overrideIsEditable
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@ -354,4 +360,127 @@ public class FilterAndColumnsSetupData extends QWidgetData
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for isApiVersioned
|
||||||
|
*******************************************************************************/
|
||||||
|
public Boolean getIsApiVersioned()
|
||||||
|
{
|
||||||
|
return (this.isApiVersioned);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Setter for isApiVersioned
|
||||||
|
*******************************************************************************/
|
||||||
|
public void setIsApiVersioned(Boolean isApiVersioned)
|
||||||
|
{
|
||||||
|
this.isApiVersioned = isApiVersioned;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for isApiVersioned
|
||||||
|
*******************************************************************************/
|
||||||
|
public FilterAndColumnsSetupData withIsApiVersioned(Boolean isApiVersioned)
|
||||||
|
{
|
||||||
|
this.isApiVersioned = isApiVersioned;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for apiName
|
||||||
|
*******************************************************************************/
|
||||||
|
public String getApiName()
|
||||||
|
{
|
||||||
|
return (this.apiName);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Setter for apiName
|
||||||
|
*******************************************************************************/
|
||||||
|
public void setApiName(String apiName)
|
||||||
|
{
|
||||||
|
this.apiName = apiName;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for apiName
|
||||||
|
*******************************************************************************/
|
||||||
|
public FilterAndColumnsSetupData withApiName(String apiName)
|
||||||
|
{
|
||||||
|
this.apiName = apiName;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for apiPath
|
||||||
|
*******************************************************************************/
|
||||||
|
public String getApiPath()
|
||||||
|
{
|
||||||
|
return (this.apiPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Setter for apiPath
|
||||||
|
*******************************************************************************/
|
||||||
|
public void setApiPath(String apiPath)
|
||||||
|
{
|
||||||
|
this.apiPath = apiPath;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for apiPath
|
||||||
|
*******************************************************************************/
|
||||||
|
public FilterAndColumnsSetupData withApiPath(String apiPath)
|
||||||
|
{
|
||||||
|
this.apiPath = apiPath;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Getter for apiVersion
|
||||||
|
*******************************************************************************/
|
||||||
|
public String getApiVersion()
|
||||||
|
{
|
||||||
|
return (this.apiVersion);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Setter for apiVersion
|
||||||
|
*******************************************************************************/
|
||||||
|
public void setApiVersion(String apiVersion)
|
||||||
|
{
|
||||||
|
this.apiVersion = apiVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************************************************************
|
||||||
|
** Fluent setter for apiVersion
|
||||||
|
*******************************************************************************/
|
||||||
|
public FilterAndColumnsSetupData withApiVersion(String apiVersion)
|
||||||
|
{
|
||||||
|
this.apiVersion = apiVersion;
|
||||||
|
return (this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user