public interface tcEntitlementsOperationsIntf extends tcUtilityOperationsIntf
Modifier and Type | Method and Description |
---|---|
long[] |
createEntitlementList(java.util.List phMappingList)
Populates entitlement list table with the list of entitlements.
|
long |
createEntitlementList(java.util.Map phMapping)
Populates entitlement list table with the one new entitlements.
|
Thor.API.tcResultSet |
findEntitlements(java.util.Map attributeList)
This method returns a resultset containing the entitlement list that matches the given attributes.
|
void |
modfiyEntitlementlist(java.util.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.
|
close, getName, setCountry, setLanguage, setVariant
Thor.API.tcResultSet findEntitlements(java.util.Map attributeList) throws tcAPIException, tcAPIException
attributeList
- any attribute used to find the entitlement list: tcAPIException
- raised if an error is encountered.long[] createEntitlementList(java.util.List phMappingList) throws tcInvalidAttributeException, tcAPIException
phMapping
- A list of map objects, each representing a entitlement list row to set in the entitlement list table.tcInvalidAttributeException
tcAPIException
long createEntitlementList(java.util.Map phMapping) throws tcInvalidAttributeException, tcAPIException
phMapping
- A map object to create an entitlement in entitlement list table.tcInvalidAttributeException
tcAPIException
void modfiyEntitlementlist(java.util.List list, com.thortech.xl.dataobj.tcDataSet dataSet) throws tcAPIException, tcAPIException
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 updatinigtcAPIException