# Uses of Class
com.ads.api.beans.rsm.Permission

Packages that use Permission
Package
Description
com.ads.api.beans.rsm
Contains Collection Classes, Java Bean Classes which are related to Role, User, Permission and its details.

- ## Uses of Permission in com.ads.api.beans.rsm

  Methods in com.ads.api.beans.rsm that return Permission
  Modifier and Type
  Method
  Description
  `Permission`
  Permission.`getParentPermission()`
  Returns parentPermission object of the permission.
  Methods in com.ads.api.beans.rsm that return types with arguments of type Permission
  Modifier and Type
  Method
  Description
  `List<Permission>`
  Permission.`getChildPermissions()`
  Returns list of child permission objects of the permission.
  `List<Permission>`
  Role.`getPermissions()`
  Returns the list of Permission objects of the Role.
  Methods in com.ads.api.beans.rsm with parameters of type Permission
  Modifier and Type
  Method
  Description
  `void`
  Permission.`setParentPermission(Permission parentPermission)`
  Method sets parentPermission object to the Permission object as specified.
  Method parameters in com.ads.api.beans.rsm with type arguments of type Permission
  Modifier and Type
  Method
  Description
  `void`
  Permission.`setChildPermissions(List<Permission> childPermissions)`
  Method sets list of child permission objects to the Permission object as specified.
  `void`
  Role.`setPermissions(List<Permission> permissions)`
  Method sets the list of permission objects to the Role object as specified.