psdi.dm.pkg

Class DelCmpSrcCondition

  • java.lang.Object
    • psdi.dm.pkg.DelCmpSrcCondition
  • All Implemented Interfaces:
    CustomCondition


    public class DelCmpSrcCondition
    extends java.lang.Object
    implements CustomCondition
    Condition for displaying the delete icon for compiled source rows in the UploadCmpSrc dialog: Icon shows for rows added by user clicking New Row button in dialog but not for entries already saved in pkg definition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluateCondition(MboRemote mbo, java.lang.Object param)
      Evaluate the condition.
      java.lang.String toWhereClause(java.lang.Object param, MboSetRemote msr)
      Convert the condition to a where clause.
      • Methods inherited from class java.lang.Object

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

      • DelCmpSrcCondition

        public DelCmpSrcCondition()
    • Method Detail

      • toWhereClause

        public java.lang.String toWhereClause(java.lang.Object param,
                                              MboSetRemote msr)
                                       throws MXException,
                                              java.rmi.RemoteException
        Description copied from interface: CustomCondition
        Convert the condition to a where clause. If the condition class will be used for "QUALIFIED" object security type, this method should return a where clause. If the condition should NOT be used for "QUALIFIED", it should throw an exception to indicate it is an error when attempted to be used. This method has to be thread safe.

        For qualified object data restrictions (SecurityRestrict) having a condition type of Class, the object framework (MboSet) will call this method to construct the Where clause.

        Specified by:
        toWhereClause in interface CustomCondition
        Parameters:
        param - For data restrictions, this is not used by the object framework. To use param you must override some of the framework logic in your MboSet.
        msr - The MboSet whose Where clause is being constructed
        Returns:
        The where clause that can be used to query the database
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        SecurityRestrict, Condition, MboSet.getQualifiedWhere()