Class ServiceEcaArtifactInfo

java.lang.Object
org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
org.apache.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo
All Implemented Interfaces:
Comparable<ArtifactInfoBase>

public class ServiceEcaArtifactInfo extends ArtifactInfoBase
The type Service eca artifact info.
  • Constructor Details

  • Method Details

    • 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 - the general exception
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class ArtifactInfoBase
    • getDisplayType

      public String getDisplayType()
      Specified by:
      getDisplayType in class ArtifactInfoBase
    • getType

      public String getType()
      Specified by:
      getType in class ArtifactInfoBase
    • getUniqueId

      public String getUniqueId()
      Specified by:
      getUniqueId in class ArtifactInfoBase
    • getLocationURL

      public URL getLocationURL() throws MalformedURLException
      Specified by:
      getLocationURL in class ArtifactInfoBase
      Throws:
      MalformedURLException
    • getServiceEcaRule

      public ServiceEcaRule getServiceEcaRule()
      Gets service eca rule.
      Returns:
      the service eca rule
    • setDisplayPrefix

      public void setDisplayPrefix(String displayPrefix)
      Sets display prefix.
      Parameters:
      displayPrefix - the display prefix
    • setDisplaySuffixNum

      public void setDisplaySuffixNum(int displaySuffixNum)
      Sets display suffix num.
      Parameters:
      displaySuffixNum - the display suffix num
    • getDisplayPrefixedName

      public String getDisplayPrefixedName()
      Gets display prefixed name.
      Returns:
      the display prefixed name
    • getServicesCalledByServiceEcaActions

      public Set<ServiceArtifactInfo> getServicesCalledByServiceEcaActions()
      Gets services called by service eca actions.
      Returns:
      the services called by service eca actions
    • getServicesTriggeringServiceEca

      public Set<ServiceArtifactInfo> getServicesTriggeringServiceEca()
      Gets services triggering service eca.
      Returns:
      the services triggering service eca
    • createEoModelMap

      public Map<String,Object> createEoModelMap(Set<ServiceArtifactInfo> triggeringServiceSet, Set<ServiceArtifactInfo> triggeredServiceSet, boolean useMoreDetailedNames)
      Create eo model map map.
      Parameters:
      triggeringServiceSet - the triggering service set
      triggeredServiceSet - the triggered service set
      useMoreDetailedNames - the use more detailed names
      Returns:
      the map
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ArtifactInfoBase
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ArtifactInfoBase