Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import java.util.List;

import org.eclipse.daanse.xmla.api.RequestMetaData;
import org.eclipse.daanse.xmla.api.UserRolePrincipal;
import org.eclipse.daanse.xmla.api.XmlaService;
import org.eclipse.daanse.xmla.api.discover.dbschema.catalogs.DbSchemaCatalogsRequest;
import org.eclipse.daanse.xmla.api.discover.dbschema.catalogs.DbSchemaCatalogsResponseRow;
Expand Down Expand Up @@ -88,17 +87,15 @@ public interface DiscoverService {
* @param request the request
* @return the list
*/
List<DiscoverDataSourcesResponseRow> dataSources(DiscoverDataSourcesRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DiscoverDataSourcesResponseRow> dataSources(DiscoverDataSourcesRequest request, RequestMetaData metaData);

/**
* returns the catalogs that are accessible on the server.
*
* @param request the request
* @return the list
*/
List<DbSchemaCatalogsResponseRow> dbSchemaCatalogs(DbSchemaCatalogsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DbSchemaCatalogsResponseRow> dbSchemaCatalogs(DbSchemaCatalogsRequest request, RequestMetaData metaData);

/**
* describes the structure of cubes within a database. Perspectives are also returned in this
Expand All @@ -107,8 +104,7 @@ List<DbSchemaCatalogsResponseRow> dbSchemaCatalogs(DbSchemaCatalogsRequest reque
* @param request the request
* @return the list
*/
List<DbSchemaColumnsResponseRow> dbSchemaColumns(DbSchemaColumnsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DbSchemaColumnsResponseRow> dbSchemaColumns(DbSchemaColumnsRequest request, RequestMetaData metaData);

/**
* describes the properties of members and cell properties.
Expand All @@ -117,43 +113,39 @@ List<DbSchemaColumnsResponseRow> dbSchemaColumns(DbSchemaColumnsRequest request,
* @return the list
*/
List<DbSchemaProviderTypesResponseRow> dbSchemaProviderTypes(DbSchemaProviderTypesRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
RequestMetaData metaData);

/**
* identifies the (base) data types supported by the server.
*
* @param request the request
* @return the list
*/
List<DbSchemaSchemataResponseRow> dbSchemaSchemata(DbSchemaSchemataRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DbSchemaSchemataResponseRow> dbSchemaSchemata(DbSchemaSchemataRequest request, RequestMetaData metaData);

/**
*
*
* @param request the request
* @return the list
*/
List<DbSchemaSourceTablesResponseRow> dbSchemaSourceTables(DbSchemaSourceTablesRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
List<DbSchemaSourceTablesResponseRow> dbSchemaSourceTables(DbSchemaSourceTablesRequest request, RequestMetaData metaData);

/**
* returns dimensions, measure groups, or schema rowsets exposed as tables.
*
* @param request the request
* @return the list
*/
List<DbSchemaTablesResponseRow> dbSchemaTables(DbSchemaTablesRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DbSchemaTablesResponseRow> dbSchemaTables(DbSchemaTablesRequest request, RequestMetaData metaData);

/**
*
*
* @param request the request
* @return the list
*/
List<DbSchemaTablesInfoResponseRow> dbSchemaTablesInfo(DbSchemaTablesInfoRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DbSchemaTablesInfoResponseRow> dbSchemaTablesInfo(DbSchemaTablesInfoRequest request, RequestMetaData metaData);

/**
* returns a row for each measure, each cube dimension attribute, and each schema rowset column,
Expand All @@ -164,25 +156,23 @@ List<DbSchemaTablesInfoResponseRow> dbSchemaTablesInfo(DbSchemaTablesInfoRequest
*/
// discover
List<DiscoverEnumeratorsResponseRow> discoverEnumerators(DiscoverEnumeratorsRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
RequestMetaData metaData);

/**
* returns information about keywords that are reserved by the XMLA server.
*
* @param request the request
* @return the list
*/
List<DiscoverKeywordsResponseRow> discoverKeywords(DiscoverKeywordsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DiscoverKeywordsResponseRow> discoverKeywords(DiscoverKeywordsRequest request, RequestMetaData metaData);

/**
* returns information about literals supported by the server.
*
* @param request the request
* @return the list
*/
List<DiscoverLiteralsResponseRow> discoverLiterals(DiscoverLiteralsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DiscoverLiteralsResponseRow> discoverLiterals(DiscoverLiteralsRequest request, RequestMetaData metaData);

/**
* returns a list of information and values about the properties that are supported by the server
Expand All @@ -191,8 +181,7 @@ List<DiscoverLiteralsResponseRow> discoverLiterals(DiscoverLiteralsRequest reque
* @param request the request
* @return the list
*/
List<DiscoverPropertiesResponseRow> discoverProperties(DiscoverPropertiesRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DiscoverPropertiesResponseRow> discoverProperties(DiscoverPropertiesRequest request, RequestMetaData metaData);

/**
* returns the names, restrictions, description, and other information for all Discover requests.
Expand All @@ -201,7 +190,7 @@ List<DiscoverPropertiesResponseRow> discoverProperties(DiscoverPropertiesRequest
* @return the list
*/
List<DiscoverSchemaRowsetsResponseRow> discoverSchemaRowsets(DiscoverSchemaRowsetsRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
RequestMetaData metaData);

/**
* describes the actions that can be available to the client application.
Expand All @@ -210,8 +199,7 @@ List<DiscoverSchemaRowsetsResponseRow> discoverSchemaRowsets(DiscoverSchemaRowse
* @return the list
*/
// md
List<MdSchemaActionsResponseRow> mdSchemaActions(MdSchemaActionsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaActionsResponseRow> mdSchemaActions(MdSchemaActionsRequest request, RequestMetaData metaData);

/**
* describes the structure of cubes within a database. Perspectives are also returned in this
Expand All @@ -220,17 +208,15 @@ List<MdSchemaActionsResponseRow> mdSchemaActions(MdSchemaActionsRequest request,
* @param request the request
* @return the list
*/
List<MdSchemaCubesResponseRow> mdSchemaCubes(MdSchemaCubesRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaCubesResponseRow> mdSchemaCubes(MdSchemaCubesRequest request, RequestMetaData metaData);

/**
* describes the dimensions within a database.
*
* @param request the request
* @return the list
*/
List<MdSchemaDimensionsResponseRow> mdSchemaDimensions(MdSchemaDimensionsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaDimensionsResponseRow> mdSchemaDimensions(MdSchemaDimensionsRequest request, RequestMetaData metaData);

/**
* returns information about the functions that are currently available for use in the DAX and MDX
Expand All @@ -239,35 +225,31 @@ List<MdSchemaDimensionsResponseRow> mdSchemaDimensions(MdSchemaDimensionsRequest
* @param request the request
* @return the list
*/
List<MdSchemaFunctionsResponseRow> mdSchemaFunctions(MdSchemaFunctionsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaFunctionsResponseRow> mdSchemaFunctions(MdSchemaFunctionsRequest request, RequestMetaData metaData);

/**
* describes each hierarchy within a particular dimension.
*
* @param request the request
* @return the list
*/
List<MdSchemaHierarchiesResponseRow> mdSchemaHierarchies(MdSchemaHierarchiesRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
List<MdSchemaHierarchiesResponseRow> mdSchemaHierarchies(MdSchemaHierarchiesRequest request, RequestMetaData metaData);

/**
* describes the KPIs within a database
*
* @param request the request
* @return the list
*/
List<MdSchemaKpisResponseRow> mdSchemaKpis(MdSchemaKpisRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaKpisResponseRow> mdSchemaKpis(MdSchemaKpisRequest request, RequestMetaData metaData);

/**
* describes each level within a particular hierarchy.
*
* @param request the request
* @return the list
*/
List<MdSchemaLevelsResponseRow> mdSchemaLevels(MdSchemaLevelsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaLevelsResponseRow> mdSchemaLevels(MdSchemaLevelsRequest request, RequestMetaData metaData);

/**
* enumerates the dimensions of measure groups.
Expand All @@ -276,52 +258,47 @@ List<MdSchemaLevelsResponseRow> mdSchemaLevels(MdSchemaLevelsRequest request, Re
* @return the list
*/
List<MdSchemaMeasureGroupDimensionsResponseRow> mdSchemaMeasureGroupDimensions(
MdSchemaMeasureGroupDimensionsRequest request, RequestMetaData metaData, UserRolePrincipal userPrincipal);
MdSchemaMeasureGroupDimensionsRequest request, RequestMetaData metaData);

/**
* describes the MeasureGroups within a database
*
* @param request the request
* @return the list
*/
List<MdSchemaMeasureGroupsResponseRow> mdSchemaMeasureGroups(MdSchemaMeasureGroupsRequest request,
RequestMetaData metaData, UserRolePrincipal userPrincipal);
List<MdSchemaMeasureGroupsResponseRow> mdSchemaMeasureGroups(MdSchemaMeasureGroupsRequest request, RequestMetaData metaData);

/**
* describes the members within a database
*
* @param request the request
* @return the list
*/
List<MdSchemaMeasuresResponseRow> mdSchemaMeasures(MdSchemaMeasuresRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaMeasuresResponseRow> mdSchemaMeasures(MdSchemaMeasuresRequest request, RequestMetaData metaData);

/**
* describes the members within a database
*
* @param request the request
* @return the list
*/
List<MdSchemaMembersResponseRow> mdSchemaMembers(MdSchemaMembersRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaMembersResponseRow> mdSchemaMembers(MdSchemaMembersRequest request, RequestMetaData metaData);

/**
* describes the properties of members and cell properties.
*
* @param request the request
* @return the list
*/
List<MdSchemaPropertiesResponseRow> mdSchemaProperties(MdSchemaPropertiesRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaPropertiesResponseRow> mdSchemaProperties(MdSchemaPropertiesRequest request, RequestMetaData metaData);

/**
* describes any sets that are currently defined in a database, including session- scoped sets.
*
* @param request the request
* @return the list
*/
List<MdSchemaSetsResponseRow> mdSchemaSets(MdSchemaSetsRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<MdSchemaSetsResponseRow> mdSchemaSets(MdSchemaSetsRequest request, RequestMetaData metaData);

/**
* returns a rowset with one row and one column. The single cell in the rowset contains an XML
Expand All @@ -330,6 +307,5 @@ List<MdSchemaSetsResponseRow> mdSchemaSets(MdSchemaSetsRequest request, RequestM
* @param request the request
* @return the list
*/
List<DiscoverXmlMetaDataResponseRow> xmlMetaData(DiscoverXmlMetaDataRequest request, RequestMetaData metaData,
UserRolePrincipal userPrincipal);
List<DiscoverXmlMetaDataResponseRow> xmlMetaData(DiscoverXmlMetaDataRequest request, RequestMetaData metaData);
}
Loading
Loading