mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Pass possibleValueSourceFilter through to frontend
This commit is contained in:
@ -29,6 +29,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
import com.kingsrook.qqq.backend.core.model.actions.tables.query.QQueryFilter;
|
||||
import com.kingsrook.qqq.backend.core.model.metadata.fields.FieldAdornment;
|
||||
import com.kingsrook.qqq.backend.core.model.metadata.fields.FieldBehavior;
|
||||
import com.kingsrook.qqq.backend.core.model.metadata.fields.FieldBehaviorForFrontend;
|
||||
@ -64,6 +65,7 @@ public class QFrontendFieldMetaData implements Serializable
|
||||
private List<FieldAdornment> adornments;
|
||||
private List<QHelpContent> helpContents;
|
||||
private QPossibleValueSource inlinePossibleValueSource;
|
||||
private QQueryFilter possibleValueSourceFilter;
|
||||
|
||||
private List<FieldBehaviorForFrontend> behaviors;
|
||||
private Map<String, QSupplementalFieldMetaData> supplementalFieldMetaData;
|
||||
@ -93,6 +95,7 @@ public class QFrontendFieldMetaData implements Serializable
|
||||
this.helpContents = fieldMetaData.getHelpContents();
|
||||
this.inlinePossibleValueSource = fieldMetaData.getInlinePossibleValueSource();
|
||||
this.maxLength = fieldMetaData.getMaxLength();
|
||||
this.possibleValueSourceFilter = fieldMetaData.getPossibleValueSourceFilter();
|
||||
|
||||
for(FieldBehavior<?> behavior : CollectionUtils.nonNullCollection(fieldMetaData.getBehaviors()))
|
||||
{
|
||||
@ -306,4 +309,15 @@ public class QFrontendFieldMetaData implements Serializable
|
||||
{
|
||||
return maxLength;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for possibleValueSourceFilter
|
||||
**
|
||||
*******************************************************************************/
|
||||
public QQueryFilter getPossibleValueSourceFilter()
|
||||
{
|
||||
return possibleValueSourceFilter;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user