Associate a collection with a space
Associate a collection with a space
collection id
space id
Associate a dataset with a space
Associate a dataset with a space
dataset id
space id
Add follower to a file.
Add follower to a file.
Add Invitation to a Space
Add Invitation to a Space
Add authorization request to a space.
Add authorization request to a space.
The role that is to be assigned to the user in the context of this space
app.services.SpaceService.scala
Implementation of the SpaceService trait.
The identifier of the user to be updated
The new role to be assigned to the user in the space
The identifier of the space to be updated
app.services.SpaceService.scala
Implementation of the SpaceService trait.
count all spaces
count all spaces
Count all spaces the user has access to.
Count all spaces the user has access to.
Count all spaces the user has created.
Count all spaces the user has created.
delete given space.
delete given space.
Deletes entry with this space id.
Deletes entry with this space id.
Disable extractors within the space.
Disable extractors within the space. This is used to override global selections.
If entry for this spaceId already exists, adds extractor to it.
If entry for this spaceId already exists, adds extractor to it. Otherwise, creates a new entry with spaceId and extractor.
return space with specific id
return space with specific id
Returns a list of extractors associated with this spaceId.
Returns a list of extractors associated with this spaceId.
Identifies the space.
Length of (the number of collections in) returned list.
A list of collections in a space; list's length is defined by 'limit'.
app.services.SpaceService.scala
Implementation of the SpaceService trait.
Identifies the space.
Length of (the number of datasets in) returned list.
A list of datasets in a space; list's length is defined by 'limit'.
app.services.SpaceService.scala
Implementation of the SpaceService trait.
Find an invitation by ID
Find an invitation by ID
Find invitations of a space.
Find invitations of a space. Get data from SpaceInviteDao.
Find invitations of a space.
Find invitations of a space. Get data from SpaceInviteDao.
The identifier of the space to get data for
The identifier of the user to retrieve data for within the space
The role that a specific user has within the specified space
app.services.SpaceService.scala
Implementation of the SpaceService trait.
Retrieve the time to live value that a space is scoped by.
Retrieve the time to live value that a space is scoped by.
The id of the space to check
An Integer that represents that lifetime of resources in whole days.
The identifier of the space to retrieve user data from
The role of the user in the space (optional filter)
A list that contains all of the users that are associated with a specific space
app.services.SpaceService.scala
Implementation of the SpaceService trait.
insert new space, will return id if successful.
insert new space, will return id if successful.
Check if the time to live scope for a space is enabled.
Check if the time to live scope for a space is enabled.
The id of the space to check
A Boolean, true if it is enabled, false otherwise or if there was an error
list all spaces
list all spaces
Return a list of spaces the user has access to starting at a specific date.
Return a list of spaces the user has access to starting at a specific date.
Return a list of spaces the user has access to starting at a specific date.
Return a list of spaces the user has access to starting at a specific date.
Return a list of spaces the user has access to.
Return a list of spaces the user has access to.
Return a list of spaces the user has access to.
Return a list of spaces the user has access to.
Return a list of spaces with specific status
Return a list of spaces with specific status
Return a list of spaces the user has created starting at a specific date with matching title.
Return a list of spaces the user has created starting at a specific date with matching title.
Return a list of spaces the user has created starting at a specific date.
Return a list of spaces the user has created starting at a specific date.
Return a list of spaces the user has created with matching title.
Return a list of spaces the user has created with matching title.
Return a list of spaces the user has created.
Return a list of spaces the user has created.
Find invitation for email and process it
Find invitation for email and process it
Go through the resources in the space, currently Collections and Datasets, and remove their contents if the last modified time on them is older than the time to live that is scoping the space.
Go through the resources in the space, currently Collections and Datasets, and remove their contents if the last modified time on them is older than the time to live that is scoping the space.
The id of the space to check
Remove association betweren dataset and a space
Remove association betweren dataset and a space
dataset id
space id
Remove follower from a file.
Remove follower from a file.
Remove Invitation to a space
Remove Invitation to a space
Remove authorization request.
Remove authorization request.
The identifier of the user to be removed from the space
The identifier for the space that the user is being removed from
app.services.SpaceService.scala
Implementation of the SpaceService trait.
Follow the global setting for whether to trigger an extractor or not.
Follow the global setting for whether to trigger an extractor or not.
update space
update space
The identifier for the space to be updated
The updated name information, HTMLEncoded since it is free text
The updated description information, HTMLEncoded since it is free text
The updated amount of time, in milliseconds, that resources should be preserved in the space
The updated flag, indicating whether or not the space should allow resources to expire*
The updated flag indicate the space is private or public
app.services.SpaceService.scala
Implementation of the SpaceService trait.
Update space.
Update space.userCount if it is not correct.
The identifier of the space to be updated
The number of user in space
Store Spaces in MongoDB.