psdi.workflow

Class WorkflowUtility

  • java.lang.Object
    • psdi.workflow.WorkflowUtility


  • public class WorkflowUtility
    extends java.lang.Object
    Workflow Utility methods
    • Constructor Summary

      Constructors 
      Constructor and Description
      WorkflowUtility() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static MboSetRemote getRelatedMboType(MboSetRemote startSet, java.lang.String relation)
      Finds the Mbo type which will be returned by the relationship, starting from the set given.
      static java.lang.String getSelfServiceApps()
      Return a string of the Self-Service Applications, ready to use in a where clause.
      static java.util.Stack parseRelationship(java.lang.String relationship)
      Parse the interaction's relationship.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorkflowUtility

        public WorkflowUtility()
    • Method Detail

      • getRelatedMboType

        public static MboSetRemote getRelatedMboType(MboSetRemote startSet,
                                                     java.lang.String relation)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Finds the Mbo type which will be returned by the relationship, starting from the set given.
        Parameters:
        startSet - The starting MboSet
        relation - The relationship, i.e. "ASSET" or "ASSET.LOCATION"
        Returns:
        Resulting MboSet - an empty set.
        Throws:
        MXSystemException - Thrown with "system", "norelationship" if any section of the relationship isn't found at the current MboSet.
        java.rmi.RemoteException
        MXException
        See Also:
        This returns a Mbo, starting with a Mbo.
      • parseRelationship

        public static java.util.Stack parseRelationship(java.lang.String relationship)
        Parse the interaction's relationship.
        Parameters:
        relationship - i.e. "ASSET.LOCATION"
        Returns:
        One relationship per entry, i.e. "ASSET" (top), "LOCATION"
      • getSelfServiceApps

        public static java.lang.String getSelfServiceApps()
                                                   throws java.rmi.RemoteException,
                                                          MXException
        Return a string of the Self-Service Applications, ready to use in a where clause. Reads the list of apps from ALNDomain SELFSERVICE.
        Returns:
        The list in the form of: 'CREATEDR', 'VIEWDR'
        Throws:
        java.rmi.RemoteException
        MXException