org.ofbiz.webtools.artifactinfo
Class ServiceEcaArtifactInfo

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

public class ServiceEcaArtifactInfo
extends ArtifactInfoBase


Field Summary
protected  java.lang.String displayPrefix
           
protected  int displaySuffixNum
           
protected  ServiceEcaRule serviceEcaRule
           
protected  java.util.Set<ServiceArtifactInfo> servicesCalledByThisServiceEca
           
 
Fields inherited from class org.ofbiz.webtools.artifactinfo.ArtifactInfoBase
aif
 
Constructor Summary
ServiceEcaArtifactInfo(ServiceEcaRule serviceEcaRule, ArtifactInfoFactory aif)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> createEoModelMap(java.util.Set<ServiceArtifactInfo> triggeringServiceSet, java.util.Set<ServiceArtifactInfo> triggeredServiceSet, boolean useMoreDetailedNames)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayPrefixedName()
           
 java.lang.String getDisplayType()
           
 java.net.URL getLocationURL()
           
 ServiceEcaRule getServiceEcaRule()
           
 java.util.Set<ServiceArtifactInfo> getServicesCalledByServiceEcaActions()
           
 java.util.Set<ServiceArtifactInfo> getServicesTriggeringServiceEca()
           
 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 initialization
 void setDisplayPrefix(java.lang.String displayPrefix)
           
 void setDisplaySuffixNum(int displaySuffixNum)
           
 
Methods inherited from class org.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceEcaRule

protected ServiceEcaRule serviceEcaRule

displayPrefix

protected java.lang.String displayPrefix

displaySuffixNum

protected int displaySuffixNum

servicesCalledByThisServiceEca

protected java.util.Set<ServiceArtifactInfo> servicesCalledByThisServiceEca
Constructor Detail

ServiceEcaArtifactInfo

public ServiceEcaArtifactInfo(ServiceEcaRule serviceEcaRule,
                              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

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class ArtifactInfoBase

getDisplayType

public java.lang.String getDisplayType()
Specified by:
getDisplayType in class ArtifactInfoBase

getType

public java.lang.String getType()
Specified by:
getType in class ArtifactInfoBase

getUniqueId

public java.lang.String getUniqueId()
Specified by:
getUniqueId in class ArtifactInfoBase

getLocationURL

public java.net.URL getLocationURL()
                            throws java.net.MalformedURLException
Specified by:
getLocationURL in class ArtifactInfoBase
Throws:
java.net.MalformedURLException

getServiceEcaRule

public ServiceEcaRule getServiceEcaRule()

setDisplayPrefix

public void setDisplayPrefix(java.lang.String displayPrefix)

setDisplaySuffixNum

public void setDisplaySuffixNum(int displaySuffixNum)

getDisplayPrefixedName

public java.lang.String getDisplayPrefixedName()

getServicesCalledByServiceEcaActions

public java.util.Set<ServiceArtifactInfo> getServicesCalledByServiceEcaActions()

getServicesTriggeringServiceEca

public java.util.Set<ServiceArtifactInfo> getServicesTriggeringServiceEca()

createEoModelMap

public java.util.Map<java.lang.String,java.lang.Object> createEoModelMap(java.util.Set<ServiceArtifactInfo> triggeringServiceSet,
                                                                         java.util.Set<ServiceArtifactInfo> triggeredServiceSet,
                                                                         boolean useMoreDetailedNames)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ArtifactInfoBase