protected CmsWorkflowResponse actionForcePublish(
        CmsObject userCms,
        CmsPublishOptions options,
        List<CmsResource> resources)
    throws CmsException {

        CmsPublish publish = new CmsPublish(userCms, options.getParameters());
        publish.publishResources(resources);
        CmsWorkflowResponse response = new CmsWorkflowResponse(
            true,
            "",
            new ArrayList<CmsPublishResource>(),
            new ArrayList<CmsWorkflowAction>(),
            null);
        return response;
    }
protected CmsWorkflowResponse actionForcePublish ( CmsObject userCms , CmsPublishOptions options , List < CmsResource > resources ) throws CmsException { CmsPublish publish = new CmsPublish ( userCms , options . getParameters ( ) ) ; publish . publishResources ( resources ) ; CmsWorkflowResponse response = new CmsWorkflowResponse ( true , "" , new ArrayList < CmsPublishResource > ( ) , new ArrayList < CmsWorkflowAction > ( ) , null ) ; return response ; }
The implementation of the "forcepublish" workflow action.<p>

@param userCms the user CMS context
@param resources the resources which the action should process
@param options the publish options to use
@return the workflow response

@throws CmsException if something goes wrong