Deprecated API


Contents
Deprecated Fields
com.sas.iquery.metadata.expr.olap.TimeFilterExpression.EVENT_NPERIODS_CHANGED
          use EVENT_PERIODS_CHANGED 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFilter.EVENT_NPERIODS_CHANGED
          use EVENT_PERIODS_CHANGED 
com.sas.iquery.metadata.business.BriefInformationMap.OBJECT_TYPE
          Use type declarations in com.sas.services.information.util.SmartTypes 
com.sas.iquery.metadata.business.Role.PAGE
          do not use 
com.sas.iquery.metadata.business.BusinessQueryActionType.PROPERTY_RESULT_ALIAS_IN_GROUP_BY
          This action was added only for the s0se16 track. This option is not persisted. 
com.sas.iquery.metadata.business.Reason.SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET
          This subreason is replaced with SUBREASON_ATTRIBUTE_DESCRIPTOR_NOT_SET 
com.sas.iquery.metadata.business.Reason.SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_VERSION
          use SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MAJOR_VERSION or SUBREASON_SAVING_MAP_WOULD_INCREASE_ITS_MINOR_VERSION 
 

Deprecated Methods
com.sas.iquery.metadata.business.Model.computeModelVersion()
          use the save options on the InformationMap.save(FolderInterface, String, Map) method 
com.sas.iquery.metadata.business.Prompt.getAttributeDescriptor()
          Use getPromptDefintion 
com.sas.iquery.metadata.business.BusinessModel.getDataLocale()
          getDataLocale has been deprecated please use getComputationalLocale 
com.sas.iquery.metadata.expr.olap.TimeFilterNPeriodsExpression.getDateMember()
          use getDate 
com.sas.iquery.metadata.expr.olap.TimeFilterNParallelPeriodsExpression.getDateMember()
          use getDate 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNPeriodsFilter.getDateMember()
          use getMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNParallelPeriodsFilter.getDateMember()
          use getMember 
com.sas.iquery.metadata.expr.olap.TimeRangeFilterExpression.getEndDateMember()
          use getEndMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeRangeFilter.getEndDateMember()
          use getEndMember 
com.sas.iquery.metadata.business.BusinessQuery.getEntity()
          Use getPromptValues; 
com.sas.iquery.IQueryServicesException.getFirstReason()
          deprecated in 9.3, to be removed in 9.4. Providing a getFirstReason() method is inappropriate to this API. If the caller desires to get the first reason, this should be done in the caller code, as in:
 IQueryServericsException e = x ; // some IQ exception
 Reason reason = null;
 if ( !e.getReasons().isEmpty()) {
    reason = e.getReason(1); // get first reason
 } 
 if (reason != null) {
    // do something with reason
 }
 
This can be shortened as follows:
 IQueryServericsException e = x ; // some IQ exception
 Reason reason = (!e.getReasons().empty ? e.getReasons.get(0) : null);
 
 
com.sas.iquery.metadata.business.Model.getLastPersistedModelVersion()
          use BriefInformationMap#getUsageVersion() on information maps 
com.sas.iquery.metadata.expr.olap.TimeFilterNParallelPeriodsExpression.getLevelName()
          use getLevel 
com.sas.iquery.metadata.expr.olap.TimeFilterFirstLastPeriodsExpression.getLevelName()
          use getLevel 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNParallelPeriodsFilter.getLevelName()
          use getLevel 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFirstLastPeriodsFilter.getLevelName()
          use getLevel 
com.sas.iquery.metadata.business.step.olap.DataItemMemberPropertiesFilter.getmemberPropertyNameExpression()
          use #getMemberPropertyName() 
com.sas.iquery.metadata.expr.olap.TimeFilterExpression.getnPeriods()
          use getPeriods 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFilter.getnPeriods()
          use getPeriods 
com.sas.iquery.metadata.expr.olap.TimeRangeFilterExpression.getStartDateMember()
          use getStartMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeRangeFilter.getStartDateMember()
          use getStartMember 
com.sas.iquery.metadata.business.DataItem.getStartingLevel()
            
com.sas.iquery.metadata.business.DataItemReference.isStartingLevelModified()
            
com.sas.iquery.metadata.business.BusinessModel.removeChild(BusinessModel)
          the Model.dispose() method is the preferred way to indicate that a child model and its descendants are no longer needed and should be removed from memory. When migrating to the dispose method, BE SURE to call the .dispose() method on the model previously used as the parameter for this method. See the dispose method for details.

 

com.sas.iquery.metadata.business.DataItemReference.resetStartingLevel()
            
com.sas.iquery.metadata.business.Prompt.setAttributeDescriptor(AttributeDescriptorInterface)
          Use setPromptDefintion 
com.sas.iquery.metadata.expr.olap.TimeFilterNPeriodsExpression.setDateMember(String)
          use setDate 
com.sas.iquery.metadata.expr.olap.TimeFilterNParallelPeriodsExpression.setDateMember(String)
          use setDate 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNPeriodsFilter.setDateMember(String)
          use setMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNParallelPeriodsFilter.setDateMember(String)
          use setMember 
com.sas.iquery.metadata.expr.olap.TimeRangeFilterExpression.setEndDateMember(String)
          use setEndMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeRangeFilter.setEndDateMember(String)
          use setEndMember 
com.sas.iquery.metadata.business.DataItem.setExpression(ExpressionInterface)
          use RootDataItem.setExpression(ExpressionInterface) 
com.sas.iquery.metadata.expr.olap.TimeFilterNParallelPeriodsExpression.setLevelName(String)
          use setLevel 
com.sas.iquery.metadata.expr.olap.TimeFilterFirstLastPeriodsExpression.setLevelName(String)
          use setLevel 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNParallelPeriodsFilter.setLevelName(String)
          use setLevel 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFirstLastPeriodsFilter.setLevelName(String)
          use setLevel 
com.sas.iquery.metadata.business.step.olap.DataItemNavigationFilter.setLevelName(String)
          use setLevel 
com.sas.iquery.metadata.business.step.olap.DataItemMemberPropertiesFilter.setMemberPropertyNameExpression(String)
          use #setMemberPropertyName(String) 
com.sas.iquery.metadata.expr.olap.TimeFilterExpression.setnPeriods(int)
          use setPeriods 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFilter.setnPeriods(int)
          use setPeriods 
com.sas.iquery.metadata.expr.olap.TimeRangeFilterExpression.setStartDateMember(String)
          use setStartMember 
com.sas.iquery.metadata.business.step.olap.DataItemTimeRangeFilter.setStartDateMember(String)
          use setStartMember 
com.sas.iquery.metadata.business.DataItem.setStartingLevel(Level)
            
com.sas.iquery.metadata.serverprop.ServerProperties.sortFunctionsListByLabel(List)
           
 

Deprecated Constructors
com.sas.iquery.metadata.business.step.olap.DataItemNavigationFilter(int, String, String)
          use DataItemNavigationFilter(int navigationFilterType, String navigationName ExpressionInterface level) 
com.sas.iquery.metadata.business.step.olap.DataItemTimeFirstLastPeriodsFilter(int, String, String)
          use DataItemTimeFirstLastPeriodsFilter(ExpressionInterface,String,ExpressionInterface) 
com.sas.iquery.metadata.business.step.olap.DataItemTimeNParallelPeriodsFilter(int, String, String, String)
            
com.sas.iquery.metadata.business.step.olap.DataItemTimeNPeriodsFilter(int, String, String)
            
com.sas.iquery.metadata.business.step.olap.DataItemTimeRangeFilter(String, String)
            
com.sas.iquery.metadata.MetadataNotChangeableException(String, int)
          use the MessageFormatter signatures 
 




Copyright © 2009 SAS Institute Inc. All Rights Reserved.