org
.
ada
.
web
.
services
DataSpaceServiceImpl
Related Doc:
package services
class
DataSpaceServiceImpl
extends
DataSpaceService
with
ActionSecurity
Annotations
@Singleton
()
Linear Supertypes
ActionSecurity
,
DataSpaceService
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DataSpaceServiceImpl
ActionSecurity
DataSpaceService
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DataSpaceServiceImpl
(
dataSpaceMetaInfoRepo:
DataSpaceMetaInfoRepo
,
dataSetMetaInfoRepoFactory:
DataSetMetaInfoRepoFactory
)
Annotations
@Inject
()
Type Members
type
USER
=
DeadboltUser
Definition Classes
DataSpaceServiceImpl
→ ActionSecurity
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
allAsTree
:
Future
[
Traversable
[
DataSpaceMetaInfo
]]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
countDataSetsNumRecursively
(
dataSpace:
DataSpaceMetaInfo
)
:
Int
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
def
countDataSpacesNumRecursively
(
dataSpace:
DataSpaceMetaInfo
)
:
Int
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
def
currentUser
(
outputHandler:
DeadboltHandler
)
(
implicit
request:
AuthenticatedRequest
[_]
)
:
Future
[
Option
[
USER
]]
Attributes
protected
Definition Classes
ActionSecurity
def
currentUserFromRequest
(
implicit
request:
AuthenticatedRequest
[_]
)
:
Option
[
USER
]
Attributes
protected
Definition Classes
ActionSecurity
var
deadbolt
:
DeadboltActions
Attributes
protected
Definition Classes
ActionSecurity
def
defaultDeadboltHandler
:
DeadboltHandler
Attributes
protected
Definition Classes
ActionSecurity
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findRecursively
(
id:
BSONObjectID
,
root:
DataSpaceMetaInfo
)
:
Option
[
DataSpaceMetaInfo
]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getDataSetMetaInfosForCurrentUser
(
implicit
request:
AuthenticatedRequest
[_]
)
:
Future
[
Traversable
[
DataSetMetaInfo
]]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
def
getDataSpaceForCurrentUser
(
dataSpace:
DataSpaceMetaInfo
)
(
implicit
request:
AuthenticatedRequest
[_]
)
:
Future
[
Option
[
DataSpaceMetaInfo
]]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
def
getTreeForCurrentUser
(
implicit
request:
AuthenticatedRequest
[_]
)
:
Future
[
Traversable
[
DataSpaceMetaInfo
]]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
def
getTreeForUser
(
user:
User
)
:
Future
[
Traversable
[
DataSpaceMetaInfo
]]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
var
handlerCache
:
HandlerCache
Attributes
protected
Definition Classes
ActionSecurity
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
restrictAdmin
[
A
]
(
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminAny
(
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrPermission
[
A
]
(
permission:
String
,
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrPermissionAndUserCustom
[
A
]
(
permission:
String
,
isAllowed: (
USER
,
AuthenticatedRequest
[
A
]) ⇒
Future
[
Boolean
]
,
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrPermissionAndUserCustomAny
(
permission:
String
,
isAllowed: (
USER
,
AuthenticatedRequest
[
AnyContent
]) ⇒
Future
[
Boolean
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrPermissionAny
(
permission:
String
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrUserCustom
[
A
]
(
isAllowed: (
USER
,
AuthenticatedRequest
[
A
]) ⇒
Future
[
Boolean
]
,
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAdminOrUserCustomAny
(
isAllowed: (
USER
,
AuthenticatedRequest
[
AnyContent
]) ⇒
Future
[
Boolean
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAndChain
[
A
]
(
restrictions:
Seq
[
AuthActionTransformation
[
A
]]
,
bodyParser:
BodyParser
[
A
]
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAndChainAny
(
restrictions:
Seq
[
AuthActionTransformationAny
]
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
AnyContent
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAndChainFuture
[
A
]
(
restrictions:
Seq
[
AuthActionFutureTransformation
[
A
]]
,
bodyParser:
BodyParser
[
A
]
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictAndChainFutureAny
(
restrictions:
Seq
[
AuthActionFutureTransformationAny
]
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
AnyContent
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictChainFuture
[
A
]
(
start:
Boolean
,
stop: (
Boolean
) ⇒
Boolean
,
handleFinalResult: (
Result
,
AuthenticatedRequest
[
A
]) ⇒
Future
[
Result
]
)
(
restrictions:
Seq
[
AuthActionFutureTransformation
[
A
]]
,
bodyParser:
BodyParser
[
A
]
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictOrChain
[
A
]
(
restrictions:
Seq
[
AuthActionTransformation
[
A
]]
,
bodyParser:
BodyParser
[
A
]
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictOrChainAny
(
restrictions:
Seq
[
AuthActionTransformationAny
]
)
:
AuthActionTransformation
[
AnyContent
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictOrChainFuture
[
A
]
(
restrictions:
Seq
[
AuthActionFutureTransformation
[
A
]]
,
bodyParser:
BodyParser
[
A
]
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictOrChainFutureAny
(
restrictions:
Seq
[
AuthActionFutureTransformationAny
]
)
:
AuthActionTransformation
[
AnyContent
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictRolesOrPermission
[
A
]
(
roleGroups:
List
[
Array
[
String
]]
,
permission:
Option
[
String
]
,
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictRolesOrPermissionAny
(
roleGroups:
List
[
Array
[
String
]]
,
permission:
Option
[
String
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictSubjectPresent
[
A
]
(
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictSubjectPresentAny
(
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
def
restrictUserCustom
[
A
]
(
isAllowed: (
USER
,
AuthenticatedRequest
[
A
]) ⇒
Future
[
Boolean
]
,
bodyParser:
BodyParser
[
A
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformation
[
A
]
Attributes
protected
Definition Classes
ActionSecurity
def
restrictUserCustomAny
(
isAllowed: (
USER
,
AuthenticatedRequest
[
AnyContent
]) ⇒
Future
[
Boolean
]
,
noCaching:
Boolean
,
outputHandler:
DeadboltHandler
)
:
AuthActionTransformationAny
Attributes
protected
Definition Classes
ActionSecurity
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
unauthorizedDeadboltHandler
:
DeadboltHandler
Attributes
protected
Definition Classes
ActionSecurity
def
unregister
(
dataSpaceInfo:
DataSpaceMetaInfo
,
dataSetId:
String
)
:
Future
[
Unit
]
Definition Classes
DataSpaceServiceImpl
→
DataSpaceService
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
ActionSecurity
Inherited from
DataSpaceService
Inherited from
AnyRef
Inherited from
Any
Ungrouped