Class ServiceEcaArtifactInfo
java.lang.Object
org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
org.apache.ofbiz.webtools.artifactinfo.ServiceEcaArtifactInfo
- All Implemented Interfaces:
Comparable<ArtifactInfoBase>
The type Service eca artifact info.
-
Constructor Summary
ConstructorDescriptionServiceEcaArtifactInfo
(ServiceEcaRule serviceEcaRule, ArtifactInfoFactory aif) Instantiates a new Service eca artifact info. -
Method Summary
Modifier and TypeMethodDescriptioncreateEoModelMap
(Set<ServiceArtifactInfo> triggeringServiceSet, Set<ServiceArtifactInfo> triggeredServiceSet, boolean useMoreDetailedNames) Create eo model map map.boolean
Gets display prefixed name.Gets service eca rule.Gets services called by service eca actions.Gets services triggering service eca.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 initializationvoid
setDisplayPrefix
(String displayPrefix) Sets display prefix.void
setDisplaySuffixNum
(int displaySuffixNum) Sets display suffix num.Methods inherited from class org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo, getAif, toString
-
Constructor Details
-
ServiceEcaArtifactInfo
public ServiceEcaArtifactInfo(ServiceEcaRule serviceEcaRule, ArtifactInfoFactory aif) throws GeneralException Instantiates a new Service eca artifact info.- Parameters:
serviceEcaRule
- the service eca ruleaif
- the aif- Throws:
GeneralException
- the general exception
-
-
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
- the general exception
-
getDisplayName
- Specified by:
getDisplayName
in classArtifactInfoBase
-
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
-
getServiceEcaRule
Gets service eca rule.- Returns:
- the service eca rule
-
setDisplayPrefix
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
Gets display prefixed name.- Returns:
- the display prefixed name
-
getServicesCalledByServiceEcaActions
Gets services called by service eca actions.- Returns:
- the services called by service eca actions
-
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 settriggeredServiceSet
- the triggered service setuseMoreDetailedNames
- the use more detailed names- Returns:
- the map
-
equals
- Overrides:
equals
in classArtifactInfoBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classArtifactInfoBase
-