Class ServiceArtifactInfo
- java.lang.Object
-
- org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
-
- org.apache.ofbiz.webtools.artifactinfo.ServiceArtifactInfo
-
- All Implemented Interfaces:
java.lang.Comparable<ArtifactInfoBase>
public class ServiceArtifactInfo extends ArtifactInfoBase
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
displayPrefix
protected ModelService
modelService
static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
aif
-
-
Constructor Summary
Constructors Constructor Description ServiceArtifactInfo(java.lang.String serviceName, ArtifactInfoFactory aif)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
createEoModelMap(java.util.Set<ServiceArtifactInfo> callingServiceSet, java.util.Set<ServiceArtifactInfo> calledServiceSet, java.util.Set<ServiceEcaArtifactInfo> callingServiceEcaSet, java.util.Set<ServiceEcaArtifactInfo> calledServiceEcaSet, boolean useMoreDetailedNames)
boolean
equals(java.lang.Object obj)
java.lang.String
getDisplayName()
java.lang.String
getDisplayPrefixedName()
java.lang.String
getDisplayType()
java.util.Set<EntityArtifactInfo>
getEntitiesUsedByService()
java.util.Set<FormWidgetArtifactInfo>
getFormsBasedOnService()
java.util.Set<FormWidgetArtifactInfo>
getFormsCallingService()
java.net.URL
getImplementationLocationURL()
java.net.URL
getLocationURL()
ModelService
getModelService()
java.util.Set<ControllerRequestArtifactInfo>
getRequestsWithEventCallingService()
java.util.Set<ScreenWidgetArtifactInfo>
getScreensCallingService()
java.util.Set<ServiceEcaArtifactInfo>
getServiceEcaRulesCallingService()
java.util.Set<ServiceEcaArtifactInfo>
getServiceEcaRulesTriggeredByService()
java.util.Set<ServiceArtifactInfo>
getServicesCalledByService()
java.util.Set<ServiceArtifactInfo>
getServicesCalledByServiceEcas()
java.util.Set<ServiceArtifactInfo>
getServicesCallingService()
java.util.Set<ServiceArtifactInfo>
getServicesCallingServiceByEcas()
java.lang.String
getType()
java.lang.String
getUniqueId()
void
populateAll()
This must be called after creation from the ArtifactInfoFactory after this class has been put into the global Map in order to avoid recursive initializationprotected void
populateCalledServices()
protected void
populateEntitiesFromNameSet(java.util.Set<java.lang.String> allEntityNameSet)
protected void
populateServicesFromNameSet(java.util.Set<java.lang.String> allServiceNameSet)
protected void
populateTriggeredServiceEcas()
protected void
populateUsedEntities()
void
setDisplayPrefix(java.lang.String displayPrefix)
void
writeServiceCallGraphEoModel(java.lang.String eomodeldFullPath)
-
Methods inherited from class org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo, hashCode, toString
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
modelService
protected ModelService modelService
-
displayPrefix
protected java.lang.String displayPrefix
-
-
Constructor Detail
-
ServiceArtifactInfo
public ServiceArtifactInfo(java.lang.String serviceName, ArtifactInfoFactory aif) throws GeneralException
- Throws:
GeneralException
-
-
Method Detail
-
populateAll
public void populateAll() throws GeneralException
This must be called after creation from the ArtifactInfoFactory after this class has been put into the global Map in order to avoid recursive initialization- Throws:
GeneralException
-
populateUsedEntities
protected void populateUsedEntities() throws GeneralException
- Throws:
GeneralException
-
populateEntitiesFromNameSet
protected void populateEntitiesFromNameSet(java.util.Set<java.lang.String> allEntityNameSet) throws GeneralException
- Throws:
GeneralException
-
populateCalledServices
protected void populateCalledServices() throws GeneralException
- Throws:
GeneralException
-
populateServicesFromNameSet
protected void populateServicesFromNameSet(java.util.Set<java.lang.String> allServiceNameSet) throws GeneralException
- Throws:
GeneralException
-
populateTriggeredServiceEcas
protected void populateTriggeredServiceEcas() throws GeneralException
- Throws:
GeneralException
-
getModelService
public ModelService getModelService()
-
setDisplayPrefix
public void setDisplayPrefix(java.lang.String displayPrefix)
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in classArtifactInfoBase
-
getDisplayPrefixedName
public java.lang.String getDisplayPrefixedName()
-
getDisplayType
public java.lang.String getDisplayType()
- Specified by:
getDisplayType
in classArtifactInfoBase
-
getType
public java.lang.String getType()
- Specified by:
getType
in classArtifactInfoBase
-
getUniqueId
public java.lang.String getUniqueId()
- Specified by:
getUniqueId
in classArtifactInfoBase
-
getLocationURL
public java.net.URL getLocationURL() throws java.net.MalformedURLException
- Specified by:
getLocationURL
in classArtifactInfoBase
- Throws:
java.net.MalformedURLException
-
getImplementationLocationURL
public java.net.URL getImplementationLocationURL() throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
getEntitiesUsedByService
public java.util.Set<EntityArtifactInfo> getEntitiesUsedByService()
-
getServicesCallingService
public java.util.Set<ServiceArtifactInfo> getServicesCallingService()
-
getServicesCalledByService
public java.util.Set<ServiceArtifactInfo> getServicesCalledByService()
-
getServicesCalledByServiceEcas
public java.util.Set<ServiceArtifactInfo> getServicesCalledByServiceEcas()
-
getServiceEcaRulesTriggeredByService
public java.util.Set<ServiceEcaArtifactInfo> getServiceEcaRulesTriggeredByService()
-
getServicesCallingServiceByEcas
public java.util.Set<ServiceArtifactInfo> getServicesCallingServiceByEcas()
-
getServiceEcaRulesCallingService
public java.util.Set<ServiceEcaArtifactInfo> getServiceEcaRulesCallingService()
-
getFormsCallingService
public java.util.Set<FormWidgetArtifactInfo> getFormsCallingService()
-
getFormsBasedOnService
public java.util.Set<FormWidgetArtifactInfo> getFormsBasedOnService()
-
getScreensCallingService
public java.util.Set<ScreenWidgetArtifactInfo> getScreensCallingService()
-
getRequestsWithEventCallingService
public java.util.Set<ControllerRequestArtifactInfo> getRequestsWithEventCallingService()
-
writeServiceCallGraphEoModel
public void writeServiceCallGraphEoModel(java.lang.String eomodeldFullPath) throws GeneralException, java.io.FileNotFoundException, java.io.UnsupportedEncodingException
- Throws:
GeneralException
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
-
createEoModelMap
public java.util.Map<java.lang.String,java.lang.Object> createEoModelMap(java.util.Set<ServiceArtifactInfo> callingServiceSet, java.util.Set<ServiceArtifactInfo> calledServiceSet, java.util.Set<ServiceEcaArtifactInfo> callingServiceEcaSet, java.util.Set<ServiceEcaArtifactInfo> calledServiceEcaSet, boolean useMoreDetailedNames)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classArtifactInfoBase
-
-