public Collection<PermissionEntity> getPermissions() {
    return permissions;
  }
Get the view custom permissions.

@return the view permissions
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java