mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
17495: Changed xforms-samples name to wcm-sample 17496: Minor fixes for day and week views when rendering new events 17497: *RECORD ONLY* Added Enterprise logo local copy. 17498: ETHREEOH-2933 - User can see contents of the moderated site if user is not a member of the site - Site containers are now private and non member's can't see content. - fix only applies to new moderated sites. 17499: ETHREEOH-2322 - Office Plugin: filename overlaps the plugin UI if longer than 40 characters without spaces 17500: Temorary build fix for site visibility 17508: ETHREEOH-1268 - Pages and Components show varying degrees of success handling "site not found" errors. 17509: Fix for ETHREEOH1733 - Wrong display of multi day events in Share 17514: View In Browser action for document list and document details actions. 17515: Merged DEV-TEMPORARY to V3.2 17471: ETHREEOH-3193: 'capitalize' in output path pattern works differently for templates (vs. XSDs) 17516: Missing css file from Edit Offline changes. Also "Checked out on/by" text changed to "Editing started on/by". Tags now comma separated 17517: Merged DEV-TEMPORARY to V3.2 17474: ETHREEOH-1211: Can't See Images in TinyMCE 17518: Office add-in: ETHREEOH-3361 - Workflow name is visible only before symbol &, ETHREEOH-2735 - Total number of founded items is not shown 17519: 3.2E help links 17520: 3.2E help links, plus ETHREEOH-1536 - Incorrect "insert into current document" function work for unsupported files in MS Office Addin 17522: Fix for ETHREEOH-3257 - Event becomes All day again after editing it to not All day 17526: Fix for unreported issue when rendering an edited event after the view is filtered via tag component causes an script error 17528: Fixed ETHREEOH-3364 " Admin Console - Group Search needs to show searching message and disable further requests while search is running" - Disabling search button & message displaying "Searching..." after 2 seconds for long searches for the following components: * Admin Console: Users - search user, add group * Admin Console: Groups - search group, add group, add user * Site: Members: People - search members, add people * Site: Members: Groups - search membergroups, add group * Site: Members: Pending invites - search invites * Site: Doclib: Assign Workflow - add users * People Finder * Site Finder - All component listed above uses max search result except the following where webscript services lacks support for it: * Admin Console: Users - add group * Admin Console: Groups - search group, add group * Site: Members: Pending invites - search invites - Bugfix: When minSearchTermLength is set to 0: * Group Admin Console: switched to browse view * User Admin Console: didnt do a search - Bugfix: For some components minSearchTermLength & maxSearchResults were brought in as strings causing the global search's max result to be 1001 instead of 101 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
117 lines
4.0 KiB
Java
117 lines
4.0 KiB
Java
/*
|
|
* Copyright (C) 2005-2007 Alfresco Software Limited.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
* As a special exception to the terms and conditions of version 2.0 of
|
|
* the GPL, you may redistribute this Program in connection with Free/Libre
|
|
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
|
* FLOSS exception. You should have recieved a copy of the text describing
|
|
* the FLOSS exception, and it is also available here:
|
|
* http://www.alfresco.com/legal/licensing */
|
|
package org.alfresco.web.forms;
|
|
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
import java.io.OutputStream;
|
|
import java.io.Serializable;
|
|
import java.util.Map;
|
|
import org.w3c.dom.Document;
|
|
import org.xml.sax.SAXException;
|
|
|
|
/**
|
|
* Describes a template that is used for rendering form instance data.
|
|
*
|
|
* @author Ariel Backenroth
|
|
*/
|
|
public interface RenderingEngineTemplate
|
|
extends Serializable
|
|
{
|
|
/** the name of the rendering engine template */
|
|
public String getName();
|
|
|
|
/** the title of the rendering engine template */
|
|
public String getTitle();
|
|
|
|
/** the description of the rendering engine template */
|
|
public String getDescription();
|
|
|
|
/** the output path pattern for renditions */
|
|
public String getOutputPathPattern();
|
|
|
|
/**
|
|
* Provides the rendering engine to use to process this template.
|
|
*
|
|
* @return the rendering engine to use to process this template.
|
|
*/
|
|
public RenderingEngine getRenderingEngine();
|
|
|
|
/**
|
|
* Provides an input stream to the rendering engine template.
|
|
*
|
|
* @return the input stream to the rendering engine template.
|
|
*/
|
|
public InputStream getInputStream()
|
|
throws IOException;
|
|
|
|
/**
|
|
* Returns the output path for the rendition.
|
|
*
|
|
* @param formInstanceData the form instance data to use for
|
|
* processing the pattern.
|
|
* @param currentAVMPath the current path where the form is being created.
|
|
* @param name the name which is used in a pattern
|
|
* @return the output path for the rendition.
|
|
*/
|
|
public String getOutputPathForRendition(final FormInstanceData formInstanceData,
|
|
final String currentAVMPath, final String name);
|
|
|
|
/**
|
|
* Returns the mimetype to use when generating content for this
|
|
* output method.
|
|
*
|
|
* @return the mimetype to use when generating content for this
|
|
* output method, such as text/html, text/xml, application/pdf.
|
|
*/
|
|
public String getMimetypeForRendition();
|
|
|
|
/**
|
|
* Produces a rendition of the provided formInstanceData.
|
|
*
|
|
* @param formInstanceData the form instance data for which to produce
|
|
* the rendition.
|
|
* @param renditionAVMPath the path to use for the rendition.
|
|
*/
|
|
public Rendition render(final FormInstanceData formInstanceData,
|
|
final String renditionAVMPath)
|
|
throws IOException,
|
|
SAXException,
|
|
RenderingEngine.RenderingException;
|
|
|
|
/**
|
|
* Produces a rendition of the provided formInstanceData to an existing
|
|
* rendition.
|
|
*
|
|
* @param formInstanceData the form instance data for which to produce
|
|
* the rendition.
|
|
* @param rendition the rendition to rerender
|
|
*/
|
|
public void render(final FormInstanceData formInstanceData,
|
|
final Rendition rendition)
|
|
throws IOException,
|
|
SAXException,
|
|
RenderingEngine.RenderingException;
|
|
}
|