Class MRegistration

    • Constructor Detail

      • MRegistration

        public MRegistration​(Properties ctx,
                             int A_Registration_ID,
                             String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        A_Registration_ID - id
      • MRegistration

        public MRegistration​(Properties ctx,
                             String Name,
                             boolean IsAllowPublish,
                             boolean IsInProduction,
                             Timestamp AssetServiceDate,
                             String trxName)
        New Constructor
        Parameters:
        ctx - context
        Name - name
        IsAllowPublish - allow publication
        IsInProduction - production
        AssetServiceDate - start date
        trxName - trx
      • MRegistration

        public MRegistration​(Properties ctx,
                             ResultSet rs,
                             String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
    • Method Detail

      • getAttributes

        public MRegistrationAttribute[] getAttributes()
        Get All Attributes
        Returns:
        Registration Attributes
      • getValues

        public MRegistrationValue[] getValues()
        Get All active Self Service Attribute Values
        Returns:
        Registration Attribute Values
      • getValues

        public MRegistrationValue[] getValues​(boolean onlySelfService)
        Get All Attribute Values
        Parameters:
        onlySelfService - only Active Self Service
        Returns:
        sorted Registration Attribute Values
      • loadAttributeValues

        public int loadAttributeValues​(javax.servlet.http.HttpServletRequest request)
        Load Attributes from Request
        Parameters:
        request - request
        Returns:
        number of attributes read
      • updateAttributeValues

        public int updateAttributeValues​(javax.servlet.http.HttpServletRequest request)
        Update Attributes from Request
        Parameters:
        request - request
        Returns:
        number of attributes read