/* * Copyright (c) 2008-2012 EMC Corporation * All Rights Reserved */ package com.emc.storageos.db.client.model; import com.emc.storageos.db.client.upgrade.AddIndexMigrationCallback; import java.lang.annotation.*; /** * When marked with this annotation, an inverted index is updated whenever * the StringSetMap is updated. This inverted index contains * * field key -> DataObject.id:permission relation * * and can be queried by using Constraint queries */ @Documented @Target({ ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) @UpgradeAllowed(migrationCallback = AddIndexMigrationCallback.class) public @interface PermissionsIndex { String value() default ""; }