New methods in the IntactCore util class

2 views
Skip to first unread message

Bruno Aranda

unread,
May 18, 2011, 9:35:57 AM5/18/11
to intact-d...@googlegroups.com
Hi,

I have created new util methods in the intact-core 2.4.0-SNAPSHOT library.

These methods can be used to make sure that you get initialized annotations/xrefs/aliases from an annotated object. If the collections are not initialized and the annotated object is detacched, the collections will be fetched from the database. The new methods are:

IntactCore.ensureInitializedAnnotations(AnnotatedObject)
IntactCore.ensureInitializedXrefs(AnnotatedObject)
IntactCore.ensureInitializedAliases(AnnotatedObject)

Cheers,

Bruno
Reply all
Reply to author
Forward
0 new messages