Interface tcEntitlementsOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcEntitlementsOperationsIntf extends tcUtilityOperationsIntf
  • Method Summary

    Modifier and Type
    Method
    Description
    long[]
    createEntitlementList(List phMappingList)
    Populates entitlement list table with the list of entitlements.
    long
    Populates entitlement list table with the one new entitlements.
    Thor.API.tcResultSet
    findEntitlements(Map attributeList)
    This method returns a resultset containing the entitlement list that matches the given attributes.
    void
    modfiyEntitlementlist(List list, com.thortech.xl.dataobj.tcDataSet dataSet)
    Soft Deletes entitlement list row from entitlement list table by marking valid as 0 in the list of entitlements.

    Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf

    close, getName, setCountry, setLanguage, setVariant
  • Method Details

    • findEntitlements

      Thor.API.tcResultSet findEntitlements(Map attributeList) throws tcAPIException, tcAPIException
      This method returns a resultset containing the entitlement list that matches the given attributes.
      Parameters:
      attributeList - any attribute used to find the entitlement list:
      • Entitlements.Key
      • Entitlements.Resource Key
      • Entitlements.Entitlement Name
      • Entitlements.Resource Name
      • Entitlements.Child Form
      • Entitlements.Created By
      • Entitlements.Creation Date
      • Entitlements.Entitlement
      • Entitlements.Entitlement Code
      • Entitlements.Entitlement Valid Flag
      • Entitlements.Key
      • Entitlements.Lookup Value Key
      • Entitlements.Note
      • Entitlements.Resource ID
      • Entitlements.Row Version
      • Entitlements.System Level
      • Entitlements.Update Date
      • Entitlements.Updated By
      Returns:
      a resultset with the entitlement list information. this result set can be queried using following keys
      • Entitlements.Key
      • Entitlements.Resource Key
      • Entitlements.Entitlement Name
      • Entitlements.Resource Name
      • Entitlements.Child Form
      • Entitlements.Created By
      • Entitlements.Creation Date
      • Entitlements.Entitlement
      • Entitlements.Entitlement Code
      • Entitlements.Entitlement Valid Flag
      • Entitlements.Key
      • Entitlements.Lookup Value Key
      • Entitlements.Note
      • Entitlements.Resource ID
      • Entitlements.Row Version
      • Entitlements.System Level
      • Entitlements.Update Date
      • Entitlements.Updated By
      Throws:
      tcAPIException - raised if an error is encountered.
      Since:
      9.1.0.2
    • createEntitlementList

      long[] createEntitlementList(List phMappingList) throws tcInvalidAttributeException, tcAPIException
      Populates entitlement list table with the list of entitlements.
      Parameters:
      phMapping - A list of map objects, each representing a entitlement list row to set in the entitlement list table.
      Returns:
      The array of Entitlement Key of the newly created entitlement list.
      Throws:
      tcInvalidAttributeException
      tcAPIException
      Since:
      9.1.0.2
    • createEntitlementList

      long createEntitlementList(Map phMapping) throws tcInvalidAttributeException, tcAPIException
      Populates entitlement list table with the one new entitlements.
      Parameters:
      phMapping - A map object to create an entitlement in entitlement list table.
      Returns:
      The Entitlement Key of the newly created entitelement list.
      Throws:
      tcInvalidAttributeException
      tcAPIException
      Since:
      9.1.0.2
    • modfiyEntitlementlist

      void modfiyEntitlementlist(List list, com.thortech.xl.dataobj.tcDataSet dataSet) throws tcAPIException, tcAPIException
      Soft Deletes entitlement list row from entitlement list table by marking valid as 0 in the list of entitlements.
      Parameters:
      list - A list of map objects, each representing a entitlement list row to set in the entitlement list table.
      dataSet - a data set reprenting the queried data that has to be deleted passed as rowver is needed for updatinig
      Throws:
      tcAPIException
      Since:
      9.1.0.2