|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.forms.FormServiceImpl
public class FormServiceImpl
Form Service Implementation.
Constructor Summary | |
---|---|
FormServiceImpl()
|
Method Summary | |
---|---|
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. |
void |
setProcessorRegistry(FormProcessorRegistry registry)
Sets the FormProcessorRegistry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormServiceImpl()
Method Detail |
---|
public void setProcessorRegistry(FormProcessorRegistry registry)
registry
- The FormProcessorRegistry instance to usepublic Form getForm(Item item)
FormService
getForm
in interface FormService
item
- The item to get a form for
public Form getForm(Item item, java.util.Map context)
FormService
getForm
in interface FormService
item
- The item to get a form forcontext
- Map representing optional context that
can be used during retrieval of the form
public Form getForm(Item item, java.util.List fields)
FormService
getForm
in interface FormService
item
- The item to get a form forfields
- Restricted list of fields to include, null
indicates all possible fields for the item
should be included
public Form getForm(Item item, java.util.List fields, java.util.Map context)
FormService
getForm
in interface FormService
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 form
public Form getForm(Item item, java.util.List fields, java.util.List forcedFields)
FormService
getForm
in interface FormService
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 this
public Form getForm(Item item, java.util.List fields, java.util.List forcedFields, java.util.Map context)
FormService
getForm
in interface FormService
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 form
public java.lang.Object saveForm(Item item, FormData data)
FormService
saveForm
in interface FormService
item
- The item to persist the form fordata
- An object representing the form data to persist
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |