mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-1068 - Add fields foreignKeyType; foreignKeyValue
This commit is contained in:
@ -79,6 +79,12 @@ public class ScheduledJob extends QRecordEntity
|
||||
@QField(isRequired = true)
|
||||
private Boolean isActive;
|
||||
|
||||
@QField(maxLength = 100, valueTooLongBehavior = ValueTooLongBehavior.ERROR)
|
||||
private String foreignKeyType;
|
||||
|
||||
@QField(maxLength = 100, valueTooLongBehavior = ValueTooLongBehavior.ERROR)
|
||||
private String foreignKeyValue;
|
||||
|
||||
@QAssociation(name = ScheduledJobParameter.TABLE_NAME)
|
||||
private List<ScheduledJobParameter> jobParameters;
|
||||
|
||||
@ -493,4 +499,65 @@ public class ScheduledJob extends QRecordEntity
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for foreignKeyType
|
||||
*******************************************************************************/
|
||||
public String getForeignKeyType()
|
||||
{
|
||||
return (this.foreignKeyType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Setter for foreignKeyType
|
||||
*******************************************************************************/
|
||||
public void setForeignKeyType(String foreignKeyType)
|
||||
{
|
||||
this.foreignKeyType = foreignKeyType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Fluent setter for foreignKeyType
|
||||
*******************************************************************************/
|
||||
public ScheduledJob withForeignKeyType(String foreignKeyType)
|
||||
{
|
||||
this.foreignKeyType = foreignKeyType;
|
||||
return (this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Getter for foreignKeyValue
|
||||
*******************************************************************************/
|
||||
public String getForeignKeyValue()
|
||||
{
|
||||
return (this.foreignKeyValue);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Setter for foreignKeyValue
|
||||
*******************************************************************************/
|
||||
public void setForeignKeyValue(String foreignKeyValue)
|
||||
{
|
||||
this.foreignKeyValue = foreignKeyValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Fluent setter for foreignKeyValue
|
||||
*******************************************************************************/
|
||||
public ScheduledJob withForeignKeyValue(String foreignKeyValue)
|
||||
{
|
||||
this.foreignKeyValue = foreignKeyValue;
|
||||
return (this);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ public class ScheduledJobsMetaDataProvider
|
||||
.withRecordLabelFields("label")
|
||||
.withSection(new QFieldSection("identity", new QIcon().withName("badge"), Tier.T1, List.of("id", "label", "description")))
|
||||
.withSection(new QFieldSection("schedule", new QIcon().withName("alarm"), Tier.T2, List.of("cronExpression", "cronTimeZoneId", "repeatSeconds")))
|
||||
.withSection(new QFieldSection("settings", new QIcon().withName("tune"), Tier.T2, List.of("type", "isActive", "schedulerName")))
|
||||
.withSection(new QFieldSection("settings", new QIcon().withName("tune"), Tier.T2, List.of("type", "isActive", "schedulerName", "foreignKeyType", "foreignKeyValue")))
|
||||
.withSection(new QFieldSection("parameters", new QIcon().withName("list"), Tier.T2).withWidgetName(JOB_PARAMETER_JOIN_NAME))
|
||||
.withSection(new QFieldSection("dates", new QIcon().withName("calendar_month"), Tier.T3, List.of("createDate", "modifyDate")));
|
||||
|
||||
|
Reference in New Issue
Block a user