psdi.plusc.app.asset

Interface PlusCAssetAliasField

  • All Known Implementing Classes:
    PlusCFldExistingAssetnum


    public interface PlusCAssetAliasField
    Defines how a field class which supports the asset alias feature is like. Alias feature will be 'injected' to existing fields. In order to do so, each eligible existing field will have a subclass which will implement this interface. Each subclass will have a similar behavior, defined in the PlusTAssetAliasFieldCommon class. As Java does not allow multiple inheritance, each implementation must own a PlusTAssetAliasFieldCommon instance and delegate the following method calls to it: - getList() - getMboSet(String where, String identifier) - setValueFromLookup(MboRemote sourceMbo) - smartFind(String value, boolean exact) Other responsibilities the subclass must follow are described below
    See Also:
    PlusCAssetAliasFieldCommon
    • Method Detail

      • setRelationship

        void setRelationship(java.lang.String objectName,
                             java.lang.String whereClause)
      • setLookupKeyMapInOrder

        void setLookupKeyMapInOrder(java.lang.String[] targetKeys,
                                    java.lang.String[] sourceKeys)
      • getOriginalWhereClause

        java.lang.String getOriginalWhereClause()
        Return the where clause originally defined for the field. The field implementation is the sole responsible for getting this value prior to the first invocation of this method
        Returns:
      • callSuper_getList

        MboSetRemote callSuper_getList()
                                throws MXException,
                                       java.rmi.RemoteException
        The asset alias field implementation must call: super.getList()
        Returns:
        The object returned by the superclass method
        Throws:
        MXException
        java.rmi.RemoteException
      • callSuper_getMboSet

        MboSetRemote callSuper_getMboSet(java.lang.String where,
                                         java.lang.String identifier)
                                  throws MXException,
                                         java.rmi.RemoteException
        The asset alias field implementation must call: super.getMboSet(where, identifier)
        Returns:
        The object returned by the superclass method
        Throws:
        MXException
        java.rmi.RemoteException
      • callSuper_setValueFromLookup

        void callSuper_setValueFromLookup(MboRemote sourceMbo)
                                   throws MXException,
                                          java.rmi.RemoteException
        The asset alias field implementation must call: super.setValueFromLookup(sourceMbo)
        Throws:
        MXException
        java.rmi.RemoteException
      • callSuper_setRelationship

        void callSuper_setRelationship(java.lang.String objectName,
                                       java.lang.String whereClause)
        The asset alias field implementation must call: super.setRelationship(objectName, whereClause)
      • callSuper_smartFind

        MboSetRemote callSuper_smartFind(java.lang.String value,
                                         boolean exact)
                                  throws MXException,
                                         java.rmi.RemoteException
        The asset alias field implementation must call: super.smartFind(value, exact)
        Returns:
        The object returned by the superclass method
        Throws:
        MXException
        java.rmi.RemoteException