protected SecurityEventObjectLifecycleEnum mapResourceTypeToSecurityLifecycle ( ca . uhn . fhir . rest . api . RestOperationTypeEnum theRestfulOperationTypeEnum ) { if ( theRestfulOperationTypeEnum == null ) return null ; switch ( theRestfulOperationTypeEnum ) { case READ : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; case CREATE : return SecurityEventObjectLifecycleEnum . ORIGINATION_OR_CREATION ; case DELETE : return SecurityEventObjectLifecycleEnum . LOGICAL_DELETION ; case HISTORY_INSTANCE : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; case HISTORY_TYPE : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; case SEARCH_TYPE : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; case UPDATE : return SecurityEventObjectLifecycleEnum . AMENDMENT ; case VALIDATE : return SecurityEventObjectLifecycleEnum . VERIFICATION ; case VREAD : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; default : return SecurityEventObjectLifecycleEnum . ACCESS_OR_USE ; // access/use catch all } }
Returns the SecurityEventObjectLifecycleEnum corresponding to the specified RestfulOperationTypeEnum