Deprecated API

Deprecated Classes
com.filenet.wcm.toolkit.server.util.WcmFieldUtil
          This class has been deprecated. 
com.filenet.wcm.toolkit.server.util.ui.WcmImageAnchor
          This class extends the base WcmAnchor classs and implements an image anchor that can have two states (selected and unselected). The current state is indicated by the active image. 
com.filenet.wcm.toolkit.util.WcmMRUMap
          use org.apache.commons.collections.map.LRUMap 
com.filenet.wcm.toolkit.util.WcmSecurityAccessUtil
          This class has been deprecated since the security model has been changed. Please use com.filenet.wcm.toolkit.util.security.WcmSecurityAccessUtil 
com.filenet.wcm.toolkit.server.util.xml.WcmXPathUtil
          use XPathUtil. This one is obsolete and inefficient The WcmXPathUtil class provides convenience methods for getting, updating, adding or removing XML nodes using XPath syntax. This class only calls methods of XPathUtil 
com.filenet.wcm.toolkit.server.util.xml.XMLTreeModule
          WcmXMLObject derived class for manipulating the Object Level specific XML 
 

Deprecated Interfaces
com.filenet.wcm.toolkit.server.base.WcmControllerBehaviorInterface
          This interface isn't really being used for anything. 
 

Deprecated Fields
com.filenet.wcm.toolkit.server.util.WcmDataStore.BASE_LOCALPATH_KEY
          use 
com.filenet.wcm.toolkit.server.util.FilterData.COUNT1_XPATH
            
com.filenet.wcm.toolkit.server.base.WcmController.CREATE_WINDOW_ID
          - use CREATE_POPUP as a windowIdMode request parameter. 
com.filenet.wcm.toolkit.server.util.FilterData.ELEM_WEB_SEARCH
            
com.filenet.wcm.toolkit.server.base.WcmController.FIRST_WINDOWID_KEY
          Use get/setFirstWindowId signatures. 
com.filenet.wcm.toolkit.server.base.WcmController.HOME_KEY
          use set/getHome signatures. 
com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider.OBJECT_STORE_NAMES_XPATH
          dont use 
com.filenet.wcm.toolkit.server.util.FilterData.OBJECT_STORE_NAMES_XPATH
            
com.filenet.wcm.toolkit.server.base.WcmController.POPUP_KEY
          No longer used. 
com.filenet.wcm.toolkit.server.base.WcmController.PROPOGATE_WINDOW_ID
          - use PROPAGATE_WINDOW_ID 
com.filenet.wcm.toolkit.server.base.WcmController.WINDOW_SIGNED_IN_KEY
          Use isPopupSignedIn. 
com.filenet.wcm.toolkit.server.base.WcmController.windowIdParams
            
com.filenet.wcm.toolkit.server.util.WcmUi.wsDateFormat
            
 

Deprecated Methods
com.filenet.wcm.toolkit.util.WcmStringResources.addLegacyPRB(boolean, InputStream)
          - Use add...BundleToPath sigs. 
com.filenet.wcm.toolkit.util.WcmStringResources.addLegacyPRB(boolean, Map)
          - Use add...BundleToPath sigs. 
com.filenet.wcm.toolkit.server.util.xml.WcmXMLProperties.addMultiValues(String, String, String, String[], boolean)
          use same method with additional locale parameter instad - Workplace need this to construct correct message otherwise you have to use another method that catch this method throws exception and extract its message use toString(locale). 
com.filenet.wcm.toolkit.server.util.WcmEProcessUtil.addProcessorInformation(Document, Node, Node)
          use addProcessorInformation with new List policyProcessors parameter 
com.filenet.wcm.toolkit.server.util.WcmEProcessUtil.addProcessorInformation(Document, Node, Node, List)
          use addProcessorInformation with new List policyProcessors parameter 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.checkForChoiceLists(Document)
          use getChoiceList() method 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.checkForUserListProperties(Document)
          not needed 
com.filenet.wcm.toolkit.server.util.CacheManager.clear(String, String, int, int, String[])
          use clearContainer or clearContainee signatures. 
com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider.clearCache()
          Clears all cached data 
com.filenet.wcm.toolkit.server.base.WcmController.configurePage(ServletContext, HttpServletRequest, boolean)
          Use configurePage(application, request, long windowIdMode). 
com.filenet.wcm.toolkit.server.base.WcmController.configurePage(ServletContext, HttpServletRequest, int)
          use configurePage(ServletContext, HttpServletRequest, long) 
com.filenet.wcm.toolkit.server.base.WcmController.configurePage(ServletContext, HttpServletRequest, int, String[])
            
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.configureServerCredentials(WcmServerCredentials)
          Use configureServerCredentials(WcmServerCredentials sc, WcmRequestMap extraParameters) 
com.filenet.wcm.toolkit.server.util.WcmDateUtil.convertDateToW3CDate(Date, boolean)
          Use convertDateToW3CDate(Calendar cal, boolean bDateOnly) 
com.filenet.wcm.toolkit.server.util.ui.WcmAnchor.createNonLocalized(String, String)
          Use String based constructor instead. 
com.filenet.wcm.toolkit.server.util.ui.WcmIconAnchor.createNonLocalized(String, String, String)
          Use the constructor. 
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.createServerCredentials(WcmDataStore, String, String, String)
          Use createServerCredentials(dataStore, appId, user, password, verify) 
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.createServerCredentials(WcmDataStore, String, String, String, String)
          Use createServerCredentials(dataStore, appId, user, password, verify) 
com.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider.doEvaluateExpression(String, String, String, String, String, int)
          Use the doEvaluateSubscriptionExpression method to evaluate expressions. 
com.filenet.wcm.toolkit.server.util.WcmEProcessUtil.doProcessSubscriptions(Document, String, String, String, int)
          use doProcessSubscriptions method with new List policyProcessors parameter 
com.filenet.wcm.toolkit.server.util.WcmStringEditor.encode(String)
          use WcmEncodingUtil.encodeURL method URL-Encodes input string. If the string is null, returns "" 
com.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider.findGroups(String, int, int, int)
            
com.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider.findUsers(String, int, int, int)
            
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getAllObjectStores(boolean)
          use WcmNavigationDataProvider.getObjectStoresDoc() method 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getAllSearchTemplates(String, String, int, boolean)
          Returns a list of all search templates found in the object store. Results are cached by the data provider. 
com.filenet.wcm.toolkit.server.util.prefs.WcmConfiguration.getBasePath()
          use application context to get resource files 
com.filenet.wcm.toolkit.server.base.WcmController.getBaseURL()
          - use getWebappRootURL() 
com.filenet.wcm.toolkit.server.util.WcmUi.getBrowserType(HttpServletRequest)
          - use com.filenet.wcm.toolkit.server.util.UserAgent class. 
com.filenet.wcm.toolkit.server.util.WcmUi.getCalendarControlHTML(String, String, String, boolean)
            
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getChoiceList(String, String)
          use the other getChoiceList method 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getChoiceList(String, String, String)
          Returns a ChoiceList object containing choice list for a class and property. 
com.filenet.wcm.toolkit.server.util.xml.SearchChoiceListUtil.getChoiceValuesListProxy(String, List, String, boolean)
            
com.filenet.wcm.toolkit.server.util.xml.XMLLinks.getClasses(Document, String[], String)
          use getClasses with additional parameter of allLinksLabel instead. The additional parameter is for localizeation where all links needs to display in user's locale format. 
com.filenet.wcm.toolkit.server.base.WcmModule.getClassPropertyKeys()
            
com.filenet.wcm.toolkit.server.util.ConfigurationUtil.getConfigFileInputStream(String, ServletContext)
          - Use getConfigFileInputStream(configFileName) 
com.filenet.wcm.toolkit.server.util.ConfigurationUtil.getConfigFileOutputStream(String, ServletContext)
          - Use getConfigFileOutputStream(configFileName) 
com.filenet.wcm.toolkit.server.util.prefs.WcmBootstrapPrefs.getConfigFilePath()
          this will return null 
com.filenet.wcm.toolkit.server.util.FilterData.getCount(Document)
            
com.filenet.wcm.toolkit.server.servlet.WcmCredentialsServlet.getCredentialsRequestURL(WcmDataStore, String, boolean, String, String, String, String, String, String, String, Map)
          The parameter wasBugFix is no longer recognized. Use the new signature that does not include it. 
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.getEncodedSessionId()
          - Use WcmController.getEncodedSessionId() 
com.filenet.wcm.toolkit.server.util.FilterData.getFilterData(Document)
          Factory method returns an instance of this object to use. 
com.filenet.wcm.toolkit.server.base.WcmController.getHomeURLKey(String)
          Use the accessors instead. 
com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface.getLoginRoutingInfo()
          - relocating this functionality WcmController. 
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.getLoginRoutingInfo()
          - Use WcmController.getLoginRoutingInfo() 
com.filenet.wcm.toolkit.server.util.FilterData.getMaxResults(String)
            
com.filenet.wcm.toolkit.server.base.WcmModule.getModulePropertyKeys()
            
com.filenet.wcm.toolkit.server.util.WcmEProcessUtil.getNodeValue(Node, String, Node)
          use XMLNodeUtil utility class for getting node information 
com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider.getObjectStores(boolean)
          use other form of method that returns Document object 
com.filenet.wcm.toolkit.server.util.WcmParameter.getObjectType(int)
          use getObjectTypeString(int) method instead 
com.filenet.wcm.toolkit.server.util.prefs.AllControllerPrefs.getP8Prefs(String)
            
com.filenet.wcm.toolkit.server.util.BaseTemplate.getPropertiesNormalized(NodeList, boolean)
          Use new getPropertiesNormalized method with List parameter 
com.filenet.wcm.toolkit.server.util.BaseTemplate.getPropertiesNormalized(NodeList, Document, boolean)
          Use new getPropertiesNormalized method with List parameter 
com.filenet.wcm.toolkit.server.util.BaseTemplate.getPropertiesNormalized(NodeList, Document, String, boolean)
          Use new getPropertiesNormalized method with List parameter 
com.filenet.wcm.toolkit.server.util.BaseTemplate.getPropertiesNormalized(NodeList, String, boolean)
          Use new getPropertiesNormalized method with List parameter 
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.getRealmGroups(String, boolean)
          Use findRealmGroups() 
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.getRealmUsers(String, boolean)
          Use findRealmUsers() 
com.filenet.wcm.toolkit.server.dp.RecordsManageDataProvider.getRMUtil()
          - use RMUtil static method instead 
com.filenet.wcm.toolkit.server.util.xml.SearchChoiceListUtil.getscvlShowChoiceValue()
            
com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider.getSearchContent(String, String)
          use getSearchDefinition() method Returns a Document of TYPE_STORED_SEARCH content xml 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getSearchRequest(Set, Map, Map, Set, int)
          use SearchExecuteData class to generate search request XML. This method will return null in this version. It will be removed later. 
com.filenet.wcm.toolkit.server.dp.WcmSearchDataProvider.getSearchResults(String, String, Document)
          Executes a stored search, and returns the results as a DOM Document. No caching is done by this method. Same as getSearchResults(String,String,String), but takes a DOM document instead of String for response XML 
com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider.getSearchXML(String[], String[])
          use getSearchXML with maxResults 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials.getSessionToken(WcmDataStore, String, String, String, String)
            
com.filenet.wcm.toolkit.server.util.WcmSSLInfo.getSslHost()
          - use getSSLHost(). 
com.filenet.wcm.toolkit.server.util.WcmSSLInfo.getSslHostDecoded()
          - use getSSLHostDecoded(). 
com.filenet.wcm.toolkit.server.servlet.WcmGetContentServlet.getUsePathBasedURLs(WcmDataStore)
          - Override getUsePathBasedURLs(WcmDataStore, Locale) instead. 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials.getUserDomain()
          Use getUserRealm() 
com.filenet.wcm.toolkit.server.base.WcmController.getWindowIdFromReferer(Map, String)
          use getWindowIdFromURL(url, baseUrl) 
com.filenet.wcm.toolkit.server.servlet.WcmCredentialsServlet.getXInternalTokenRequestURL(String, String, String, Map)
          - Use the call that includes WcmDataStore. 
com.filenet.wcm.toolkit.server.util.xml.WcmXMLSubscription.getXMLSubscriptions(WcmSearchDataProvider, String, String)
          use getXMLSubscriptionsRelative 
com.filenet.wcm.toolkit.server.servlet.WcmCredentialsServlet.getXUserTokenRequestURL(String, String, String, Map)
          - Use the call that includes WcmDataStore. 
com.filenet.wcm.toolkit.server.servlet.WcmGetContentServlet.handleExternalDocument(Document, HttpServletRequest, HttpServletResponse, WcmDataStore, boolean)
          Override handleExternalDocument(doc, request, response, dataStore, mode, externalMimeType) instead. 
com.filenet.wcm.toolkit.server.servlet.WcmGetContentServlet.handleExternalDocument(Document, HttpServletRequest, HttpServletResponse, WcmDataStore, int)
          Override handleExternalDocument(doc, request, response, dataStore, mode, externalMimeType) instead. 
com.filenet.wcm.toolkit.server.servlet.WcmGetContentServlet.handleExternalDocument(Document, HttpServletResponse, WcmDataStore)
          Override handleExternalDocument(doc, request, response, dataStore, mode, externalMimeType) instead. 
com.filenet.wcm.toolkit.server.base.WcmController.isNewWindowIdRequired(HttpServletRequest)
            
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.isWebFolder(String, String)
          This method has been deprecated you should use new method from WebContentDataProvider. 
com.filenet.wcm.toolkit.util.WcmStringResourceLoader.load(Locale, String, String, Class)
          Use WcmStringResources.addStringBundleToPath and/or WcmStringResources.addExcetpionBundleToPath instead. 
com.filenet.wcm.toolkit.server.util.WcmIcons.load(String)
          - use load(String, String, String) 
com.filenet.wcm.toolkit.server.util.WcmIcons.load(String, String)
          - use load(String, String, String) 
com.filenet.wcm.toolkit.util.WcmStringResourceLoader.load(String, String, Class)
          Use WcmStringResources.addStringBundleToPath and/or WcmStringResources.addExcetpionBundleToPath instead. 
com.filenet.wcm.toolkit.util.WcmString.loadResource(InputStream)
          This method has been replaced. use WcmStringResources.addStringToBundlePath and/or WcmStringResources.addExcetpionToBundlePath. 
com.filenet.wcm.toolkit.util.WcmException.loadResource(InputStream)
          This method has been replaced. 
com.filenet.wcm.toolkit.util.WcmString.loadResource(Map)
          This method has been replaced. WcmStringResources.addStringToBundlePath and/or WcmStringResources.addExcetpionToBundlePath. 
com.filenet.wcm.toolkit.util.WcmException.loadResource(Map)
          This method has been replaced. 
com.filenet.wcm.toolkit.server.util.DisplayNameUtil.lookupDisplayNames(Document, WcmDataStore)
          this is a very CPU intensive operation for large documents. If you are using this method, consider using something else. Looks up all display names contained in the XML document. The display name values are added to the cache. 
com.filenet.wcm.toolkit.server.util.FilterData.mergeObjectSets(Document, Document)
          Exclude any folder its class id is not the same as classId. 
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.mergeRealmGroups(boolean)
          Use finRealmGroups() (4.0) 
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.mergeRealmUsers(boolean)
          Use findRealmUsers() (4.0). 
com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider.readFromFile(String)
          This function does not belong here 
com.filenet.wcm.toolkit.server.base.WcmController.registerGlobalEvent(String)
          - Registering global events is no longer necessary. 
com.filenet.wcm.toolkit.server.util.FrameworkException.renderErrorMessageBox(Writer)
          - Use renderErrorMessageBox(HttpServletRequest, Writer) 
com.filenet.wcm.toolkit.server.util.WcmHTTPUtil.sendHTTPRequest(String)
          It's not recommended to use this method if you response might have any non-ascii characters. Use sendHTTPRequestUTF8 method instead 
com.filenet.wcm.toolkit.server.base.WcmController.setAutoFixWindowId(boolean)
          - use configurePage(servletContext, request, windowIdMode). 
com.filenet.wcm.toolkit.server.util.prefs.WcmConfiguration.setBasePath(String)
          use application context to get resource files 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials.setIsSSOConfigured(boolean)
          - Use setIsSSOServerPluginMode 
com.filenet.wcm.toolkit.server.util.xml.WcmXMLSorter.sortXML(Document, String, String)
          use the method that takes sCustomObjectNameProperty Sorts the XML Document using the specified folder name property and document name property. 
com.filenet.wcm.toolkit.server.base.WcmController.subscribeGlobalEvent(GlobalEventModule, String, boolean)
          - Use subscribeGlobalEvent(eventModule, eventName) 
com.filenet.wcm.toolkit.server.util.xml.WcmXSLUtil.tranform(Writer)
          Use transform(Writer w) 
com.filenet.wcm.toolkit.server.util.WcmEntryTemplate.upgradePermissions(Document, Document)
          Use the non parameter updatePermissions method. 
com.filenet.wcm.toolkit.server.util.WcmValidate.validateGUID(String)
          Use validateGUID(String, String, Locale) instead. Validates GUIDs. Adds brackets at beginning and end if they are not already present. Example: {2868C7DE-F404-4BDE-8EAE-70157CC67AA9} 
com.filenet.wcm.toolkit.server.util.WcmValidate.validateInteger(String, String, String)
          Use validateInteger(String, String, String, Locale) instead. Validates Integers 
com.filenet.wcm.toolkit.server.util.WcmValidate.validateLong(String, String, String)
          Use validateLong(String, String, String, Locale) instead. Validates Longs 
 

Deprecated Constructors
com.filenet.wcm.toolkit.server.util.FilterData(Document)
            
com.filenet.wcm.toolkit.server.util.xml.SearchChoiceListUtil(String, String, String)
            
com.filenet.wcm.toolkit.server.util.WcmAuthoringUtil()
          - This class contains only static methods. There is no reason to construct or register it. 
com.filenet.wcm.toolkit.server.util.WcmHelpMap(String)
          use WcmHelpMap(InputStream in) 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials(WcmDataStore, String, String)
          Use constructors with verify argument. 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials(WcmDataStore, String, String, String)
          Use constructors with verify argument. 
com.filenet.wcm.toolkit.server.util.WcmServerCredentials(WcmDataStore, String, String, String, String)
            
 



© Copyright IBM Corp. 2002, 2007. All Rights Reserved.