Annotation Type CopeExternal


  • @Target({TYPE,FIELD})
    @Retention(RUNTIME)
    public @interface CopeExternal
    Allows a type's instances to be modified (created, updated and deleted) externally, directly in the database.

    COPE caches are disabled for the type.

    External modifications of data must obey all consistency rules.

    Listeners and hooks such as change listeners, change hooks and item methods beforeNewCopeItem, afterNewCopeItem, beforeSetCopeItem, and beforeDeleteCopeItem may not get called on external modifications.

    For subtypes, this annotation must be set if and only if it is set for the supertype.

    This annotation is essentially applicable to types (@Target(TYPE)) only. When applying it to features (@Target(FIELD)) that are patterns, the annotation is forwarded to all source types of that pattern. When applying it to features that are not patterns, there is no effect at all.