Class ArtifactInfoFactory
- java.lang.Object
-
- org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoFactory
-
public class ArtifactInfoFactory extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
ArtifactInfoFactory(java.lang.String delegatorName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<ArtifactInfoBase>
getAllArtifactInfosByNamePartial(java.lang.String artifactNamePartial, java.lang.String type)
ArtifactInfoBase
getArtifactInfoByNameAndType(java.lang.String artifactName, java.lang.String artifactLocation, java.lang.String type)
ArtifactInfoBase
getArtifactInfoByUniqueIdAndType(java.lang.String uniqueId, java.lang.String type)
static ArtifactInfoFactory
getArtifactInfoFactory(java.lang.String delegatorName)
ControllerRequestArtifactInfo
getControllerRequestArtifactInfo(java.net.URL controllerXmlUrl, java.lang.String requestUri)
ConfigXMLReader.RequestMap
getControllerRequestMap(java.net.URL controllerXmlUrl, java.lang.String requestUri)
ControllerViewArtifactInfo
getControllerViewArtifactInfo(java.net.URL controllerXmlUrl, java.lang.String viewUri)
ConfigXMLReader.ViewMap
getControllerViewMap(java.net.URL controllerXmlUrl, java.lang.String viewUri)
DispatchContext
getDispatchContext()
EntityArtifactInfo
getEntityArtifactInfo(java.lang.String entityName)
ModelReader
getEntityModelReader()
FormWidgetArtifactInfo
getFormWidgetArtifactInfo(java.lang.String formNameAndLocation)
FormWidgetArtifactInfo
getFormWidgetArtifactInfo(java.lang.String formName, java.lang.String formLocation)
ModelEntity
getModelEntity(java.lang.String entityName)
ModelForm
getModelForm(java.lang.String formNameAndLocation)
ModelForm
getModelForm(java.lang.String formName, java.lang.String formLocation)
ModelScreen
getModelScreen(java.lang.String screenName, java.lang.String screenLocation)
ModelService
getModelService(java.lang.String serviceName)
ScreenWidgetArtifactInfo
getScreenWidgetArtifactInfo(java.lang.String screenName, java.lang.String screenLocation)
ServiceArtifactInfo
getServiceArtifactInfo(java.lang.String serviceName)
ServiceEcaArtifactInfo
getServiceEcaArtifactInfo(ServiceEcaRule ecaRule)
void
prepareAll()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
EntityInfoTypeId
public static final java.lang.String EntityInfoTypeId
- See Also:
- Constant Field Values
-
ServiceInfoTypeId
public static final java.lang.String ServiceInfoTypeId
- See Also:
- Constant Field Values
-
ServiceEcaInfoTypeId
public static final java.lang.String ServiceEcaInfoTypeId
- See Also:
- Constant Field Values
-
FormWidgetInfoTypeId
public static final java.lang.String FormWidgetInfoTypeId
- See Also:
- Constant Field Values
-
ScreenWidgetInfoTypeId
public static final java.lang.String ScreenWidgetInfoTypeId
- See Also:
- Constant Field Values
-
ControllerRequestInfoTypeId
public static final java.lang.String ControllerRequestInfoTypeId
- See Also:
- Constant Field Values
-
ControllerViewInfoTypeId
public static final java.lang.String ControllerViewInfoTypeId
- See Also:
- Constant Field Values
-
delegatorName
protected final java.lang.String delegatorName
-
entityModelReader
protected final ModelReader entityModelReader
-
dispatchContext
protected final DispatchContext dispatchContext
-
allEntityInfos
public java.util.Map<java.lang.String,EntityArtifactInfo> allEntityInfos
-
allServiceInfos
public java.util.Map<java.lang.String,ServiceArtifactInfo> allServiceInfos
-
allServiceEcaInfos
public java.util.Map<ServiceEcaRule,ServiceEcaArtifactInfo> allServiceEcaInfos
-
allFormInfos
public java.util.Map<java.lang.String,FormWidgetArtifactInfo> allFormInfos
-
allScreenInfos
public java.util.Map<java.lang.String,ScreenWidgetArtifactInfo> allScreenInfos
-
allControllerRequestInfos
public java.util.Map<java.lang.String,ControllerRequestArtifactInfo> allControllerRequestInfos
-
allControllerViewInfos
public java.util.Map<java.lang.String,ControllerViewArtifactInfo> allControllerViewInfos
-
allServiceEcaInfosReferringToServiceName
public java.util.Map<java.lang.String,java.util.Set<ServiceEcaArtifactInfo>> allServiceEcaInfosReferringToServiceName
-
allServiceInfosReferringToServiceName
public java.util.Map<java.lang.String,java.util.Set<ServiceArtifactInfo>> allServiceInfosReferringToServiceName
-
allFormInfosReferringToServiceName
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosReferringToServiceName
-
allFormInfosBasedOnServiceName
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosBasedOnServiceName
-
allScreenInfosReferringToServiceName
public java.util.Map<java.lang.String,java.util.Set<ScreenWidgetArtifactInfo>> allScreenInfosReferringToServiceName
-
allRequestInfosReferringToServiceName
public java.util.Map<java.lang.String,java.util.Set<ControllerRequestArtifactInfo>> allRequestInfosReferringToServiceName
-
allServiceInfosReferringToEntityName
public java.util.Map<java.lang.String,java.util.Set<ServiceArtifactInfo>> allServiceInfosReferringToEntityName
-
allFormInfosReferringToEntityName
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosReferringToEntityName
-
allScreenInfosReferringToEntityName
public java.util.Map<java.lang.String,java.util.Set<ScreenWidgetArtifactInfo>> allScreenInfosReferringToEntityName
-
allServiceInfosReferringToServiceEcaRule
public java.util.Map<ServiceEcaRule,java.util.Set<ServiceArtifactInfo>> allServiceInfosReferringToServiceEcaRule
-
allFormInfosExtendingForm
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosExtendingForm
-
allScreenInfosReferringToForm
public java.util.Map<java.lang.String,java.util.Set<ScreenWidgetArtifactInfo>> allScreenInfosReferringToForm
-
allScreenInfosReferringToScreen
public java.util.Map<java.lang.String,java.util.Set<ScreenWidgetArtifactInfo>> allScreenInfosReferringToScreen
-
allViewInfosReferringToScreen
public java.util.Map<java.lang.String,java.util.Set<ControllerViewArtifactInfo>> allViewInfosReferringToScreen
-
allRequestInfosReferringToView
public java.util.Map<java.lang.String,java.util.Set<ControllerRequestArtifactInfo>> allRequestInfosReferringToView
-
allFormInfosTargetingRequest
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosTargetingRequest
-
allFormInfosReferringToRequest
public java.util.Map<java.lang.String,java.util.Set<FormWidgetArtifactInfo>> allFormInfosReferringToRequest
-
allScreenInfosReferringToRequest
public java.util.Map<java.lang.String,java.util.Set<ScreenWidgetArtifactInfo>> allScreenInfosReferringToRequest
-
allRequestInfosReferringToRequest
public java.util.Map<java.lang.String,java.util.Set<ControllerRequestArtifactInfo>> allRequestInfosReferringToRequest
-
-
Constructor Detail
-
ArtifactInfoFactory
protected ArtifactInfoFactory(java.lang.String delegatorName) throws GeneralException
- Throws:
GeneralException
-
-
Method Detail
-
getArtifactInfoFactory
public static ArtifactInfoFactory getArtifactInfoFactory(java.lang.String delegatorName) throws GeneralException
- Throws:
GeneralException
-
prepareAll
public void prepareAll() throws GeneralException
- Throws:
GeneralException
-
getEntityModelReader
public ModelReader getEntityModelReader()
-
getDispatchContext
public DispatchContext getDispatchContext()
-
getModelEntity
public ModelEntity getModelEntity(java.lang.String entityName) throws GenericEntityException
- Throws:
GenericEntityException
-
getModelService
public ModelService getModelService(java.lang.String serviceName) throws GenericServiceException
- Throws:
GenericServiceException
-
getModelForm
public ModelForm getModelForm(java.lang.String formNameAndLocation) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
-
getModelForm
public ModelForm getModelForm(java.lang.String formName, java.lang.String formLocation) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
-
getModelScreen
public ModelScreen getModelScreen(java.lang.String screenName, java.lang.String screenLocation) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
-
getControllerRequestMap
public ConfigXMLReader.RequestMap getControllerRequestMap(java.net.URL controllerXmlUrl, java.lang.String requestUri)
-
getControllerViewMap
public ConfigXMLReader.ViewMap getControllerViewMap(java.net.URL controllerXmlUrl, java.lang.String viewUri)
-
getEntityArtifactInfo
public EntityArtifactInfo getEntityArtifactInfo(java.lang.String entityName) throws GeneralException
- Throws:
GeneralException
-
getServiceArtifactInfo
public ServiceArtifactInfo getServiceArtifactInfo(java.lang.String serviceName) throws GeneralException
- Throws:
GeneralException
-
getServiceEcaArtifactInfo
public ServiceEcaArtifactInfo getServiceEcaArtifactInfo(ServiceEcaRule ecaRule) throws GeneralException
- Throws:
GeneralException
-
getFormWidgetArtifactInfo
public FormWidgetArtifactInfo getFormWidgetArtifactInfo(java.lang.String formNameAndLocation) throws GeneralException
- Throws:
GeneralException
-
getFormWidgetArtifactInfo
public FormWidgetArtifactInfo getFormWidgetArtifactInfo(java.lang.String formName, java.lang.String formLocation) throws GeneralException
- Throws:
GeneralException
-
getScreenWidgetArtifactInfo
public ScreenWidgetArtifactInfo getScreenWidgetArtifactInfo(java.lang.String screenName, java.lang.String screenLocation)
-
getControllerRequestArtifactInfo
public ControllerRequestArtifactInfo getControllerRequestArtifactInfo(java.net.URL controllerXmlUrl, java.lang.String requestUri) throws GeneralException
- Throws:
GeneralException
-
getControllerViewArtifactInfo
public ControllerViewArtifactInfo getControllerViewArtifactInfo(java.net.URL controllerXmlUrl, java.lang.String viewUri) throws GeneralException
- Throws:
GeneralException
-
getArtifactInfoByUniqueIdAndType
public ArtifactInfoBase getArtifactInfoByUniqueIdAndType(java.lang.String uniqueId, java.lang.String type)
-
getArtifactInfoByNameAndType
public ArtifactInfoBase getArtifactInfoByNameAndType(java.lang.String artifactName, java.lang.String artifactLocation, java.lang.String type)
-
getAllArtifactInfosByNamePartial
public java.util.Set<ArtifactInfoBase> getAllArtifactInfosByNamePartial(java.lang.String artifactNamePartial, java.lang.String type)
-
-