Class ServiceArtifactInfo
java.lang.Object
org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
org.apache.ofbiz.webtools.artifactinfo.ServiceArtifactInfo
- All Implemented Interfaces:
Comparable<ArtifactInfoBase>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEoModelMap
(Set<ServiceArtifactInfo> callingServiceSet, Set<ServiceArtifactInfo> calledServiceSet, Set<ServiceEcaArtifactInfo> callingServiceEcaSet, Set<ServiceEcaArtifactInfo> calledServiceEcaSet, boolean useMoreDetailedNames) Create eo model map map.boolean
Gets display prefixed name.Gets entities used by service.Gets forms based on service.Gets forms calling service.Gets implementation location url.Gets model service.Gets requests with event calling service.Gets screens calling service.Gets service eca rules calling service.Gets service eca rules triggered by service.Gets services called by service.Gets services called by service ecas.Gets services calling service.Gets services calling service by ecas.getType()
int
hashCode()
void
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
Populate called services.protected void
populateEntitiesFromNameSet
(Set<String> allEntityNameSet) Populate entities from name set.protected void
populateServicesFromNameSet
(Set<String> allServiceNameSet) Populate services from name set.protected void
Populate triggered service ecas.protected void
Populate used entities.void
setDisplayPrefix
(String displayPrefix) Sets display prefix.void
writeServiceCallGraphEoModel
(String eomodeldFullPath) Write service call graph eo model.Methods inherited from class org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo, getAif, toString
-
Constructor Details
-
ServiceArtifactInfo
- Throws:
GeneralException
-
-
Method Details
-
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 initialization- Throws:
GeneralException
-
populateUsedEntities
Populate used entities.- Throws:
GeneralException
- the general exception
-
populateEntitiesFromNameSet
Populate entities from name set.- Parameters:
allEntityNameSet
- the all entity name set- Throws:
GeneralException
- the general exception
-
populateCalledServices
Populate called services.- Throws:
GeneralException
- the general exception
-
populateServicesFromNameSet
Populate services from name set.- Parameters:
allServiceNameSet
- the all service name set- Throws:
GeneralException
- the general exception
-
populateTriggeredServiceEcas
Populate triggered service ecas.- Throws:
GeneralException
- the general exception
-
getModelService
Gets model service.- Returns:
- the model service
-
setDisplayPrefix
Sets display prefix.- Parameters:
displayPrefix
- the display prefix
-
getDisplayName
- Specified by:
getDisplayName
in classArtifactInfoBase
-
getDisplayPrefixedName
Gets display prefixed name.- Returns:
- the display prefixed name
-
getDisplayType
- Specified by:
getDisplayType
in classArtifactInfoBase
-
getType
- Specified by:
getType
in classArtifactInfoBase
-
getUniqueId
- Specified by:
getUniqueId
in classArtifactInfoBase
-
getLocationURL
- Specified by:
getLocationURL
in classArtifactInfoBase
- Throws:
MalformedURLException
-
getImplementationLocationURL
Gets implementation location url.- Returns:
- the implementation location url
- Throws:
MalformedURLException
- the malformed url exception
-
getEntitiesUsedByService
Gets entities used by service.- Returns:
- the entities used by service
-
getServicesCallingService
Gets services calling service.- Returns:
- the services calling service
-
getServicesCalledByService
Gets services called by service.- Returns:
- the services called by service
-
getServicesCalledByServiceEcas
Gets services called by service ecas.- Returns:
- the services called by service ecas
-
getServiceEcaRulesTriggeredByService
Gets service eca rules triggered by service.- Returns:
- the service eca rules triggered by service
-
getServicesCallingServiceByEcas
Gets services calling service by ecas.- Returns:
- the services calling service by ecas
-
getServiceEcaRulesCallingService
Gets service eca rules calling service.- Returns:
- the service eca rules calling service
-
getFormsCallingService
Gets forms calling service.- Returns:
- the forms calling service
-
getFormsBasedOnService
Gets forms based on service.- Returns:
- the forms based on service
-
getScreensCallingService
Gets screens calling service.- Returns:
- the screens calling service
-
getRequestsWithEventCallingService
Gets requests with event calling service.- Returns:
- the requests with event calling service
-
writeServiceCallGraphEoModel
public void writeServiceCallGraphEoModel(String eomodeldFullPath) throws GeneralException, FileNotFoundException, UnsupportedEncodingException Write service call graph eo model.- Parameters:
eomodeldFullPath
- the eomodeld full path- Throws:
GeneralException
- the general exceptionFileNotFoundException
- the file not found exceptionUnsupportedEncodingException
- the unsupported encoding exception
-
createEoModelMap
public Map<String,Object> createEoModelMap(Set<ServiceArtifactInfo> callingServiceSet, Set<ServiceArtifactInfo> calledServiceSet, Set<ServiceEcaArtifactInfo> callingServiceEcaSet, Set<ServiceEcaArtifactInfo> calledServiceEcaSet, boolean useMoreDetailedNames) Create eo model map map.- Parameters:
callingServiceSet
- the calling service setcalledServiceSet
- the called service setcallingServiceEcaSet
- the calling service eca setcalledServiceEcaSet
- the called service eca setuseMoreDetailedNames
- the use more detailed names- Returns:
- the map
-
equals
- Overrides:
equals
in classArtifactInfoBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classArtifactInfoBase
-