User Tools

Site Tools


access:internet_key_api_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
access:internet_key_api_development [2011/02/01 22:39]
mjallison
access:internet_key_api_development [2012/10/10 16:20] (current)
Line 27: Line 27:
 __**methods**__ __**methods**__
   * **UserList listUsers( LicenseKey l )** - Lists users currently assigned to the key   * **UserList listUsers( LicenseKey l )** - Lists users currently assigned to the key
 +  * **StorageUser addUser(String id, int customer, int type, boolean isAdmin, boolean isSupport, String password)** - Moved method from CustomerAdmin API.
   * **StorageUser addUser( String id, int type, boolean isAdmin, String password )** - Restricted form to support only customer admins, AGTEK Support to use the method in Agtek SupportAPI.   * **StorageUser addUser( String id, int type, boolean isAdmin, String password )** - Restricted form to support only customer admins, AGTEK Support to use the method in Agtek SupportAPI.
   * **void addUser( LicenseKey l, StorageUser u )** - Adds a user to the specific key.   * **void addUser( LicenseKey l, StorageUser u )** - Adds a user to the specific key.
   * **void removeUser( LicenseKey l, StorageUser u )** -- Removes a user from the specified key.    * **void removeUser( LicenseKey l, StorageUser u )** -- Removes a user from the specified key. 
-  * **void ​updateLicenseDuration( LicenseKey l, long newDuration )** -- Modifies the license duration.+  * **void ​updateLicenseMaxCheckout( LicenseKey l, long newDuration )** -- Modifies the license duration.
  
 ===== SupportAPI (AGTEK Employees only) ===== ===== SupportAPI (AGTEK Employees only) =====
Line 40: Line 41:
  
 __**methods**__ __**methods**__
-  * **StorageUser addUser(String idint customerint typeboolean isAdminboolean isSupportString password)** - Moved method from CustomerAdmin API. +  * **LicenseKey createLicenselicenseTypecustomerIdmaxUsersmaxCheckoutPeriodexpireTimeproductstimedProducts,​ timedExpire() ​)** - Create a new key for the user.
-  * **LicenseKey createLicense( Customer cLicenseType t )** - Create a new key for the user.+
   * **void deleteLicense( LicenseKey l )** - Delete a key, and all of it's user assignments.   * **void deleteLicense( LicenseKey l )** - Delete a key, and all of it's user assignments.
   * **void updateLicense( LicenseKey l )** - Updates the contents of the key in the database (same id) with changes.   * **void updateLicense( LicenseKey l )** - Updates the contents of the key in the database (same id) with changes.
 +  * **void unlockLicense( LicenseKey l )** - Removes the checkout of the License Key.
   * **void updateUser( StorageUser u )** - Modified to handle Role.    * **void updateUser( StorageUser u )** - Modified to handle Role. 
-  * **void ​updateCusteomer( StorageCustomer c )** - Updated to handle //​hasAccess//​ and //​hasLicense//​ flags.+  * **void ​updateCustomer( StorageCustomer c )** - Updated to handle ​//​maxUsers//, ​//​hasAccess//​ and //​hasLicense//​ flags.
  
 ===== Storage User ===== ===== Storage User =====
Line 52: Line 53:
 ===== License Key ===== ===== License Key =====
 The LicenseKey object represents an instance of a license key in the AGTEK Access System. LicenseKey objects contain the key identifier, the key parameters, and associated users. While the LicenseKey may represent all this information as being aggregated, it may not be implemented that way in the Access database. ​ The LicenseKey object represents an instance of a license key in the AGTEK Access System. LicenseKey objects contain the key identifier, the key parameters, and associated users. While the LicenseKey may represent all this information as being aggregated, it may not be implemented that way in the Access database. ​
 +
 +int(32) LicenseKey.getId()
 +int(16) LicenseKey.getCustomerId()
 +int
  
 ====== Mapping from Solo ====== ====== Mapping from Solo ======
access/internet_key_api_development.1296599947.txt.gz · Last modified: 2012/10/10 16:20 (external edit)