Deprecated API


Contents
Deprecated Classes
com.dotmarketing.cms.contactus.action.ContactUsAction
           
com.dotmarketing.cms.contactus.action.ContactUsExtAction
           
 

Deprecated Methods
com.dotmarketing.beans.Inode.addChild(Inode)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.addChild(Inode, String)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.addChild(Inode, String, int)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.addParent(Inode)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.addParent(Inode, String)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.portlets.contentlet.business.ContentletFactoryDBImpl.convertContentletToFatContentlet(Contentlet, Contentlet)
            
com.dotmarketing.portlets.contentlet.business.ContentletFactoryDBImpl.convertFatContentletToContentlet(Contentlet)
            
com.dotmarketing.portlets.containers.api.ContainerAPI.delete(Container)
            
com.dotmarketing.portlets.folders.business.FolderAPI.delete(Folder)
            
com.dotmarketing.business.HostAPI.delete(Host)
            
com.dotmarketing.portlets.htmlpages.businessrule.HTMLPageAPI.delete(HTMLPage)
            
com.dotmarketing.beans.Inode.deleteChild(Inode)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.deleteChild(Inode, String)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.deleteParent(Inode)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.beans.Inode.deleteParent(Inode, String)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.business.HostAPI.find(long)
            
com.dotmarketing.portlets.containers.api.ContainerAPI.find(long)
            
com.dotmarketing.portlets.htmlpages.businessrule.HTMLPageAPI.find(long)
            
com.dotmarketing.business.HostAPI.findAll()
            
com.dotmarketing.business.PermissionAPIImpl.findAll()
            
com.dotmarketing.portlets.containers.api.ContainerAPI.findAll()
            
com.dotmarketing.portlets.folders.business.FolderAPI.findAll()
            
com.dotmarketing.portlets.htmlpages.businessrule.HTMLPageAPI.findAll()
            
com.dotmarketing.portlets.categories.business.CategoryAPI.findByName(String, User, boolean)
          This method shouldn't be used because it might have more than one category with the same name 
com.dotmarketing.business.BaseWebAssetAPI.findLiveChildren(Inode, WebAsset)
            
com.dotmarketing.factories.WebAssetFactory.getAssetsAndPermissionsPerRoleAndCondition(long, Role[], String, int, int, String, Class, String, long, User)
            
com.dotmarketing.util.Parameter.getBool(String)
          Returns true if parameter is not null and false if parameter is null. 
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityName(String, String, boolean, boolean, int)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityName(String, String, long[], boolean, boolean, int, boolean)
           
com.dotmarketing.util.UtilHTML.getCategoriesByEntityName(String, String, long, boolean, boolean, int, boolean)
            
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityName(String, String, long, boolean, boolean, int, boolean)
           
com.dotmarketing.util.UtilHTML.getCategoriesByEntityName(String, String, String[], boolean, boolean, int, boolean)
            
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityName(String, String, String[], boolean, boolean, int, boolean)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityNameTextMode(String, String, long[], boolean, boolean, int, boolean)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityNameTextMode(String, String, long, boolean, boolean, int, boolean)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoriesByEntityNameTextMode(String, String, String[], boolean, boolean, int, boolean)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getCategoryByName(String)
          Multiple categories can have the same name so this method should be avoid to search a single category 
com.dotmarketing.portlets.categories.ajax.CategoryAjax.getChildrenCategories(String)
          use getChildrenCategories(String catName, String filter) instead 
com.dotmarketing.viewtools.ContentsWebAPI.getContentIdentifier(Contentlet)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.viewtools.ContentsWebAPI.getContentletsByStructureAndOrder(Structure, String, String, int)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead @see getFieldByLogicalName 
com.dotmarketing.viewtools.ContentsWebAPI.getContents(String, String)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead @see getFieldByLogicalName 
com.dotmarketing.viewtools.ContentsWebAPI.getContentsByStructureAndFieldValue(Structure, String, String)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead @see getFieldByLogicalName 
com.dotmarketing.cms.factories.PublicRoleFactory.getCountRolesWithNameLike(String)
            
com.dotmarketing.portlets.structure.model.Structure.getField(String)
          This is a not recommended way to obtain a field since the field label name can be changed by the user 
com.dotmarketing.viewtools.ContentsWebAPI.getFieldByName(long, String)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead @see getFieldByLogicalName 
com.dotmarketing.viewtools.ContentsWebAPI.getFieldByName(String, String)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead @see getFieldByLogicalName 
com.dotmarketing.viewtools.ContentsWebAPI.getFieldByName(Structure, String)
          This method was deprecated because it uses the presentation name of the field we encourage the use of the logical name of the field instead 
com.dotmarketing.portlets.structure.model.Structure.getFields()
          As of version dotCMS 1.2, this will be have private access, replaced by {FieldsCache.getFields(inode)} 
com.dotmarketing.viewtools.ContentsWebAPI.getFieldValue(String, Contentlet)
          Try using the #getContentDetail or #getContentDetailByIdentifier macros to retrieve the fields of a content. 
com.dotmarketing.db.DotStoredProcedure.getInt(String)
           
com.dotmarketing.viewtools.ContentsWebAPI.getLastestContents(String, String)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.viewtools.ContentsWebAPI.getLastestContents(String, String, int)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.viewtools.ContentsWebAPI.getLastestContents(Structure, Category)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.viewtools.ContentsWebAPI.getLastestContents(Structure, Category, int)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.viewtools.MessagesTools.getLocale()
          This does not fit the purpose of MessageTool and will be removed in VelocityTools 1.2 
com.dotmarketing.db.DotStoredProcedure.getObject(Object)
           
com.dotmarketing.db.DotStoredProcedure.getObject(String)
           
com.dotmarketing.db.DotStoredProcedure.getObjectArray(String)
           
com.dotmarketing.business.PermissionAPI.getPermissionIdsFromRoles(Inode, Role[], User)
            
com.dotmarketing.viewtools.ContentsWebAPI.getRelationshipsOfStructure(long, boolean)
           
com.dotmarketing.viewtools.ContentsWebAPI.getRelationshipsOfStructure(String, boolean)
           
com.dotmarketing.viewtools.ContentsWebAPI.getRelationshipsOfStructure(Structure, boolean)
          this methods could be found on StructuresWebAPI 
com.dotmarketing.db.DotStoredProcedure.getResult()
           
com.dotmarketing.db.DotConnect.getResult()
          - Use loadResult instead as it throws the exception and doesn't swallow it Executes SQL, Pulls a result set, sets the rs and rsmd variables. 
com.dotmarketing.db.DotStoredProcedure.getResult(String)
           
com.dotmarketing.db.DotStoredProcedure.getResults()
           
com.dotmarketing.db.DotConnect.getResults()
          - loadResults as it doesn't swallow the excpetion. 
com.dotmarketing.db.DotStoredProcedure.getResults(String)
           
com.dotmarketing.cms.factories.PublicRoleFactory.getRolesWithNameLike(String)
            
com.dotmarketing.viewtools.CategoriesWebAPI.getSimpleCategoriesByEntityName(String, String, long)
           
com.dotmarketing.viewtools.CategoriesWebAPI.getSimpleComboByEntityName(String, String, long)
           
com.dotmarketing.db.DotStoredProcedure.getString(String)
           
com.dotmarketing.portlets.structure.factories.StructureFactory.getStructureByInode(long)
          Use StructureCache.getStructureByInode instead 
com.dotmarketing.portlets.structure.factories.StructureFactory.getStructureByInode(String)
          Use StructureCache.getStructureByInode instead 
com.dotmarketing.portlets.structure.factories.StructureFactory.getStructureByType(String)
          Use StructureCache.getStructureByName instead 
com.dotmarketing.viewtools.ContentsWebAPI.getStructureByType(String)
          this methods was deprecated because it hits the database, try to use the lucene search methods instead. 
com.dotmarketing.business.PermissionFactory.getUsersAndRolesWithPermissionOnInode(String, Permissionable, int, int, int)
            
com.dotmarketing.business.PermissionFactoryImpl.getUsersAndRolesWithPermissionOnInode(String, Permissionable, int, int, int)
           
com.dotmarketing.cms.factories.PublicUserFactory.getUsersAnRolesByName(String, int, int)
            
com.dotmarketing.business.PermissionFactory.getUsersWithPermissionOnInode(String, Permissionable, int, int, int)
            
com.dotmarketing.business.PermissionFactoryImpl.getUsersWithPermissionOnInode(String, Permissionable, int, int, int)
           
com.dotmarketing.portlets.links.model.Link.isInternal()
          use link type property instead 
com.dotmarketing.portlets.links.struts.LinkForm.isInternal()
          use link type property instead 
com.dotmarketing.util.UtilMethods.obfuscateEmailHref(String)
          Use obfuscateEmail and create the in your html 
com.dotmarketing.portlets.containers.api.ContainerAPI.save(Container)
            
com.dotmarketing.business.HostAPI.save(Host)
            
com.dotmarketing.portlets.htmlpages.businessrule.HTMLPageAPI.save(HTMLPage)
            
com.dotmarketing.portlets.links.model.Link.setInternal(boolean)
          use link type property instead 
com.dotmarketing.portlets.links.struts.LinkForm.setInternal(boolean)
          use link type property instead 
com.dotmarketing.beans.Inode.setParents(List)
          Association between inodes should be called through their respective API, calling the API ensures the consistency of the relationship and caches 
com.dotmarketing.db.DotStoredProcedure.setSQL(String)
           
 



Copyright © 2009 Dotmarketing, Inc. All Rights Reserved.