Class FormWidgetArtifactInfo
java.lang.Object
org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
org.apache.ofbiz.webtools.artifactinfo.FormWidgetArtifactInfo
- All Implemented Interfaces:
Comparable<ArtifactInfoBase>
-
Constructor Summary
ConstructorDescriptionFormWidgetArtifactInfo
(String formName, String formLocation, ArtifactInfoFactory aif) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets entities used in form.Gets forms extending this form.Gets form this form extends.Gets requests linked to in form.Gets requests targeted by form.Gets screens including this form.Gets services used in form.getType()
int
hashCode()
void
note this is mean to be called after the object is created and added to the ArtifactInfoFactory.allFormInfos in ArtifactInfoFactory.getFormWidgetArtifactInfoprotected void
populateEntitiesFromNameSet
(Set<String> allEntityNameSet) Populate entities from name set.protected void
Populate form extended.protected void
populateLinkedRequests
(Set<String> allRequestUniqueId) Populate linked requests.protected void
populateServicesFromNameSet
(Set<String> allServiceNameSet) Populate services from name set.protected void
populateTargetedRequests
(Set<String> allRequestUniqueId) Populate targeted requests.Methods inherited from class org.apache.ofbiz.webtools.artifactinfo.ArtifactInfoBase
compareTo, getAif, toString
-
Constructor Details
-
FormWidgetArtifactInfo
public FormWidgetArtifactInfo(String formName, String formLocation, ArtifactInfoFactory aif) throws GeneralException - Throws:
GeneralException
-
-
Method Details
-
populateAll
note this is mean to be called after the object is created and added to the ArtifactInfoFactory.allFormInfos in ArtifactInfoFactory.getFormWidgetArtifactInfo- Throws:
GeneralException
-
populateFormExtended
Populate form extended.- Throws:
GeneralException
- the general exception
-
populateEntitiesFromNameSet
Populate entities from name set.- Parameters:
allEntityNameSet
- the all entity name set- Throws:
GeneralException
- the general exception
-
populateServicesFromNameSet
Populate services from name set.- Parameters:
allServiceNameSet
- the all service name set- Throws:
GeneralException
- the general exception
-
populateLinkedRequests
Populate linked requests.- Parameters:
allRequestUniqueId
- the all request unique id- Throws:
GeneralException
- the general exception
-
populateTargetedRequests
Populate targeted requests.- Parameters:
allRequestUniqueId
- the all request unique id- 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
-
equals
- Overrides:
equals
in classArtifactInfoBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classArtifactInfoBase
-
getEntitiesUsedInForm
Gets entities used in form.- Returns:
- the entities used in form
-
getServicesUsedInForm
Gets services used in form.- Returns:
- the services used in form
-
getFormThisFormExtends
Gets form this form extends.- Returns:
- the form this form extends
-
getFormsExtendingThisForm
Gets forms extending this form.- Returns:
- the forms extending this form
-
getScreensIncludingThisForm
Gets screens including this form.- Returns:
- the screens including this form
-
getRequestsLinkedToInForm
Gets requests linked to in form.- Returns:
- the requests linked to in form
-
getRequestsTargetedByForm
Gets requests targeted by form.- Returns:
- the requests targeted by form
-