@Table("LongNameToAuthor") public interface Author extends Entity { @StringLength(60) String getName(); @StringLength(60) void setName(String name); @ManyToMany(Authorship.class) Book[] getBooks(); }
@Table(AoWebhookEvent.TABLE_NAME) public interface AoWebhookEvent extends Entity { String EVENT_ID_COLUMN = "EVENT_ID"; String TABLE_NAME = "WEBHOOK_EVENT"; String WEBHOOK_COLUMN = "WEBHOOK"; // This is used to allow foreign key style queries in AO. // It's standard for AO to just add 'ID' to the end of the column // specified by the Mutator/Accessor String WEBHOOK_COLUMN_QUERY = WEBHOOK_COLUMN + "ID"; @NotNull @Accessor(EVENT_ID_COLUMN) String getEventId(); @NotNull @Accessor(WEBHOOK_COLUMN) AoWebhook getWebhook(); @Mutator(EVENT_ID_COLUMN) void setEventId(@Nonnull String value); @Mutator(WEBHOOK_COLUMN) void setWebhook(@Nonnull AoWebhook webhook); }
@Table(AoWebhookConfigurationEntry.TABLE_NAME) public interface AoWebhookConfigurationEntry extends Entity {
@Table("AddOnPropertyAO" /* Do not change the value or case of this string */) public interface AddonPropertyAO extends Entity { int MAXIMUM_PROPERTY_KEY_LENGTH = 127;
@Table(AoWebhook.TABLE_NAME) public interface AoWebhook extends Entity {
@Table("WEB_HOOK_LISTENER_AO") public interface WebHookListenerAOV0 extends Entity
@Table("WebhookDao") interface IntermediateWebhookDao extends Entity { String getJql();
@Table ("ACTION_ENTITY") @Preload public static interface ActionEntity extends Entity { RuleEntity getRuleEntity(); @OneToMany ActionConfigEntity[] getActionConfiguration(); @StringLength (StringLength.UNLIMITED) String getCompleteModuleKey(); }
@Table ("TRIGGER_CONFIG_VALUE") @Preload public static interface TriggerConfigValueEntity extends Entity { TriggerConfigEntity getTriggerConfigEntity(); @StringLength (StringLength.UNLIMITED) String getParamValue(); }
@Table ("ACTION_MESSAGE") @Preload public static interface ActionMessage extends Entity { @StringLength (StringLength.UNLIMITED) String getMessage(); AuditMessageEntity getAuditMessageEntity(); }
@Table ("TRIGGER_ENTITY") @Preload public static interface TriggerEntity extends Entity { RuleEntity getRuleEntity(); @OneToMany TriggerConfigEntity[] getTriggerConfiguration(); @StringLength (StringLength.UNLIMITED) String getCompleteModuleKey(); }
@Table ("ACTION_CONFIG_VALUE") @Preload public static interface ActionConfigValueEntity extends Entity { ActionConfigEntity getActionConfigEntity(); @StringLength (StringLength.UNLIMITED) String getParamValue(); }
/** * @author Daniel Spiewak */ @Table("personDefence") @Preload("severity") public interface PersonLegalDefence extends Entity { public int getSeverity(); public void setSeverity(int severity); }
/** * ADMIN AUDIT LOG */ @Table("ADMIN_AUDIT_MESSAGE") @Preload public static interface AdminAuditMessageEntity extends Entity { Date getDate(); String getActor(); int getRuleId(); String getType(); @StringLength(StringLength.UNLIMITED) String getMessage(); } }
/** * EVENT AUDIT LOG */ @Table ("AUDIT_MESSAGE_ENTITY") @Preload public static interface AuditMessageEntity extends Entity { Date getDate(); String getActor(); int getRuleId(); @StringLength (StringLength.UNLIMITED) String getMessage(); @StringLength (StringLength.UNLIMITED) String getTriggerMessage(); @OneToMany ActionMessage[] getActionMessages(); @StringLength (StringLength.UNLIMITED) String getErrors(); }
@Table ("RULE_ENTITY") @Preload public static interface RuleEntity extends Entity { @NotNull @Unique String getRuleName(); void setRuleName(String name); @OneToOne TriggerEntity getTrigger(); @OneToMany ActionEntity[] getActions(); @NotNull String getActor(); void setActor(String actor); boolean getEnabled(); void setEnabled(boolean status); }
@Table ("TRIGGER_CONF_ENT") @Preload public static interface TriggerConfigEntity extends Entity { public static final String TRIGGER_CONFIG_ID = "TRIGGER_CONFIG_ENTITY_ID"; @StringLength (StringLength.UNLIMITED) String getParamKey(); TriggerEntity getTriggerEntity(); @OneToMany TriggerConfigValueEntity[] getTriggerConfigValues(); /** * @deprecated This has now been deprecated in favour of config values below. This method will eventually be removed */ @StringLength (StringLength.UNLIMITED) @Deprecated String getParamValue(); /** * @deprecated This has now been deprecated in favour of config values below. This method will eventually be removed */ @StringLength (StringLength.UNLIMITED) @Deprecated void setParamValue(final String paramValue); }
@Table ("ACTION_CONF_ENT") @Preload public static interface ActionConfigEntity extends Entity { public static final String ACTION_CONFIG_ID = "ACTION_CONFIG_ENTITY_ID"; @StringLength (StringLength.UNLIMITED) String getParamKey(); ActionEntity getActionEntity(); @OneToMany ActionConfigValueEntity[] getActionConfigValues(); /** * @deprecated This has now been deprecated in favour of config values below. This method will eventually be * removed */ @StringLength (StringLength.UNLIMITED) @Deprecated String getParamValue(); /** * @deprecated This has now been deprecated in favour of config values below. This method will eventually be * removed */ @StringLength (StringLength.UNLIMITED) @Deprecated void setParamValue(final String paramValue); }
@Table ("PROJECT_CONFIG") @Preload public interface ProjectConfigurationAO extends ProjectConfiguration, Entity {
@Table("WHConfig") @Preload public interface WebHookConfiguration extends Entity