Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaSE Documentation
PermissionItem

Class PermissionItem

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Change in permissions for a given set of RPCs

Parameter List

Param Name Type Description Req. Notes Version Available
rpcName String Name of the individual RPC in the policy table. maxlength:100 SmartDeviceLink 2.0
hmiPermissions HMIPermissions Sets of parameters, which are permitted or prohibited for the given RPC. SmartDeviceLink 2.0
parameterPermissions ParameterPermissions Sets of parameters, which are permitted or prohibited for the given RPC. SmartDeviceLink 2.0

Fields

KEY_RPC_NAME

public static final java.lang.String KEY_RPC_NAME
Constant Value
"rpcName"

KEY_HMI_PERMISSIONS

public static final java.lang.String KEY_HMI_PERMISSIONS
Constant Value
"hmiPermissions"

KEY_PARAMETER_PERMISSIONS

public static final java.lang.String KEY_PARAMETER_PERMISSIONS
Constant Value
"parameterPermissions"

KEY_REQUIRE_ENCRYPTION

public static final java.lang.String KEY_REQUIRE_ENCRYPTION
Constant Value
"requireEncryption"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

PermissionItem( String rpcName, HMIPermissions hmiPermissions, ParameterPermissions parameterPermissions )

Constructs a new PermissionItem object

public PermissionItem(String rpcName,HMIPermissions hmiPermissions,ParameterPermissions parameterPermissions)

Constructor Parameters

rpcName
hmiPermissions
parameterPermissions

PermissionItem( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a new PermissionItem object indicated by the Hashtable parameter

public PermissionItem(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

PermissionItem()

Constructs a new PermissionItem object

public PermissionItem()

Methods

getRpcName()

public java.lang.String getRpcName()

setRpcName( String rpcName )

public com.smartdevicelink.proxy.rpc.PermissionItem setRpcName(String rpcName)

Method Parameters

rpcName

getHMIPermissions()

public com.smartdevicelink.proxy.rpc.HMIPermissions getHMIPermissions()

setHMIPermissions( HMIPermissions hmiPermissions )

public com.smartdevicelink.proxy.rpc.PermissionItem setHMIPermissions(HMIPermissions hmiPermissions)

Method Parameters

hmiPermissions

getParameterPermissions()

public com.smartdevicelink.proxy.rpc.ParameterPermissions getParameterPermissions()

setParameterPermissions( ParameterPermissions parameterPermissions )

public com.smartdevicelink.proxy.rpc.PermissionItem setParameterPermissions(ParameterPermissions parameterPermissions)

Method Parameters

parameterPermissions

getRequireEncryption()

Gets the encryption requirement for this item

public java.lang.Boolean getRequireEncryption()

setRequireEncryption( Boolean isRequired )

Sets the encryption requirement for this item

public com.smartdevicelink.proxy.rpc.PermissionItem setRequireEncryption(Boolean isRequired)

Method Parameters

isRequired
the boolean requirement to be set

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section