psdi.mbo

Class MboSetRetainMboPositionData

  • java.lang.Object
    • psdi.mbo.MboSetRetainMboPositionData
  • All Implemented Interfaces:
    java.io.Serializable


    public class MboSetRetainMboPositionData
    extends java.lang.Object
    implements java.io.Serializable
    A class for storing the position data based on the mbo retain information before a Business Object graph is wiped out during the save operation.
    See Also:
    Serialized Form
    • Constructor Detail

      • MboSetRetainMboPositionData

        public MboSetRetainMboPositionData()
    • Method Detail

      • reset

        public void reset()
        Resets the data.
      • setMboUID

        public void setMboUID(java.lang.Long mboUID)
        Sets the mbo UID.
        Parameters:
        mboUID - unique id associated with a mbo.
      • getMboUID

        public java.lang.Long getMboUID()
        Returns the mbo UID.
        Returns:
        Long unique id associated with a mbo.
      • setCurrentRow

        public void setCurrentRow(int currentRow)
        Sets the current row.
        Parameters:
        currentRow -
      • getCurrentRow

        public int getCurrentRow()
        Returns the current row.
        Returns:
        int current row
      • getRelatedData

        public MboSetRetainMboPositionData getRelatedData(java.lang.String relationName)
        Returns position data stored for a child based on the relationship name.
        Parameters:
        relationName - relationship name
        Returns:
        MboSetRetainMboPositionData position data based on the relationship. null if nothing exists based on the relationship name.
      • getRelations

        public java.util.Iterator getRelations()
        Returns all relations that have the data stored.
        Returns:
        Iterator iterator of relationship names.
      • addRelatedData

        public void addRelatedData(java.lang.String relationName,
                                   MboSetRetainMboPositionData retainState)
        Adds the position data based on the relationship name.
        Parameters:
        relationName - relationship name
        retainState - positon data associated with the relationship name.
      • getMboSetRetainState

        public static MboSetRetainMboPositionData getMboSetRetainState(MboSetRemote mboSetRemote)
                                                                throws MXException,
                                                                       java.rmi.RemoteException
        Returns the position data for the Business Object based on where it is in the Business Object graph/hierarchy.
        Parameters:
        mboSetRemote -
        Returns:
        MboSetRetainMboPositionData position data for the Business Object set.
        Throws:
        MXException
        java.rmi.RemoteException
      • positionState

        public static MboSetRetainMboPositionResult positionState(MboSetRemote mboSetRemote)
                                                           throws MXException,
                                                                  java.rmi.RemoteException
        Returns the position result based on the position data associated with the Business Object.
        Parameters:
        mboSetRemote - Business Object set that needs to have the position set.
        Returns:
        MboSetRetainMboPositionResult position result for the set.
        Throws:
        MXException
        java.rmi.RemoteException