Deprecated API


Contents
Deprecated Classes
atg.svc.workflow.process.action.ChangeSolutionStatus
          This action is deprecated. It has been replaced by SolutionNextStepAction. Existing 2007.1 workflows still reference this action so the action cannot be deleted. However, the action is now a no-op. For 2007.1 workflows, this status is changed in atg.svc.publishing.service.SvcPublishingServiceImpl#changeSolutionStatus() just before the outcome is fired. Its fired there instead of here because the status must be changed before the solution asset is checked in. The ChangeSolutionStatus in 2007.1 was called after the solution asset was checked in. However, in 2008.1, the status is a property of the Solution item. The Solution item (i.e. solution asset) cannot be edited after the check-in so the ChangeSolutionStaus is a no-op and the status is changed before the outcome is actually fired. 
atg.svc.workflow.process.action.MarkSolutionStatusAsDeployed
          This action is deprecated. It has been replaced by SolutionNextStepAction. Existing 2007.1 workflows still reference this action so the action cannot be deleted. However, the action is now a no-op. For 2007.1 workflows, the solution is marked as deployed in atg.svc.publishing.service.SvcPublishingServiceImpl#changeExternallyVisibleStatus() just before the outcome is fired. Its fired there instead of here because the status must be changed before the solution asset is checked in. The MarkSolutionStatusAsDeployed in 2007.1 was called after the solution asset was checked in. However, in 2008.1, the status is a property of the Solution item. The Solution item (i.e. solution asset) cannot be edited after the check-in so the ChangeSolutionStaus is a no-op and the status is changed before the outcome is actually fired. 
atg.svc.workflow.process.action.MarkSolutionStatusAsUndeployed
          This action is deprecated. It has been replaced by SolutionNextStepAction. Existing 2007.1 workflows still reference this action so the action cannot be deleted. However, the action is now a no-op. For 2007.1 workflows, the solution is marked as undeployed in atg.svc.publishing.service.SvcPublishingServiceImpl#changeExternallyVisibleStatus() just before the outcome is fired. Its fired there instead of here because the status must be changed before the solution asset is checked in. The MarkSolutionStatusAsUndeployed in 2007.1 was called after the solution asset was checked in. However, in 2008.1, the status is a property of the Solution item. The Solution item (i.e. solution asset) cannot be edited after the check-in so the ChangeSolutionStaus is a no-op and the status is changed before the outcome is actually fired. 
 

Deprecated Methods
atg.svc.repository.service.RepositoryService.edit(Object)
          Bean impl objects are not required to edit repository impl objects. 
atg.svc.repository.service.RepositoryService.editCollection(Collection)
          Bean impl objects are not required to edit repository impl objects. 
atg.svc.ui.formhandlers.CustomerProfileFormHandler.generateNewAccountEmailParameters(DynamoHttpServletRequest, DynamoHttpServletResponse, RepositoryItem)
            
atg.svc.ui.formhandlers.CustomerProfileFormHandler.generateResetPasswordEmailParameters(DynamoHttpServletRequest, DynamoHttpServletResponse, RepositoryItem)
            
atg.svc.repository.beans.methods.SolutionClassFieldDefinitionMethods.getComputedDisplayName(SolutionClassFieldDefinition)
          Use display name instead. 
atg.svc.ui.formhandlers.RatingFormHandler.getContentId()
          Use #getDocId 
atg.svc.repository.service.SolutionScoringService.getHotSolutions()
          This function is being retained for backward compatibility but you should use getHotSolutionsAsSolutions() instead. Most callers want a list of Solution rather than a list of SolutionRelevance and getHotSolutionsAsSolutions() is more efficient than getting the SolutionRelevance and then retrieving the Solution by id. getHotSolutionsAsSolutions() will also make sure that non-deployed solutions are not returned in self-service.
NOTE: If you want to get the SolutionRelevance, you can also get it from Solution.getSolutionRelevance().
 
atg.svc.repository.service.SolutionScoringService.getTopSolutions()
          This function is being retained for backward compatibility but you should use getTopSolutionsAsSolutions() instead. Most callers want a list of Solution rather than a list of SolutionRelevance and getTopSolutionsAsSolutions() is more efficient than getting the SolutionRelevance and then retrieving the Solution by id. getTopSolutionsAsSolutions() will also make sure that non-deployed solutions are not returned in self-service.
NOTE: If you want to get the SolutionRelevance, you can also get it from Solution.getSolutionRelevance().
 
atg.svc.agent.environment.EnvironmentChangeFormHandler.getUserMessage(String, String, String[])
            
atg.svc.ui.formhandlers.RatingFormHandler.setContentId(String)
          Use #setDocId