Java API to Save Query Pattern on Semantic model
API to save Query pattern on a semantic model in the Report Object Manager.
/*
@param queryPatternsXML: Query pattern xml get from UI
@param action: Pass 'REPLACE' OR 'ADD' to modify or add new query query pattern
@param userInfo: Object of type UserInfo containing information about logged in user.
@param semanticmodelID: pass the respective semantic model ID */
public ResponseStatus saveQueryPatterns(queryPatternsXML, action, semanticmodelID, userInfo);