api

Permission

object Permission extends Enumeration

List of all permissions used by the system to authorize users.

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Permission
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Permission = Value

  2. class Val extends Value with Serializable

    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( -3501153230598116017L )
  3. abstract class Value extends Ordered[Value] with Serializable

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( 7091335633555234129L )
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Definition Classes
    Enumeration

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val AddComment: Value

  7. val AddDatapoints: Value

  8. val AddFile: Value

  9. val AddGeoStream: Value

  10. val AddMetadata: Value

  11. val AddResourceToCollection: Value

  12. val AddResourceToDataset: Value

  13. val AddResourceToSpace: Value

  14. val AddTag: Value

  15. val ArchiveDataset: Value

  16. val ArchiveFile: Value

  17. val CreateCollection: Value

  18. val CreateDataset: Value

  19. val CreatePreview: Value

  20. val CreateRelation: Value

  21. val CreateSection: Value

  22. val CreateSensor: Value

  23. val CreateSpace: Value

  24. val CreateVocabulary: Value

  25. val CreateVocabularyTerm: Value

  26. val DeleteCollection: Value

  27. val DeleteComment: Value

  28. val DeleteDataset: Value

  29. val DeleteFile: Value

  30. val DeleteGeoStream: Value

  31. val DeleteMetadata: Value

  32. val DeleteRelation: Value

  33. val DeleteSection: Value

  34. val DeleteSensor: Value

  35. val DeleteSpace: Value

  36. val DeleteTag: Value

  37. val DeleteVocabulary: Value

  38. val DeleteVocabularyTerm: Value

  39. val DownloadFiles: Value

  40. val EDITOR_PERMISSIONS: Set[Value]

  41. val EditCollection: Value

  42. val EditComment: Value

  43. val EditDataset: Value

  44. val EditFile: Value

  45. val EditLicense: Value

  46. val EditMetadata: Value

  47. val EditSection: Value

  48. val EditSpace: Value

  49. val EditStagingArea: Value

  50. val EditUser: Value

  51. val EditVocabulary: Value

  52. val EditVocabularyTerm: Value

  53. val ExecuteOnDataset: Value

  54. val MultimediaIndexDocument: Value

  55. val PublicDataset: Value

  56. val PublicSpace: Value

  57. var READONLY: Set[Value]

  58. val RemoveResourceFromCollection: Value

  59. val RemoveResourceFromDataset: Value

  60. val RemoveResourceFromSpace: Value

  61. final def Value(i: Int, name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  62. final def Value(name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  63. final def Value(i: Int): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  64. final def Value: Value

    Attributes
    protected
    Definition Classes
    Enumeration
  65. object ValueSet extends Serializable

    Definition Classes
    Enumeration
  66. val ViewCollection: Value

  67. val ViewComments: Value

  68. val ViewDataset: Value

  69. val ViewFile: Value

  70. val ViewGeoStream: Value

  71. val ViewMetadata: Value

  72. val ViewRelation: Value

  73. val ViewSection: Value

  74. val ViewSensor: Value

  75. val ViewSpace: Value

  76. val ViewTags: Value

  77. val ViewUser: Value

  78. val ViewVocabulary: Value

  79. val ViewVocabularyTerm: Value

  80. final def apply(x: Int): Value

    Definition Classes
    Enumeration
  81. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  82. def checkAnonymousPrivatePermissions(permission: Permission, resourceRef: ResourceRef): Boolean

  83. def checkAnonymousPrivatePermissionsList(permission: Permission, resourceRefs: List[ResourceRef]): PermissionsList

  84. def checkOwner(user: User, resourceRef: ResourceRef): Boolean

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  85. def checkOwner(user: Option[User], resourceRef: ResourceRef): Boolean

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  86. def checkOwners(user: User, resourceRefs: List[ResourceRef]): Map[ResourceRef, Boolean]

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  87. def checkOwners(user: Option[User], resourceRefs: List[ResourceRef]): Map[ResourceRef, Boolean]

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  88. def checkPermission(user: User, permission: Permission, resourceRef: ResourceRef): Boolean

  89. def checkPermission(user: Option[User], permission: Permission, resourceRef: Option[ResourceRef] = None): Boolean

  90. def checkPermission(user: Option[User], permission: Permission, resourceRef: ResourceRef): Boolean

  91. def checkPermission(permission: Permission, resourceRef: ResourceRef)(implicit user: Option[User]): Boolean

  92. def checkPermission(permission: Permission)(implicit user: Option[User]): Boolean

  93. def checkPermissions(user: User, permission: Permission, resourceRefs: List[ResourceRef]): PermissionsList

  94. def checkPermissions(user: Option[User], permission: Permission, resourceRefs: List[ResourceRef]): PermissionsList

  95. def checkPermissions(permission: Permission, resourceRefs: List[ResourceRef])(implicit user: Option[User]): PermissionsList

  96. def checkPrivateServer(user: Option[User]): Boolean

    on a private server this will return true iff user logged in, on public server this will always be true

  97. def checkServerAdmin(user: Option[User]): Boolean

    Returns true if the user is listed as a server admin

  98. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. lazy val collections: CollectionService

  100. lazy val comments: CommentService

  101. lazy val curations: CurationService

  102. lazy val datasets: DatasetService

  103. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  104. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  105. lazy val files: FileService

  106. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  107. lazy val folders: FolderService

  108. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  109. def getUserByIdentity(identity: User): Option[User]

  110. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  111. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  112. final def maxId: Int

    Definition Classes
    Enumeration
  113. lazy val metadatas: MetadataService

  114. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  115. var nextId: Int

    Attributes
    protected
    Definition Classes
    Enumeration
  116. var nextName: Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  117. final def notify(): Unit

    Definition Classes
    AnyRef
  118. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  119. lazy val previews: PreviewService

  120. def readResolve(): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  121. lazy val relations: RelationService

  122. lazy val sections: SectionService

  123. lazy val spaces: SpaceService

  124. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  125. def toString(): String

    Definition Classes
    Enumeration → AnyRef → Any
  126. lazy val users: UserService

  127. def values: ValueSet

    Definition Classes
    Enumeration
  128. lazy val vocabularies: VocabularyService

  129. lazy val vocabularyterms: VocabularyTermService

  130. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  131. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. final def withName(s: String): Value

    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped