Package com.enonic.xp.project

## Class ProjectPermissions

- java.lang.Object
- - com.enonic.xp.project.ProjectPermissions

-     @PublicApi
      public final class ProjectPermissions
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ProjectPermissions.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ProjectPermissions.Builder` | `create()` |
    `static ProjectPermissions.Builder` | `create​(ProjectPermissions source)` |
    `PrincipalKeys` | `getAuthor()` |
    `PrincipalKeys` | `getContributor()` |
    `PrincipalKeys` | `getEditor()` |
    `PrincipalKeys` | `getOwner()` |
    `PrincipalKeys` | `getPermission​(ProjectRole projectRole)` |
    `PrincipalKeys` | `getPermissions​(Collection<ProjectRole> projectRoles)` |
    `PrincipalKeys` | `getViewer()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### create

          public static ProjectPermissions.Builder create()

    - #### create

          public static ProjectPermissions.Builder create​(ProjectPermissions source)

    - #### getOwner

          public PrincipalKeys getOwner()

    - #### getEditor

          public PrincipalKeys getEditor()

    - #### getAuthor

          public PrincipalKeys getAuthor()

    - #### getContributor

          public PrincipalKeys getContributor()

    - #### getViewer

          public PrincipalKeys getViewer()

    - #### getPermission

          public PrincipalKeys getPermission​(ProjectRole projectRole)

    - #### getPermissions

          public PrincipalKeys getPermissions​(Collection<ProjectRole> projectRoles)