Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Derived Interfaces | Known Implementations |
MidgardValidable; void midgard_validable_validate (MidgardValidable *self
,GError **error
); gboolean midgard_validable_is_valid (MidgardValidable *self
);
MidgardValidable is implemented by MidgardQueryConstraint, MidgardQueryConstraintGroup, MidgardQueryProperty, MidgardQuerySelect, MidgardQueryStorage, MidgardSqlContentManagerJob, MidgardSqlContentManagerJobCreate, MidgardSqlContentManagerJobDelete, MidgardSqlContentManagerJobLoad, MidgardSqlContentManagerJobPurge, MidgardSqlContentManagerJobUpdate, MidgardSqlQueryConstraint and MidgardSqlQuerySelectData.
void midgard_validable_validate (MidgardValidable *self
,GError **error
);
Validate given instance. Implementation shall validate given instance, and in case when it's invalid, particular error shoudl be set. If instance is valid, error should be NULL.
|
MidgardValidable instance
error (error-domains MIDGARD_VALIDATION_ERROR): location to store error |
Since 10.05.5
gboolean midgard_validable_is_valid (MidgardValidable *self
);
Check if given MidgardValidable instance is marked as valid. Implementation shall not validate given instance.
|
MidgardValidable instance |
Returns : |
TRUE if it's valid, FALSE otherwise |
Since 10.05.5