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 CreateCollection: Value

  16. val CreateDataset: Value

  17. val CreatePreview: Value

  18. val CreateRelation: Value

  19. val CreateSection: Value

  20. val CreateSensor: Value

  21. val CreateSpace: Value

  22. val CreateVocabulary: Value

  23. val CreateVocabularyTerm: Value

  24. val DeleteCollection: Value

  25. val DeleteComment: Value

  26. val DeleteDataset: Value

  27. val DeleteFile: Value

  28. val DeleteGeoStream: Value

  29. val DeleteMetadata: Value

  30. val DeleteRelation: Value

  31. val DeleteSection: Value

  32. val DeleteSensor: Value

  33. val DeleteSpace: Value

  34. val DeleteTag: Value

  35. val DeleteVocabulary: Value

  36. val DeleteVocabularyTerm: Value

  37. val DownloadFiles: Value

  38. val EditCollection: Value

  39. val EditComment: Value

  40. val EditDataset: Value

  41. val EditFile: Value

  42. val EditLicense: Value

  43. val EditMetadata: Value

  44. val EditSection: Value

  45. val EditSpace: Value

  46. val EditStagingArea: Value

  47. val EditUser: Value

  48. val EditVocabulary: Value

  49. val EditVocabularyTerm: Value

  50. val ExecuteOnDataset: Value

  51. val MultimediaIndexDocument: Value

  52. val READONLY: Set[Value]

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

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

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

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

    Attributes
    protected
    Definition Classes
    Enumeration
  57. object ValueSet extends Serializable

    Definition Classes
    Enumeration
  58. val ViewCollection: Value

  59. val ViewComments: Value

  60. val ViewDataset: Value

  61. val ViewFile: Value

  62. val ViewGeoStream: Value

  63. val ViewMetadata: Value

  64. val ViewRelation: Value

  65. val ViewSection: Value

  66. val ViewSensor: Value

  67. val ViewSpace: Value

  68. val ViewTags: Value

  69. val ViewUser: Value

  70. val ViewVocabulary: Value

  71. val ViewVocabularyTerm: Value

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

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

    Definition Classes
    Any
  74. 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.

  75. 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.

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

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

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

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

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

  81. def checkPrivatePermissions(permission: Permission, resourceRef: ResourceRef): Boolean

  82. 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

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

    Returns true if the user is listed as a server admin

  84. def clone(): AnyRef

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

  86. lazy val comments: CommentService

  87. lazy val curations: CurationService

  88. lazy val datasets: DatasetService

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

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

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

  92. def finalize(): Unit

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

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

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

  96. def hashCode(): Int

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

    Definition Classes
    Any
  98. final def maxId: Int

    Definition Classes
    Enumeration
  99. lazy val metadatas: MetadataService

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

    Definition Classes
    AnyRef
  101. var nextId: Int

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

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

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

    Definition Classes
    AnyRef
  105. lazy val previews: PreviewService

  106. def readResolve(): AnyRef

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

  108. lazy val sections: SectionService

  109. lazy val spaces: SpaceService

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

    Definition Classes
    AnyRef
  111. def toString(): String

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

  113. def values: ValueSet

    Definition Classes
    Enumeration
  114. lazy val vocabularies: VocabularyService

  115. lazy val vocabularyterms: VocabularyTermService

  116. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. 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