/** * Create restrictions, projections and specify order for the revision type, corresponding to an * audited entity. * * @param alias the alias of the entity which owns the revision type. */ public static AuditProperty<RevisionType> revisionType(String alias) { return new AuditProperty<>( alias, new RevisionTypePropertyName() ); }
/** * Create restrictions, projections and specify order for the revision number, corresponding to an * audited entity. * * @param alias the alias of the entity which owns the revision number. */ public static AuditProperty<Number> revisionNumber(String alias) { return new AuditProperty<>( alias, new RevisionNumberPropertyName() ); }
/** * Create restrictions, projections and specify order for a property of an audited entity. * * @param alias the alias of the entity which owns the property. * @param propertyName Name of the property. */ public static AuditProperty<Object> property(String alias, String propertyName) { return new AuditProperty<>( alias, new EntityPropertyName( propertyName ) ); }
/** * Create restrictions, projections and specify order for a property of the revision entity, * corresponding to an audited entity. * * @param alias the alias of the entity which owns the revision property. * @param propertyName Name of the property. */ public static AuditProperty<Object> revisionProperty(String alias, String propertyName) { return new AuditProperty<>( alias, new RevisionPropertyPropertyName( propertyName ) ); }
/** * Create restrictions, projections and specify order for a property of an audited entity. * * @param alias the alias of the entity which owns the property. * @param propertyName Name of the property. */ public static AuditProperty<Object> property(String alias, String propertyName) { return new AuditProperty<>( alias, new EntityPropertyName( propertyName ) ); }
/** * Create restrictions, projections and specify order for a property of the revision entity, * corresponding to an audited entity. * * @param alias the alias of the entity which owns the revision property. * @param propertyName Name of the property. */ public static AuditProperty<Object> revisionProperty(String alias, String propertyName) { return new AuditProperty<>( alias, new RevisionPropertyPropertyName( propertyName ) ); }
/** * Create restrictions, projections and specify order for the revision number, corresponding to an * audited entity. * * @param alias the alias of the entity which owns the revision number. */ public static AuditProperty<Number> revisionNumber(String alias) { return new AuditProperty<>( alias, new RevisionNumberPropertyName() ); }
/** * Create restrictions, projections and specify order for the revision type, corresponding to an * audited entity. * * @param alias the alias of the entity which owns the revision type. */ public static AuditProperty<RevisionType> revisionType(String alias) { return new AuditProperty<>( alias, new RevisionTypePropertyName() ); }