com.sas.dataselectors.dataitems
Class DataItemSelectorModelOLAPTable

com.sas.dataselectors.dataitems.DataItemSelectorModelOLAPTable
All Implemented Interfaces:
DataItemSelectorInterface, SelectorCommitInterface, SelectorProcessInterface, com.sas.util.RoleProviderInterface

public class DataItemSelectorModelOLAPTable

This class contains the table's crosstab model for the DataItem Selector.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sas.dataselectors.dataitems.BaseDataItemSelectorModel
BaseDataItemSelectorModel.Role
 
Field Summary
protected  BaseDataItemSelectorModel.Role _columnRole
           
protected  BaseDataItemSelectorModel.Role _rowRole
           
static java.lang.String RB_KEY
           
static java.lang.String ROLE_COLUMN
           
static java.lang.String ROLE_ROW
           
 
Fields inherited from class com.sas.dataselectors.dataitems.DataItemSelectorModel
_businessModel, iMap
 
Fields inherited from class com.sas.dataselectors.dataitems.BaseDataItemSelectorModel
_dataItemMap, _locale, _rolesList, action, CANCEL_MODE, CHANGE_QUERY_TYPE, CHANGE_ROLE, COMMIT, COMMIT_MODE, data, MOVE_ITEM_DOWN, MOVE_ITEM_TO_POSITION, MOVE_ITEM_UP, MOVE_ITEMS, originalItemList, positionToMoveTo, PROCESS_MODE, queryType, role, selectedItems, SHOW_MODE, SORT_ITEMS, unselectedItems, UPDATE_ITEMS
 
Fields inherited from interface com.sas.dataselectors.dataitems.DataItemSelectorInterface
DISPLAY_DETAIL_VALUES, GROUP_BY_CATEGORY_VALUES
 
Fields inherited from interface com.sas.dataselectors.SelectorCommitInterface
EXCEPTION_OCCURRED
 
Constructor Summary
DataItemSelectorModelOLAPTable(com.sas.iquery.metadata.business.BusinessQuery businessQuery)
           
DataItemSelectorModelOLAPTable(com.sas.iquery.metadata.business.BusinessQuery businessQuery, com.sas.iquery.metadata.business.InformationMap infoMap)
           
 
Method Summary
protected  com.sas.util.RoleInterface createColumnRole()
           
protected  void createRoles()
           
protected  com.sas.util.RoleInterface createRowRole()
           
 java.util.List getMoveTargetRoles()
          This override prevents measures from being assigned to more than one role for OLAP.
protected  java.lang.String getRoleLabel(java.lang.String role)
           
 
Methods inherited from class com.sas.dataselectors.dataitems.DataItemSelectorModel
addItemToRole, cleanUp, getAvailableTreeModel, getAvailableTreeModel, getBaseItem, getItemCategory, getItemDefaultImage, getItemDescription, getItemDisabledImage, getItemID, getItemLabel, getRoleItems, getRoles, getSelectedTreeNode, isCalculatedItem, isDetailUsageSupported, isItemActionSupported, isItemAReference, isItemUsageDetail, isMeasure, removeDuplicateItems, removeItemFromRole, removeItemsNotSupportingDetail, removeNotUsableItems, setItemUsage, setOriginalItemList
 
Methods inherited from class com.sas.dataselectors.dataitems.BaseDataItemSelectorModel
addResultItemsToQuery, adjustMoveToPosition, allQueryItemsAreDetailUsage, commit, createAddItemsList, deleteResultItemsFromQuery, deleteSortCriteriaFromQuery, findRoleForItem, getAction, getAllAvailableNodeIds, getAvailableEnabledNodeIds, getAvailableItemInfoList, getAvailableRoleItems, getBaseItemId, getData, getDataItemMap, getDropTargetRoles, getIdFromDataItemRefList, getItemFromItemMap, getItemFromReference, getItemInRolePosition, getItemPositionInRole, getLocale, getPositionToMoveTo, getPropertiesBean, getQueryType, getReason, getReasonsQueryNotValid, getRole, getRoleDetailedLabel, getSelectedItemInfoList, getSelectedItems, getSelectedTreeModel, getStatusMessage, getUnselectedItems, hasValidRoles, isCalculatedItemSelected, isItemFirstInRole, isItemLastInRole, isItemMoveDownValid, isItemMoveUpValid, isQueryActionSupported, isQueryValid, isThisItemAReferenceInItemMap, isThisItemInAvailableList, isThisItemInRoleRefList, mapDataSource, moveItemsToPosition, moveItemsToRole, moveItemsUpDown, process, queryItemsSupportDetailUsage, rollBackQuery, setAction, setData, setDataItemMap, setLocale, setPositionToMoveTo, setQueryType, setRole, setSelectedItems, setSelectedItemsQueryType, setUnselectedItems, sortItemListByRolePosition
 

Field Detail

ROLE_COLUMN

public static final java.lang.String ROLE_COLUMN
See Also:
Constant Field Values

ROLE_ROW

public static final java.lang.String ROLE_ROW
See Also:
Constant Field Values

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values

_columnRole

protected BaseDataItemSelectorModel.Role _columnRole

_rowRole

protected BaseDataItemSelectorModel.Role _rowRole
Constructor Detail

DataItemSelectorModelOLAPTable

public DataItemSelectorModelOLAPTable(com.sas.iquery.metadata.business.BusinessQuery businessQuery)

DataItemSelectorModelOLAPTable

public DataItemSelectorModelOLAPTable(com.sas.iquery.metadata.business.BusinessQuery businessQuery,
                                      com.sas.iquery.metadata.business.InformationMap infoMap)
Method Detail

getRoleLabel

protected java.lang.String getRoleLabel(java.lang.String role)
Overrides:
getRoleLabel in class DataItemSelectorModel

getMoveTargetRoles

public java.util.List getMoveTargetRoles()
This override prevents measures from being assigned to more than one role for OLAP.

Specified by:
getMoveTargetRoles in interface DataItemSelectorInterface
Overrides:
getMoveTargetRoles in class DataItemSelectorModel
Returns:
The list of roles the items can move to

createRoles

protected void createRoles()
Overrides:
createRoles in class DataItemSelectorModel

createColumnRole

protected com.sas.util.RoleInterface createColumnRole()

createRowRole

protected com.sas.util.RoleInterface createRowRole()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.