Logo
Developer SDK
Version 1.9.632.913d652c-152450467.
EmployeeContract Class Reference

Inherits ContentContract< T >.

Static Public Member Functions

static Employee getCurrentEmployee (Context context)
 
static int getEmployeesCount (Context context)
 
static Employee [] getEmployees (Context context)
 

Detailed Description

The contract between the Employee Content Provider and applications. The information is read-only. This returns only information on the employees that have access to the current venue, not the employees across the merchant.

Reading basic information about the employee requires the "com.verifone.commerce.content.permission.READ_EMPLOYEE_INFO" permission. If the permission is not granted, the related queries return null. Reading sensitive information about the employee requires the "com.verifone.commerce.content.permission.READ_EXTENDED_EMPLOYEE_INFO" permission. If the permission is not granted, the related queries return null.

Definition at line 17 of file EmployeeContract.java.

Member Function Documentation

◆ getCurrentEmployee()

static Employee getCurrentEmployee ( Context  context)
static

Returns the currently logged-in employee, or the most recent employee if no employee is currently logged in.

Definition at line 22 of file EmployeeContract.java.

◆ getEmployees()

static Employee [] getEmployees ( Context  context)
static

A convenience method for returning basic employee information.

Definition at line 46 of file EmployeeContract.java.

◆ getEmployeesCount()

static int getEmployeesCount ( Context  context)
static

A convenience method for returning the count of employees. Returns -1 if unknown, not found, or not yet linked to a merchant.

Definition at line 34 of file EmployeeContract.java.


The documentation for this class was generated from the following file:

This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.