public CmsUUID publishResource(CmsObject cms, String resourcename, boolean publishSiblings, I_CmsReport report)
    throws Exception {

        CmsResource resource = cms.readResource(resourcename, CmsResourceFilter.ALL);
        return publishProject(cms, report, resource, publishSiblings);
    }
public CmsUUID publishResource ( CmsObject cms , String resourcename , boolean publishSiblings , I_CmsReport report ) throws Exception { CmsResource resource = cms . readResource ( resourcename , CmsResourceFilter . ALL ) ; return publishProject ( cms , report , resource , publishSiblings ) ; }
Publishes a single resource.<p>

@param cms the cms request context
@param resourcename the name of the resource to be published
@param publishSiblings if <code>true</code>, all siblings of the resource are also published
@param report the report to write the progress information to

@return the publish history id of the published project

@throws Exception if something goes wrong