private static String getPoliciesDocType ( PolicyType type ) { String docType = "planPolicies" ; //$NON-NLS-1$ if ( type == PolicyType . Api ) { docType = "apiPolicies" ; //$NON-NLS-1$ } else if ( type == PolicyType . Client ) { docType = "clientPolicies" ; //$NON-NLS-1$ } return docType ; }
Returns the policies document type to use given the policy type .