public interface FormService
This service API is designed to support the public facing Form APIs
| Modifier and Type | Method and Description |
|---|---|
Form |
getForm(Item item)
Returns a form representation of the given item,
all known fields for the item are included.
|
Form |
getForm(Item item,
java.util.List fields)
Returns a form representation of the given item consisting
only of the given fields.
|
Form |
getForm(Item item,
java.util.List fields,
java.util.List forcedFields)
Returns a form representation of the given item consisting
only of the given fields.
|
Form |
getForm(Item item,
java.util.List fields,
java.util.List forcedFields,
java.util.Map context)
Returns a form representation of the given item consisting
only of the given fields.
|
Form |
getForm(Item item,
java.util.List fields,
java.util.Map context)
Returns a form representation of the given item consisting
only of the given fields.
|
Form |
getForm(Item item,
java.util.Map context)
Returns a form representation of the given item,
all known fields for the item are included.
|
java.lang.Object |
saveForm(Item item,
FormData data)
Persists the given form representation for the given item.
|
Form getForm(Item item)
item - The item to get a form forForm getForm(Item item, java.util.Map context)
item - The item to get a form forcontext - Map representing optional context that
can be used during retrieval of the formForm getForm(Item item, java.util.List fields)
item - The item to get a form forfields - Restricted list of fields to include, null
indicates all possible fields for the item
should be includedForm getForm(Item item, java.util.List fields, java.util.Map context)
item - The item to get a form forfields - Restricted list of fields to include, null
indicates all possible fields for the item
should be includedcontext - Map representing optional context that
can be used during retrieval of the formForm getForm(Item item, java.util.List fields, java.util.List forcedFields)
item - The item to get a form forfields - Restricted list of fields to include, null
indicates all possible fields for the item
should be includedforcedFields - List of field names from 'fields' list
that should be forcibly included, it is
up to the form processor implementation
to determine how to enforce thisForm getForm(Item item, java.util.List fields, java.util.List forcedFields, java.util.Map context)
item - The item to get a form forfields - Restricted list of fields to include, null
indicates all possible fields for the item
should be includedforcedFields - List of field names from 'fields' list
that should be forcibly included, it is
up to the form processor implementation
to determine how to enforce thiscontext - Map representing optional context that
can be used during retrieval of the formCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.