public class RepairFacilityRestriction
extends java.lang.Object
| Constructor and Description |
|---|
RepairFacilityRestriction() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getRepairFacilityLookupWhere(UserInfo userInfo)
Return a where clause to display only the repair facilities authorized
|
static java.lang.String |
getRepairFacilityRestrictionWhere(java.lang.String entityName,
UserInfo userInfo)
If Repair Facility feature is enabled for any organization the current user has access to
returns a where clause to filter records from a specific table based on the repair facility authorization
|
public static java.lang.String getRepairFacilityRestrictionWhere(java.lang.String entityName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
entityName - userInfo - MXExceptionjava.rmi.RemoteExceptionpublic static java.lang.String getRepairFacilityLookupWhere(UserInfo userInfo) throws MXException, java.rmi.RemoteException
profile - MXExceptionjava.rmi.RemoteException