org.enhydra.shark
Class XPDLBrowserImpl
java.lang.Object
org.enhydra.shark.XPDLBrowserImpl
- All Implemented Interfaces:
- XPDLBrowser
public class XPDLBrowserImpl
- extends java.lang.Object
- implements XPDLBrowser
Interface used to perform XPDL browsing.
- Author:
- Sasa Bojanic
Method Summary |
protected java.util.List |
applyFilter(java.util.List wments,
WMFilter filter)
|
protected boolean |
canAddAttribute(org.enhydra.shark.xpdl.XMLElement el,
WMFilter filter)
|
protected boolean |
canAddElement(org.enhydra.shark.xpdl.XMLElement el,
WMFilter filter)
|
protected void |
checkSecurity(WMSessionHandle shandle,
java.lang.String methodName,
java.util.Map d)
|
protected java.util.List |
getAttributes(java.util.List xmlElements,
WMFilter filter)
|
protected java.util.List |
getAttributes(org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
WMFilter filter)
|
protected java.util.List |
getElements(java.util.List xmlElements,
WMFilter filter)
|
protected java.util.List |
getElements(org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
WMFilter filter)
|
protected WMEntity |
getEntity(WMEntity scopingEntity,
org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
org.enhydra.shark.xpdl.XMLComplexElement el)
|
static XPDLBrowser |
getInstance()
|
java.lang.String |
getUniqueProcessDefinitionName(WMSessionHandle shandle,
java.lang.String pkgId,
java.lang.String pkgVer,
java.lang.String pDefId)
|
protected org.enhydra.shark.xpdl.XMLComplexElement |
getXMLElement(WMSessionHandle shandle,
WMEntity scopingEntity)
|
WMAttributeIterator |
listAttributes(WMSessionHandle shandle,
WMEntity scopingEntity,
WMFilter filter,
boolean countFlag)
|
WMEntityIterator |
listEntities(WMSessionHandle shandle,
WMEntity scopingEntity,
WMFilter filter,
boolean countFlag)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static XPDLBrowser getInstance()
listEntities
public WMEntityIterator listEntities(WMSessionHandle shandle,
WMEntity scopingEntity,
WMFilter filter,
boolean countFlag)
throws java.lang.Exception
- Specified by:
listEntities
in interface XPDLBrowser
- Throws:
java.lang.Exception
listAttributes
public WMAttributeIterator listAttributes(WMSessionHandle shandle,
WMEntity scopingEntity,
WMFilter filter,
boolean countFlag)
throws java.lang.Exception
- Specified by:
listAttributes
in interface XPDLBrowser
- Throws:
java.lang.Exception
getUniqueProcessDefinitionName
public java.lang.String getUniqueProcessDefinitionName(WMSessionHandle shandle,
java.lang.String pkgId,
java.lang.String pkgVer,
java.lang.String pDefId)
throws java.lang.Exception
- Specified by:
getUniqueProcessDefinitionName
in interface XPDLBrowser
- Throws:
java.lang.Exception
getEntity
protected WMEntity getEntity(WMEntity scopingEntity,
org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
org.enhydra.shark.xpdl.XMLComplexElement el)
throws java.lang.Exception
- Throws:
java.lang.Exception
getElements
protected java.util.List getElements(org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
WMFilter filter)
getAttributes
protected java.util.List getAttributes(org.enhydra.shark.xpdl.XMLComplexElement scopingXML,
WMFilter filter)
getElements
protected java.util.List getElements(java.util.List xmlElements,
WMFilter filter)
getAttributes
protected java.util.List getAttributes(java.util.List xmlElements,
WMFilter filter)
canAddElement
protected boolean canAddElement(org.enhydra.shark.xpdl.XMLElement el,
WMFilter filter)
canAddAttribute
protected boolean canAddAttribute(org.enhydra.shark.xpdl.XMLElement el,
WMFilter filter)
getXMLElement
protected org.enhydra.shark.xpdl.XMLComplexElement getXMLElement(WMSessionHandle shandle,
WMEntity scopingEntity)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkSecurity
protected void checkSecurity(WMSessionHandle shandle,
java.lang.String methodName,
java.util.Map d)
throws java.lang.Exception
- Throws:
java.lang.Exception
applyFilter
protected java.util.List applyFilter(java.util.List wments,
WMFilter filter)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Throwable
- Throws:
java.lang.Throwable