agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/managers/MetadataPermissionManager.java
/**
     * Removes all permissions, save ownership
     *
     * @throws MetadataStoreException if MetadataItem cannot be found or updating MetadataItem failed
     */
Removes all permissions, save ownership
@throws MetadataStoreException if MetadataItem cannot be found or updating MetadataItem failed
Removes all permissions save ownership @throws MetadataStoreException if MetadataItem cannot be found or updating MetadataItem failed
public void clearPermissions() throws MetadataStoreException {
        getMetadataItem().getPermissions().clear();
        getMetadataItem().setPermissions(getMetadataDao().updatePermission(getMetadataItem()));
        NotificationManager.process(getMetadataItem().getUuid(), "PERMISSION_REVOKE", getAuthenticatedUsername());
    }
public void clearPermissions ( ) throws MetadataStoreException { getMetadataItem ( ) . getPermissions ( ) . clear ( ) ; getMetadataItem ( ) . setPermissions ( getMetadataDao ( ) . updatePermission ( getMetadataItem ( ) ) ) ; NotificationManager . process ( getMetadataItem ( ) . getUuid ( ) , "PERMISSION_REVOKE" , getAuthenticatedUsername ( ) ) ; }
Removes all permissions, save ownership
 @throws MetadataStoreException if MetadataItem cannot be found or updating MetadataItem failed
Removes all permissions save ownership @throws MetadataStoreException if MetadataItem cannot be found or updating MetadataItem failed