public class DefaultDynFormManager extends Object implements DynFormManager
Constructor and Description |
---|
DefaultDynFormManager() |
public DynFormSPIManager getServiceManager()
public Map getDefinitions()
public Service getService(DynObject parameters) throws ServiceException
Manager
Service
based on the given parameters.getService
in interface Manager
parameters
- of the Service
to createService
ServiceException
- if there is an error creating the Service, or the parameters
are not validpublic DynFormDefinition getDefinition(String name)
getDefinition
in interface DynFormManager
public DynFormDefinition getDefinition(DynStruct definition)
getDefinition
in interface DynFormManager
public DynFormDefinition getDefinition(DynObject obj)
getDefinition
in interface DynFormManager
public JDynForm createJDynForm(DynFormDefinition definition) throws ServiceException
createJDynForm
in interface DynFormManager
ServiceException
public JDynForm createJDynForm(DynStruct struct) throws ServiceException
createJDynForm
in interface DynFormManager
ServiceException
public JDynForm createJDynForm(DynObject obj) throws ServiceException
createJDynForm
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(DynFormDefinition definition) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(DynStruct struct) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(DynObjectSet data) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(List data) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public DynObject createServiceParameters(String name) throws ServiceException
Manager
createServiceParameters
in interface Manager
name
- the name of the service whose parameters have to be createdServiceException
- if there is not any service registered with the given namepublic JDynFormSet createJDynFormSet(String name, DynFormDefinition definition) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(String name, DynStruct struct) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(String name, List data) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public JDynFormSet createJDynFormSet(String name, DynObjectSet data) throws ServiceException
createJDynFormSet
in interface DynFormManager
ServiceException
public String getDefaultJDynFormSetName()
getDefaultJDynFormSetName
in interface DynFormManager
public void setDefaultJDynFormSetName(String name)
setDefaultJDynFormSetName
in interface DynFormManager
public void removeDefinition(String name)
removeDefinition
in interface DynFormManager