Returns: A list of revision numbers, at which the entity was modified, sorted in ascending order (so older IllegalStateException Get a list of revision numbers, at which an entity was modified. GetRevisions List getRevisions( Class cls, revision - Revision in which to get the entity. IllegalStateException Find an entity by primary key at the given revision with the specified entityName. IllegalStateException - If the associated entity manager is closed. NotAuditedException - When entities of the given class are not audited. Throws: IllegalArgumentException - If cls or primaryKey is null or revision is less or equal to 0. If not all properties are audited) or null, if an entity with that id didn't exist at that Returns: The found entity instance at the given revision (its properties may be partially filled IllegalStateException Find an entity by primary key at the given revision. Get a list of revision numbers, at which an entity was modified, looking by entityName.Ĭhecks if the entit圜lass was configured to be audited. Get a list of revision numbers, at which an entity was modified. Gets the revision number, that corresponds to the given date. Get the date, at which a revision was created. Gets an instance of the current revision entity, to which any entries in the audit tables will be bound. GetCurrentRevision( Class revisionEntit圜lass, Interface AuditReader All Known Subinterfaces: AuditReaderImplementor All Known Implementing Classes: AuditReaderImplĪuthor: Adam Warski (adam at warski dot org), Hern�n Chanfreauįind an entity by primary key at the given revision.įind an entity by primary key at the given revision with the specified entityName.Ī helper method should be used only if a custom revision entity is used. SUMMARY: NESTED | FIELD | CONSTR | METHOD
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |