A B C D E F G H I K L M N O P R S T U V W Z 
All Classes All Packages

A

Account - Class in mops.businesslogic.security
Wrapper for keycloak credentials.
ACTIVE - mops.businesslogic.gruppenbildung.StatusDTO
Represents an active group.
addFormatters(FormatterRegistry) - Method in class mops.businesslogic.config.ConverterRegistry
AggregateBuilder - Annotation Type in mops.util
Interface for marking a class as a Aggregate Builder so that tests don't fail because of builders.
AggregateRoot - Annotation Type in mops.util
Interface for marking a class with Aggregate Root for testing.
availableFrom(Instant) - Method in class mops.persistence.file.FileInfoBuilder
Set the available from time.
availableTo(Instant) - Method in class mops.persistence.file.FileInfoBuilder
Set the available to time.

B

build() - Method in class mops.businesslogic.file.query.FileQueryBuilder
Builds the object from it's information.
build() - Method in class mops.persistence.directory.DirectoryBuilder
Builds the Directory.
build() - Method in class mops.persistence.file.FileInfoBuilder
Builds the FileInfo.
build() - Method in class mops.persistence.group.GroupBuilder
Builds the Group.
build() - Method in class mops.persistence.permission.DirectoryPermissionsBuilder
Builds the DirectoryPermissions.
buildDirectoryPermissions() - Method in class mops.presentation.form.EditDirectoryForm
Extract the directory permissions object from the internal rolePermissions list.
builder() - Static method in class mops.businesslogic.file.query.FileQuery
Returns a builder for file queries.
builder() - Static method in class mops.persistence.directory.Directory
Gives you DirectoryBuilder.
builder() - Static method in class mops.persistence.file.FileInfo
Gives you FileInfoBuilder.
builder() - Static method in class mops.persistence.group.Group
Gives you GroupBuilder.
builder() - Static method in class mops.persistence.permission.DirectoryPermissions
Returns DirectoryPermissionsBuilder.

C

canEqual(Object) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
 
canEqual(Object) - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
 
canEqual(Object) - Method in class mops.businesslogic.gruppenbildung.UserDTO
 
canEqual(Object) - Method in class mops.persistence.directory.Directory
 
canEqual(Object) - Method in class mops.persistence.event.LatestEventId
 
canEqual(Object) - Method in class mops.persistence.file.FileInfo
 
canEqual(Object) - Method in class mops.persistence.group.Group
 
canEqual(Object) - Method in class mops.persistence.permission.DirectoryPermissions
 
canEqual(Object) - Method in class mops.presentation.form.EditDirectoryForm
 
canEqual(Object) - Method in class mops.presentation.form.FileQueryForm
 
canEqual(Object) - Method in class mops.presentation.form.RolePermissionsForm
 
checkDeletePermission(Account, Directory) - Method in interface mops.businesslogic.security.SecurityService
Checks if the user has deleting rights.
checkDeletePermission(Account, Directory) - Method in class mops.businesslogic.security.SecurityServiceImpl
Checks if the user has deleting rights.
checkIfRole(Account, long, String) - Method in interface mops.businesslogic.security.SecurityService
Checks if user is has a role.
checkIfRole(Account, long, String) - Method in class mops.businesslogic.security.SecurityServiceImpl
Checks if user is has a role.
checkMatch(FileInfo) - Method in class mops.businesslogic.file.query.FileQuery
Checks if file query matches with file meta data.
checkReadPermission(Account, Directory) - Method in interface mops.businesslogic.security.SecurityService
Checks if the user has reading rights.
checkReadPermission(Account, Directory) - Method in class mops.businesslogic.security.SecurityServiceImpl
Checks if the user has reading rights.
checkWritePermission(Account, Directory) - Method in interface mops.businesslogic.security.SecurityService
Checks if the user has writing rights.
checkWritePermission(Account, Directory) - Method in class mops.businesslogic.security.SecurityServiceImpl
Checks if the user has writing rights.
configure(HttpSecurity) - Method in class mops.config.SecurityConfig
Configures spring security that authentication is required for all resources.
configureGlobal(AuthenticationManagerBuilder) - Method in class mops.config.SecurityConfig
Configuration for spring security with keycloak.
convert(String) - Method in class mops.businesslogic.file.query.FileQueryConverter
ConverterRegistry - Class in mops.businesslogic.config
Registers parser to web mvc.
ConverterRegistry() - Constructor for class mops.businesslogic.config.ConverterRegistry
 
createFolder(Account, long, String) - Method in interface mops.businesslogic.directory.DirectoryService
Creates a new folder inside a folder.
createFolder(Account, long, String) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Creates a new folder inside a folder.
createSubFolder(RedirectAttributes, KeycloakAuthenticationToken, long, String) - Method in class mops.presentation.DirectoryController
Creates a new sub folder.

D

DatabaseConfig - Class in mops.persistence.config
Configuration for database.
DatabaseConfig() - Constructor for class mops.persistence.config.DatabaseConfig
 
DatabaseDuplicationException - Exception in mops.businesslogic.exception
Is thrown if an entry already exists.
DatabaseDuplicationException(String) - Constructor for exception mops.businesslogic.exception.DatabaseDuplicationException
Is thrown if the an entry already exists.
DatabaseDuplicationException(String, Exception) - Constructor for exception mops.businesslogic.exception.DatabaseDuplicationException
Is thrown if the an entry already exists.
DatabaseException - Exception in mops.businesslogic.exception
Throws if something went wrong with fetching information from the database.
DatabaseException(String) - Constructor for exception mops.businesslogic.exception.DatabaseException
Throws if something went wrong with fetching information from the database.
DatabaseException(String, Throwable) - Constructor for exception mops.businesslogic.exception.DatabaseException
Throws if something went wrong with fetching information from the database.
DEACTIVATED - mops.businesslogic.gruppenbildung.StatusDTO
Represents a deleted group.
DeleteAccessPermissionException - Exception in mops.businesslogic.exception
Is thrown when an user tries to delete something where he/she/it doesn't have the permission for it.
DeleteAccessPermissionException(String) - Constructor for exception mops.businesslogic.exception.DeleteAccessPermissionException
Is thrown when an user tries to delete something where he/she/it doesn't have the permission for it.
deleteDirectory(Directory) - Method in interface mops.businesslogic.directory.DirectoryService
Internal use only: possible security flaw!.
deleteDirectory(Directory) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Internal use only: possible security flaw!.
deleteFile(long) - Method in class mops.persistence.FileRepository
Deletes a file permanently.
deleteFile(Account, long) - Method in interface mops.businesslogic.file.FileService
Deletes a file.
deleteFile(Account, long) - Method in class mops.businesslogic.file.FileServiceImpl
Deletes a file.
deleteFile(RedirectAttributes, KeycloakAuthenticationToken, long) - Method in class mops.presentation.FileController
Deletes a file.
deleteFileInfo(long) - Method in interface mops.businesslogic.file.FileInfoService
Delete file from database by id.
deleteFileInfo(long) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Delete file from database by id.
deleteFileWithoutMeta(long) - Method in interface mops.businesslogic.file.FileService
INTERNAL USE ONLY.
deleteFileWithoutMeta(long) - Method in class mops.businesslogic.file.FileServiceImpl
INTERNAL USE ONLY.
deleteFolder(Account, long) - Method in interface mops.businesslogic.directory.DeleteService
Deletes folder recursively.
deleteFolder(Account, long) - Method in class mops.businesslogic.directory.DeleteServiceImpl
Deletes folder recursively.
deleteFolder(RedirectAttributes, KeycloakAuthenticationToken, long) - Method in class mops.presentation.DirectoryController
Deletes a folder.
deleteGroup(long) - Method in interface mops.businesslogic.group.GroupService
Delete the given group.
deleteGroup(long) - Method in class mops.businesslogic.group.GroupServiceImpl
Delete the given group.
deletePermissions(Directory) - Method in interface mops.businesslogic.permission.PermissionService
Deletes the permissions of a directory.
deletePermissions(Directory) - Method in class mops.businesslogic.permission.PermissionServiceImpl
Deletes the permissions of a directory.
DeleteService - Interface in mops.businesslogic.directory
Handles directory and file deletion.
DeleteServiceImpl - Class in mops.businesslogic.directory
Handles directory and file deletion.
DeleteServiceImpl(FileService, FileInfoService, DirectoryService, PermissionService, SecurityService) - Constructor for class mops.businesslogic.directory.DeleteServiceImpl
 
directory(long) - Method in class mops.persistence.file.FileInfoBuilder
Set directory.
directory(Directory) - Method in class mops.persistence.file.FileInfoBuilder
Set directory.
Directory - Class in mops.persistence.directory
Represents a directory where files can be stored.
DirectoryBuilder - Class in mops.persistence.directory
Builds directories.
DirectoryController - Class in mops.presentation
Controller Class for all requests on 'material1/dir'.
DirectoryController(DirectoryService, FileService, SecurityService, PermissionService, DeleteService, SearchService, ZipService) - Constructor for class mops.presentation.DirectoryController
 
DirectoryPermissions - Class in mops.persistence.permission
Represents a collection of Permissions for a Directory.
DirectoryPermissionsBuilder - Class in mops.persistence.permission
Builds directory permissions.
DirectoryPermissionsRepository - Interface in mops.persistence
Database connection for directory permissions.
DirectoryRepository - Interface in mops.persistence
Database connection for directories.
DirectoryService - Interface in mops.businesslogic.directory
Handles meta data for directories.
DirectoryServiceImpl - Class in mops.businesslogic.directory
Handles meta data for directories.
DirectoryServiceImpl(DirectoryRepository, SecurityService, PermissionService, GroupService) - Constructor for class mops.businesslogic.directory.DirectoryServiceImpl
 
doesGroupExist(UUID) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Does a group exist.
downloadFile(KeycloakAuthenticationToken, long) - Method in class mops.presentation.FileController
Downloads a file.
DummyDataSeeding - Class in mops.businesslogic.config
Setups data for development.
DummyDataSeeding() - Constructor for class mops.businesslogic.config.DummyDataSeeding
 

E

EditDirectoryForm - Class in mops.presentation.form
Wrapper for the edit directory form for thymeleaf.
EditDirectoryForm() - Constructor for class mops.presentation.form.EditDirectoryForm
 
editFolder(RedirectAttributes, KeycloakAuthenticationToken, long, EditDirectoryForm) - Method in class mops.presentation.DirectoryController
Edit the folder.
EmptyNameException - Exception in mops.businesslogic.exception
Throws if file is not found.
EmptyNameException(String) - Constructor for exception mops.businesslogic.exception.EmptyNameException
Throws if file is not found.
EmptyNameException(String, Throwable) - Constructor for exception mops.businesslogic.exception.EmptyNameException
Throws if file is not found.
entry(String, boolean, boolean, boolean) - Method in class mops.persistence.permission.DirectoryPermissionsBuilder
Add permission.
equals(Object) - Method in class mops.businesslogic.file.FileContainer
 
equals(Object) - Method in class mops.businesslogic.file.FileListEntry
 
equals(Object) - Method in class mops.businesslogic.file.query.FileQuery
 
equals(Object) - Method in class mops.businesslogic.group.GroupRootDirWrapper
 
equals(Object) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
 
equals(Object) - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
 
equals(Object) - Method in class mops.businesslogic.gruppenbildung.UserDTO
 
equals(Object) - Method in class mops.businesslogic.security.Account
 
equals(Object) - Method in class mops.businesslogic.security.UserPermission
 
equals(Object) - Method in class mops.persistence.directory.Directory
 
equals(Object) - Method in class mops.persistence.event.LatestEventId
 
equals(Object) - Method in class mops.persistence.file.FileInfo
 
equals(Object) - Method in class mops.persistence.group.Group
 
equals(Object) - Method in class mops.persistence.permission.DirectoryPermissions
 
equals(Object) - Method in class mops.presentation.error.ExceptionPresentationError
 
equals(Object) - Method in class mops.presentation.error.MessagePresentationError
 
equals(Object) - Method in class mops.presentation.form.EditDirectoryForm
 
equals(Object) - Method in class mops.presentation.form.FileQueryForm
 
equals(Object) - Method in class mops.presentation.form.RolePermissionsForm
 
ExceptionController - Class in mops.presentation
Exception Handling.
ExceptionController() - Constructor for class mops.presentation.ExceptionController
 
ExceptionPresentationError - Class in mops.presentation.error
An error to be shown in the web template - based on an exception message.
ExceptionPresentationError(Exception) - Constructor for class mops.presentation.error.ExceptionPresentationError
 

F

fetchAllFileInfoIds() - Method in interface mops.businesslogic.file.FileInfoService
Fetches all available FileInfo ids.
fetchAllFileInfoIds() - Method in class mops.businesslogic.file.FileInfoServiceImpl
Fetches all available FileInfo ids.
fetchAllFilesInDirectory(long) - Method in interface mops.businesslogic.file.FileInfoService
Lists all files in a specific directory.
fetchAllFilesInDirectory(long) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Lists all files in a specific directory.
fetchAllOrphanedFileInfos() - Method in interface mops.businesslogic.file.FileInfoService
Fetches all FileInfos which are in non existing directories.
fetchAllOrphanedFileInfos() - Method in class mops.businesslogic.file.FileInfoServiceImpl
Fetches all FileInfos which are in non existing directories.
fetchFileInfo(long) - Method in interface mops.businesslogic.file.FileInfoService
Get a file by id.
fetchFileInfo(long) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Get a file by id.
FileContainer - Class in mops.businesslogic.file
Wrapper of meta data and content of a file.
FileContainer(FileInfo, Resource) - Constructor for class mops.businesslogic.file.FileContainer
 
FileController - Class in mops.presentation
Controller Class for all requests on 'material1/file'.
FileController(FileService) - Constructor for class mops.presentation.FileController
 
fileExist(long) - Method in class mops.persistence.FileRepository
Checks if a file with a specified ID already exists.
FileInfo - Class in mops.persistence.file
Represents a file.
FileInfoBuilder - Class in mops.persistence.file
Builds file meta data.
FileInfoRepository - Interface in mops.persistence
Database connection for file meta data.
FileInfoService - Interface in mops.businesslogic.file
Handles meta data for files.
FileInfoServiceImpl - Class in mops.businesslogic.file
Handles meta data for files.
FileInfoServiceImpl(FileInfoRepository) - Constructor for class mops.businesslogic.file.FileInfoServiceImpl
 
FileListEntry - Class in mops.businesslogic.file
Wrapper for FileInfo and its permissions.
FileListEntry(FileInfo, UserPermission, boolean, boolean, Instant) - Constructor for class mops.businesslogic.file.FileListEntry
 
FileNotFoundException - Exception in mops.businesslogic.exception
Throws if file is not found.
FileNotFoundException(String) - Constructor for exception mops.businesslogic.exception.FileNotFoundException
Throws if file is not found.
FileNotFoundException(String, Throwable) - Constructor for exception mops.businesslogic.exception.FileNotFoundException
Throws if file is not found.
FileQuery - Class in mops.businesslogic.file.query
Wrapper for file search requests.
FileQueryBuilder - Class in mops.businesslogic.file.query
Builds a file query.
FileQueryConverter - Class in mops.businesslogic.file.query
Builds a file query from string.
FileQueryForm - Class in mops.presentation.form
Wrapper for FileQuery for thymeleaf.
FileQueryForm() - Constructor for class mops.presentation.form.FileQueryForm
 
FileRepository - Class in mops.persistence
MinIO connection.
FileRepository(FileRepositoryConfig) - Constructor for class mops.persistence.FileRepository
Connects to MinIO Server and checks if the bucket exists.
FileRepositoryConfig - Class in mops.persistence.config
Configuration for MinIO.
FileRepositoryConfig() - Constructor for class mops.persistence.config.FileRepositoryConfig
 
FileService - Interface in mops.businesslogic.file
Handles communication with the storage service.
FileServiceImpl - Class in mops.businesslogic.file
Handles requests to MinIO.
FileServiceImpl(DirectoryService, FileInfoService, SecurityService, TimeService, FileRepository) - Constructor for class mops.businesslogic.file.FileServiceImpl
 
findAllIds() - Method in interface mops.persistence.FileInfoRepository
Fetches all file info ids.
findAllInDirectory(long) - Method in interface mops.persistence.FileInfoRepository
Gets all files from one directory.
findAllOrphansByDirectory() - Method in interface mops.persistence.FileInfoRepository
Finds all FileInfo IDs, where no dir exists anymore.
findByGroupId(UUID) - Method in interface mops.persistence.GroupRepository
Find group by its uuid.
findByUser(String) - Method in interface mops.persistence.GroupRepository
Get all groups where a given user is a member.
findGroupByGroupId(UUID) - Method in interface mops.businesslogic.group.GroupService
Get a group by its group uuid.
findGroupByGroupId(UUID) - Method in class mops.businesslogic.group.GroupServiceImpl
Get a group by its group uuid.
from(String) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Create FileQuery from search string.
from(Directory) - Method in class mops.persistence.directory.DirectoryBuilder
Initialize from existing Directory.
from(FileInfo) - Method in class mops.persistence.file.FileInfoBuilder
Initialize from existing FileInfo.
from(Group) - Method in class mops.persistence.group.GroupBuilder
Initialize from existing Group.
from(MultipartFile) - Method in class mops.persistence.file.FileInfoBuilder
Initialize from existing MultipartFile.
from(DirectoryPermissions) - Method in class mops.persistence.permission.DirectoryPermissionsBuilder
Initialize from existing DirectoryPermissions.
fromParent(Directory) - Method in class mops.persistence.directory.DirectoryBuilder
Initialize from parent Directory.

G

garbageCollection() - Method in class mops.businesslogic.GarbageCollector
Starts garbage collection.
GarbageCollector - Class in mops.businesslogic
Removes content of no longer existing groups.
GarbageCollector(FileInfoService, FileService, DeleteService, GroupService, DirectoryService) - Constructor for class mops.businesslogic.GarbageCollector
 
getAccessKey() - Method in class mops.persistence.config.FileRepositoryConfig
MinIO access key.
getAccessToken() - Method in class mops.config.SecurityConfig
allows to @Autowire a Keycloak access token.
getAllFileIds() - Method in interface mops.businesslogic.file.FileService
Fetches all IDs.
getAllFileIds() - Method in class mops.businesslogic.file.FileServiceImpl
Fetches all IDs.
getAllGroups() - Method in interface mops.businesslogic.group.GroupService
Fetches all groups.
getAllGroups() - Method in class mops.businesslogic.group.GroupServiceImpl
Fetches all groups.
getAllGroups(RedirectAttributes, KeycloakAuthenticationToken, Model) - Method in class mops.presentation.GroupsController
Gets all groups of a user.
getAllIds() - Method in class mops.persistence.FileRepository
Fetches all IDs.
getAllRootDirectories() - Method in interface mops.businesslogic.directory.DirectoryService
Fetches list of all root directories.
getAllRootDirectories() - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Fetches list of all root directories.
getAllRootDirectories() - Method in interface mops.persistence.DirectoryRepository
Gets all root directories.
getAllSubFoldersOfParent(long) - Method in interface mops.persistence.DirectoryRepository
Gets all sub folders.
getAvailableFrom() - Method in class mops.businesslogic.file.FileListEntry
File available from time.
getAvailableFrom() - Method in class mops.persistence.file.FileInfo
Get the available from time.
getAvailableTo() - Method in class mops.businesslogic.file.FileListEntry
File available to time.
getAvailableTo() - Method in class mops.persistence.file.FileInfo
Get the available to time.
getBucketName() - Method in class mops.persistence.config.FileRepositoryConfig
Name of the bucket.
getContent() - Method in class mops.businesslogic.file.FileContainer
contains content stream.
getCourse() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Course.
getCreationTime() - Method in class mops.businesslogic.file.FileListEntry
File creation time.
getCreationTime() - Method in class mops.persistence.directory.Directory
Get the creation time.
getCreationTime() - Method in class mops.persistence.file.FileInfo
Get the creation time.
getCreationTime() - Method in class mops.persistence.group.Group
Get the creation time.
getCreationTime() - Method in class mops.persistence.permission.DirectoryPermissions
Get the creation time.
getDefaultPermissions(long) - Method in interface mops.businesslogic.group.GroupService
Creates the default permissions.
getDefaultPermissions(long) - Method in class mops.businesslogic.group.GroupServiceImpl
Creates the default permissions.
getDirCountInGroup(long) - Method in interface mops.businesslogic.directory.DirectoryService
Get the total number of directories in a group.
getDirCountInGroup(long) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Get the total number of directories in a group.
getDirCountInGroup(long) - Method in interface mops.persistence.DirectoryRepository
Gets folder count in a group.
getDirectory(long) - Method in interface mops.businesslogic.directory.DirectoryService
Internal use only: possible security flaw!.
getDirectory(long) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Internal use only: possible security flaw!.
getDirectoryId() - Method in class mops.businesslogic.file.FileContainer
Gets a directory id.
getDirectoryId() - Method in class mops.businesslogic.file.FileListEntry
Id of the Directory this file resides in.
getDirectoryId() - Method in class mops.persistence.file.FileInfo
Id of the Directory this file resides in.
getDirectoryPath(long) - Method in interface mops.businesslogic.directory.DirectoryService
Builds directory path as list.
getDirectoryPath(long) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Builds directory path as list.
getEmail() - Method in class mops.businesslogic.security.Account
Email of the user.
getEventId() - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
Current event timestamp id.
getEventId() - Method in class mops.persistence.event.LatestEventId
Event Id.
getException() - Method in class mops.presentation.error.ExceptionPresentationError
The exception.
getFile(Account, long) - Method in interface mops.businesslogic.file.FileService
Gets a file.
getFile(Account, long) - Method in class mops.businesslogic.file.FileServiceImpl
Gets a file.
getFileContent(long) - Method in class mops.persistence.FileRepository
Retrieves the bytes of the file.
getFileCountInGroup(long) - Method in interface mops.businesslogic.file.FileInfoService
Get the total number of files in a group.
getFileCountInGroup(long) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Get the total number of files in a group.
getFileCountInGroup(long) - Method in interface mops.persistence.FileInfoRepository
Counts the total number of files in a group.
getFileInfo() - Method in class mops.businesslogic.file.FileListEntry
File.
getFileInfo(Account, long) - Method in interface mops.businesslogic.file.FileService
Retrieves file meta data.
getFileInfo(Account, long) - Method in class mops.businesslogic.file.FileServiceImpl
Retrieves file meta data.
getFilesOfDirectory(Account, long) - Method in interface mops.businesslogic.file.FileService
Retrieves file meta data of all files in a directory.
getFilesOfDirectory(Account, long) - Method in class mops.businesslogic.file.FileServiceImpl
Retrieves file meta data of all files in a directory.
getGroup(long) - Method in interface mops.businesslogic.group.GroupService
Get a group by id.
getGroup(long) - Method in class mops.businesslogic.group.GroupServiceImpl
Get a group by id.
getGroupDAOs() - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
List of groups.
getGroupDescription() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group description.
getGroupId() - Method in class mops.businesslogic.group.GroupRootDirWrapper
The id of the group.
getGroupId() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group id.
getGroupId() - Method in class mops.persistence.group.Group
Database id.
getGroupName() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group name.
getGroupOwner() - Method in class mops.persistence.directory.Directory
Id of the group which this Directory belongs to.
getHost() - Method in class mops.persistence.config.FileRepositoryConfig
Host of the MinIO server.
getId() - Method in class mops.businesslogic.file.FileContainer
Gets the file id.
getId() - Method in class mops.businesslogic.file.FileListEntry
File id.
getId() - Method in class mops.persistence.directory.Directory
Database Id.
getId() - Method in class mops.persistence.event.LatestEventId
Database Id.
getId() - Method in class mops.persistence.file.FileInfo
Database Id.
getId() - Method in class mops.persistence.group.Group
Database id.
getId() - Method in class mops.persistence.permission.DirectoryPermissions
Id in database.
getImage() - Method in class mops.businesslogic.security.Account
Avatar of the user.
getInfo() - Method in class mops.businesslogic.file.FileContainer
contains info of file.
getInstantNow() - Method in interface mops.businesslogic.time.TimeService
Get the current Instant time.
getInstantNow() - Method in class mops.businesslogic.time.TimeServiceImpl
Get the current Instant time.
getLastModifiedTime() - Method in class mops.businesslogic.file.FileListEntry
File last modified time.
getLastModifiedTime() - Method in class mops.persistence.directory.Directory
Get the last modified time.
getLastModifiedTime() - Method in class mops.persistence.file.FileInfo
Get the last modified time.
getLastModifiedTime() - Method in class mops.persistence.group.Group
Get the last modified time.
getLastModifiedTime() - Method in class mops.persistence.permission.DirectoryPermissions
Get the last modified time.
getLatestEventId() - Method in class mops.businesslogic.event.LatestEventIdService
Get the latest event id.
getMemberRole(String) - Method in class mops.persistence.group.Group
Get the role of a group member.
getMembers() - Method in class mops.persistence.group.Group
File tags.
getMembers(UUID) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Gets all members of a given group.
getMessage() - Method in class mops.presentation.error.ExceptionPresentationError
Get the error message.
getMessage() - Method in class mops.presentation.error.MessagePresentationError
Get the error message.
getMessage() - Method in interface mops.presentation.error.PresentationError
Get the error message.
getName() - Method in class mops.businesslogic.file.FileContainer
Gets the file name.
getName() - Method in class mops.businesslogic.file.FileListEntry
File name.
getName() - Method in class mops.businesslogic.security.Account
Name of the user.
getName() - Method in class mops.persistence.directory.Directory
Directory name.
getName() - Method in class mops.persistence.file.FileInfo
File name.
getName() - Method in class mops.persistence.group.Group
Group name.
getNames() - Method in class mops.businesslogic.file.query.FileQuery
List of file names to search for.
getNames() - Method in class mops.presentation.form.FileQueryForm
List of file names to search for.
getNow() - Method in class mops.businesslogic.file.FileListEntry
Current time.
getOrCreateRootFolder(long) - Method in interface mops.businesslogic.directory.DirectoryService
Creates the group root directory.
getOrCreateRootFolder(long) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Creates the group root directory.
getOwner() - Method in class mops.businesslogic.file.FileListEntry
File owner.
getOwner() - Method in class mops.persistence.file.FileInfo
Username of the owner.
getOwners() - Method in class mops.businesslogic.file.query.FileQuery
List of user names of file owners to search for.
getOwners() - Method in class mops.presentation.form.FileQueryForm
List of user names of file owners to search for.
getParentId() - Method in class mops.persistence.directory.Directory
Id of the Directory above this one.
getPermissions() - Method in class mops.persistence.permission.DirectoryPermissions
The permission entries.
getPermissions(Directory) - Method in interface mops.businesslogic.permission.PermissionService
Get permissions of directory.
getPermissions(Directory) - Method in class mops.businesslogic.permission.PermissionServiceImpl
Get permissions of directory.
getPermissionsId() - Method in class mops.persistence.directory.Directory
Id of the DirectoryPermissions object which stores the access permission for this Directory tree.
getPermissionsOfUser(Account, Directory) - Method in interface mops.businesslogic.security.SecurityService
Gets all 3 permissions of a user in a directory.
getPermissionsOfUser(Account, Directory) - Method in class mops.businesslogic.security.SecurityServiceImpl
Gets all 3 permissions of a user in a directory.
getPort() - Method in class mops.persistence.config.FileRepositoryConfig
Port of the MinIO server.
getRole() - Method in class mops.presentation.form.RolePermissionsForm
Role.
getRolePermissions() - Method in class mops.presentation.form.EditDirectoryForm
Role Permissions.
getRoles() - Method in class mops.businesslogic.security.Account
Keycloak roles of the user.
getRoles() - Method in class mops.persistence.permission.DirectoryPermissions
Get all roles for which there are permissions.
getRoles(long) - Method in interface mops.businesslogic.group.GroupService
Gets all roles that exist in a group.
getRoles(long) - Method in class mops.businesslogic.group.GroupServiceImpl
Gets all roles that exist in a group.
getRootDir() - Method in class mops.businesslogic.group.GroupRootDirWrapper
The root directory.
getRootDirectory(RedirectAttributes, KeycloakAuthenticationToken, long) - Method in class mops.presentation.GroupController
Gets the root directory.
getRootDirectoryUrl(KeycloakAuthenticationToken, long) - Method in class mops.presentation.GroupController
Gets the url of the root directory.
getRootDirId() - Method in class mops.businesslogic.group.GroupRootDirWrapper
The id of the group's root directory.
getRootDirUrl() - Method in class mops.businesslogic.group.GroupRootDirWrapper
Gets the root directory url.
getRootFolder(long) - Method in interface mops.persistence.DirectoryRepository
Gets the root folder of a group.
getSecretKey() - Method in class mops.persistence.config.FileRepositoryConfig
MinIO secret key.
getSize() - Method in class mops.businesslogic.file.FileContainer
Gets the file size.
getSize() - Method in class mops.businesslogic.file.FileListEntry
File size.
getSize() - Method in class mops.persistence.file.FileInfo
Size in bytes.
getSizeString() - Method in class mops.businesslogic.file.FileListEntry
File size string.
getSizeString() - Method in class mops.persistence.file.FileInfo
Converts Byte to a String.
getStatus() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group status.
getStorageUsageInGroup(long) - Method in interface mops.businesslogic.file.FileInfoService
Get the total number of bytes used by that group.
getStorageUsageInGroup(long) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Get the total number of bytes used by that group.
getStorageUsageInGroup(long) - Method in interface mops.persistence.FileInfoRepository
Counts the total number of bytes used in a group.
getSubFolders(Account, long) - Method in interface mops.businesslogic.directory.DirectoryService
Returns all folders of the parent folder.
getSubFolders(Account, long) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Returns all folders of the parent folder.
getTags() - Method in class mops.businesslogic.file.query.FileQuery
List of file tags to search for.
getTags() - Method in class mops.persistence.file.FileInfo
File tags.
getTags() - Method in class mops.presentation.form.FileQueryForm
List of file tags to search for.
getTotalDirCount() - Method in interface mops.businesslogic.directory.DirectoryService
Get the total number of directories in all groups.
getTotalDirCount() - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Get the total number of directories in all groups.
getTotalFileCount() - Method in interface mops.businesslogic.file.FileInfoService
Get the total number of files in all groups.
getTotalFileCount() - Method in class mops.businesslogic.file.FileInfoServiceImpl
Get the total number of files in all groups.
getTotalGroupCount() - Method in interface mops.businesslogic.group.GroupService
Get the total number of groups.
getTotalGroupCount() - Method in class mops.businesslogic.group.GroupServiceImpl
Get the total number of groups.
getTotalStorageUsage() - Method in interface mops.businesslogic.file.FileInfoService
Get the total number of bytes used by all groups.
getTotalStorageUsage() - Method in class mops.businesslogic.file.FileInfoServiceImpl
Get the total number of bytes used by all groups.
getTotalStorageUsage() - Method in interface mops.persistence.FileInfoRepository
Counts the total number of bytes in all groups.
getType() - Method in class mops.businesslogic.file.FileContainer
Gets the file type.
getType() - Method in class mops.businesslogic.file.FileListEntry
File type.
getType() - Method in class mops.persistence.file.FileInfo
File type.
getTypes() - Method in class mops.businesslogic.file.query.FileQuery
List of file types to search for.
getTypes() - Method in class mops.presentation.form.FileQueryForm
List of file types to search for.
getUpdatedGroups(long) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Gets all updated groups since the last event timestamp.
getUserGroups(String) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Gets all groups of a given user.
getUserGroups(Account) - Method in interface mops.businesslogic.group.GroupService
Fetches all visible groups of one user.
getUserGroups(Account) - Method in class mops.businesslogic.group.GroupServiceImpl
Fetches all visible groups of one user.
getUserName() - Method in class mops.businesslogic.gruppenbildung.UserDTO
User name.
getUserPermission() - Method in class mops.businesslogic.file.FileListEntry
User Permissions in containing folder.
getUserRole(long, Account) - Method in interface mops.businesslogic.security.SecurityService
Get the role of a given user in a group.
getUserRole(long, Account) - Method in class mops.businesslogic.security.SecurityServiceImpl
Get the role of a given user in a group.
Group - Class in mops.persistence.group
Represents a group.
GroupBuilder - Class in mops.persistence.group
Builds file meta data.
GroupController - Class in mops.presentation
Controller Class for all requests on 'material1/group'.
GroupController(DirectoryService) - Constructor for class mops.presentation.GroupController
 
GroupDTO - Class in mops.businesslogic.gruppenbildung
Group.
GroupDTO() - Constructor for class mops.businesslogic.gruppenbildung.GroupDTO
 
groupId(UUID) - Method in class mops.persistence.group.GroupBuilder
Set group id.
groupOwner(long) - Method in class mops.persistence.directory.DirectoryBuilder
Set owning group id.
groupOwner(Group) - Method in class mops.persistence.directory.DirectoryBuilder
Set owning group id.
GroupRepository - Interface in mops.persistence
Database connection for groups.
GroupRootDirWrapper - Class in mops.businesslogic.group
Wraps a url for a group given a group id.
GroupRootDirWrapper(Directory) - Constructor for class mops.businesslogic.group.GroupRootDirWrapper
 
GroupsController - Class in mops.presentation
Controller Class for all requests on '/material1/groups'.
GroupsController(GroupService) - Constructor for class mops.presentation.GroupsController
 
GroupService - Interface in mops.businesslogic.group
Connects to our group database repository.
GroupServiceImpl - Class in mops.businesslogic.group
Access to the group database.
GroupServiceImpl(GroupRepository) - Constructor for class mops.businesslogic.group.GroupServiceImpl
 
GroupUpdater - Class in mops.businesslogic.gruppenbildung
Component that updates our group database.
GroupUpdater(GruppenbildungsService, LatestEventIdService, GroupService) - Constructor for class mops.businesslogic.gruppenbildung.GroupUpdater
 
GruppenbildungsException - Exception in mops.businesslogic.exception
Is thrown when something happened during an API request to Gruppenbildung.
GruppenbildungsException(String) - Constructor for exception mops.businesslogic.exception.GruppenbildungsException
Is thrown when something happened during API request to Gruppenbildung.
GruppenbildungsException(String, Throwable) - Constructor for exception mops.businesslogic.exception.GruppenbildungsException
Is thrown when something happened during API request to Gruppenbildung.
GruppenbildungsService - Class in mops.businesslogic.gruppenbildung
Service to call REST-API from Gruppenbildung.
GruppenbildungsService(RestTemplate) - Constructor for class mops.businesslogic.gruppenbildung.GruppenbildungsService
 

H

handleError(KeycloakAuthenticationToken, HttpServletRequest, Model) - Method in class mops.presentation.ExceptionController
Error mapping.
hashCode() - Method in class mops.businesslogic.file.FileContainer
 
hashCode() - Method in class mops.businesslogic.file.FileListEntry
 
hashCode() - Method in class mops.businesslogic.file.query.FileQuery
 
hashCode() - Method in class mops.businesslogic.group.GroupRootDirWrapper
 
hashCode() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
 
hashCode() - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
 
hashCode() - Method in class mops.businesslogic.gruppenbildung.UserDTO
 
hashCode() - Method in class mops.businesslogic.security.Account
 
hashCode() - Method in class mops.businesslogic.security.UserPermission
 
hashCode() - Method in class mops.persistence.directory.Directory
 
hashCode() - Method in class mops.persistence.event.LatestEventId
 
hashCode() - Method in class mops.persistence.file.FileInfo
 
hashCode() - Method in class mops.persistence.group.Group
 
hashCode() - Method in class mops.persistence.permission.DirectoryPermissions
 
hashCode() - Method in class mops.presentation.error.ExceptionPresentationError
 
hashCode() - Method in class mops.presentation.error.MessagePresentationError
 
hashCode() - Method in class mops.presentation.form.EditDirectoryForm
 
hashCode() - Method in class mops.presentation.form.FileQueryForm
 
hashCode() - Method in class mops.presentation.form.RolePermissionsForm
 
hasMember(String) - Method in class mops.persistence.group.GroupBuilder
Tests if the given user is already a member.
hasTag(String) - Method in class mops.persistence.file.FileInfo
Checks if the file is tagged with a specific tag.

I

id(Long) - Method in class mops.persistence.directory.DirectoryBuilder
Set id.
id(Long) - Method in class mops.persistence.file.FileInfoBuilder
Set id.
id(Long) - Method in class mops.persistence.group.GroupBuilder
Set id.
id(Long) - Method in class mops.persistence.permission.DirectoryPermissionsBuilder
Set id.
id(Directory) - Method in class mops.persistence.directory.DirectoryBuilder
Set id from existing Directory.
id(FileInfo) - Method in class mops.persistence.file.FileInfoBuilder
Set id from existing FileInfo.
id(Group) - Method in class mops.persistence.group.GroupBuilder
Set id from existing Group.
id(DirectoryPermissions) - Method in class mops.persistence.permission.DirectoryPermissionsBuilder
Set id from existing DirectoryPermissions.
ImpossibleException - Exception in mops.exception
Impossible error.
ImpossibleException(String) - Constructor for exception mops.exception.ImpossibleException
Create a new ImpossibleException.
index(KeycloakAuthenticationToken, Model) - Method in class mops.presentation.Material1Controller
Landing page.
init(GroupService, FileInfoService, FileRepository, DirectoryService) - Method in class mops.businesslogic.config.DummyDataSeeding
Initializes application runner.
INSTANCE - Static variable in class mops.businesslogic.file.query.FileQueryConverter
Singleton instance.
isAdmin() - Method in class mops.businesslogic.file.FileListEntry
Is the user an admin of the group.
isAllowedToDelete(String) - Method in class mops.persistence.permission.DirectoryPermissions
Checks if a role has deleting access.
isAllowedToRead(String) - Method in class mops.persistence.permission.DirectoryPermissions
Checks if a role has reading access.
isAllowedToWrite(String) - Method in class mops.persistence.permission.DirectoryPermissions
Checks if a role has writing access.
isAvailable(Instant) - Method in class mops.businesslogic.file.FileListEntry
Tests whether this file is available at the given time.
isAvailable(Instant) - Method in class mops.persistence.file.FileInfo
Tests whether this file is available at the given time.
isDelete() - Method in class mops.businesslogic.file.FileListEntry
Checks whether this file list entry can be deleted.
isDelete() - Method in class mops.businesslogic.security.UserPermission
Delete permission flag.
isDelete() - Method in class mops.presentation.form.RolePermissionsForm
Can delete.
isEdit() - Method in class mops.businesslogic.file.FileListEntry
Checks whether this file list entry can be edited.
isPrivileged() - Method in class mops.businesslogic.file.FileListEntry
Checks whether this file list entry can be accessed because the user is privileged (admin or owner).
isRead() - Method in class mops.businesslogic.file.FileListEntry
Checks whether this file list entry can be read.
isRead() - Method in class mops.businesslogic.security.UserPermission
Read permission flag.
isRead() - Method in class mops.presentation.form.RolePermissionsForm
Can read.
isRoot() - Method in class mops.persistence.directory.Directory
Checks whether this directory is a root directory.
isUserAdmin(Account, long) - Method in interface mops.businesslogic.security.SecurityService
Checks if user is has the admin role.
isUserAdmin(Account, long) - Method in class mops.businesslogic.security.SecurityServiceImpl
Checks if user is has the admin role.
isUserAdminInGroup(String, UUID) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Is a user admin in a group.
isUserInGroup(String, UUID) - Method in class mops.businesslogic.gruppenbildung.GruppenbildungsService
Is a user member in a group.
isWrite() - Method in class mops.businesslogic.security.UserPermission
Write permission flag.
isWrite() - Method in class mops.presentation.form.RolePermissionsForm
Can write.

K

KeycloakConfig - Class in mops.config
WORKAROUND for https://issues.redhat.com/browse/KEYCLOAK-11282.
KeycloakConfig() - Constructor for class mops.config.KeycloakConfig
 
keycloakConfigResolver() - Method in class mops.config.KeycloakConfig
Necessary keycloak config.

L

LatestEventId - Class in mops.persistence.event
Represents the latest event id.
LatestEventIdRepository - Interface in mops.persistence
Database connection for the latest event id.
LatestEventIdService - Class in mops.businesslogic.event
Service to interface with the latest event id.
LatestEventIdService(LatestEventIdRepository) - Constructor for class mops.businesslogic.event.LatestEventIdService
 
logout(HttpServletRequest) - Method in class mops.presentation.Material1Controller
Logout Route.

M

main(String[]) - Static method in class mops.Material1Application
Runs the SpringApplication.
Material1Application - Class in mops
Starts spring application.
Material1Application() - Constructor for class mops.Material1Application
 
Material1Controller - Class in mops.presentation
Controller for basic routes.
Material1Controller() - Constructor for class mops.presentation.Material1Controller
 
member(String, String) - Method in class mops.persistence.group.GroupBuilder
Add member.
MessagePresentationError - Class in mops.presentation.error
An error to be shown in the web template - based on a string message.
MessagePresentationError(String) - Constructor for class mops.presentation.error.MessagePresentationError
 
MethodSecurityConfig() - Constructor for class mops.config.SecurityConfig.MethodSecurityConfig
 
mops - package mops
Modulare Online Plattform für Studierende.
mops.businesslogic - package mops.businesslogic
Business Layer contains all services.
mops.businesslogic.config - package mops.businesslogic.config
Configuration for services.
mops.businesslogic.directory - package mops.businesslogic.directory
Services and utilities that work with directories.
mops.businesslogic.event - package mops.businesslogic.event
Service to interface with the latest event id repository.
mops.businesslogic.exception - package mops.businesslogic.exception
Exceptions thrown from business layer.
mops.businesslogic.file - package mops.businesslogic.file
Services and utilities that work with files.
mops.businesslogic.file.query - package mops.businesslogic.file.query
File search tools.
mops.businesslogic.group - package mops.businesslogic.group
Services and utilities that work with groups.
mops.businesslogic.gruppenbildung - package mops.businesslogic.gruppenbildung
Components that work with the Gruppenbildung REST-API.
mops.businesslogic.permission - package mops.businesslogic.permission
Services and utilities that work with permissions.
mops.businesslogic.prometheus - package mops.businesslogic.prometheus
Prometheus integration.
mops.businesslogic.search - package mops.businesslogic.search
Search for files.
mops.businesslogic.security - package mops.businesslogic.security
Services and utilities that work with security, permissions and authentication.
mops.businesslogic.time - package mops.businesslogic.time
Package for time querying services.
mops.config - package mops.config
Configuration of the application.
mops.exception - package mops.exception
Base Exceptions.
mops.persistence - package mops.persistence
Persistence layer.
mops.persistence.config - package mops.persistence.config
Persistence layer configuration.
mops.persistence.directory - package mops.persistence.directory
Metadata of directories database integration.
mops.persistence.event - package mops.persistence.event
Saves the latest event id.
mops.persistence.exception - package mops.persistence.exception
Exceptions thrown from persistence layer.
mops.persistence.file - package mops.persistence.file
Metadata of files database integration.
mops.persistence.group - package mops.persistence.group
Group aggregate.
mops.persistence.permission - package mops.persistence.permission
Directory Permission database integration.
mops.presentation - package mops.presentation
Presentation layer: contains all Controllers.
mops.presentation.error - package mops.presentation.error
Contains error messages to show in the error template.
mops.presentation.form - package mops.presentation.form
Objects that represent HTML forms.
mops.util - package mops.util
General static classes.
MopsException - Exception in mops.exception
Base exception for the application.
MopsException(String) - Constructor for exception mops.exception.MopsException
Create a new MopsException.
MopsException(String, Throwable) - Constructor for exception mops.exception.MopsException
Create a new MopsException.
MopsZipsException - Exception in mops.businesslogic.exception
Is thrown if something went wrong upon zipping.
MopsZipsException(String, Throwable) - Constructor for exception mops.businesslogic.exception.MopsZipsException
Is thrown if something went wrong upon zipping.

N

name(String) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add a file name.
name(String) - Method in class mops.persistence.directory.DirectoryBuilder
Set name.
name(String) - Method in class mops.persistence.file.FileInfoBuilder
Set name.
name(String) - Method in class mops.persistence.group.GroupBuilder
Set name.
NAME_COMPARATOR - Static variable in class mops.persistence.directory.Directory
Name Comparator.
NAME_COMPARATOR - Static variable in class mops.persistence.file.FileInfo
Name Comparator.
names(Iterable<String>) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add all file names.

O

of() - Static method in class mops.persistence.event.LatestEventId
Create a new latest event id container.
of(String, String, String, Set<String>) - Static method in class mops.businesslogic.security.Account
Create a new Account.
of(String, String, String...) - Static method in class mops.businesslogic.security.Account
Create a new Account.
of(String, String, Set<String>) - Static method in class mops.businesslogic.security.Account
Create a new Account.
of(DirectoryPermissions) - Static method in class mops.presentation.form.EditDirectoryForm
Creates a new EditDirectoryForm from an existing directory and permissions.
of(KeycloakAuthenticationToken) - Static method in class mops.businesslogic.security.Account
Create a new Account.
owner(String) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add an owner.
owner(String) - Method in class mops.persistence.file.FileInfoBuilder
Set owner.
owners(Iterable<String>) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add all owners.

P

parent(long) - Method in class mops.persistence.directory.DirectoryBuilder
Set parent id.
parent(Directory) - Method in class mops.persistence.directory.DirectoryBuilder
Set parent.
permissions(long) - Method in class mops.persistence.directory.DirectoryBuilder
Set permissons id.
permissions(DirectoryPermissions) - Method in class mops.persistence.directory.DirectoryBuilder
Set permissons id.
PermissionService - Interface in mops.businesslogic.permission
Handles directory permissions.
PermissionServiceImpl - Class in mops.businesslogic.permission
Implementation for the permissions service.
PermissionServiceImpl(DirectoryPermissionsRepository) - Constructor for class mops.businesslogic.permission.PermissionServiceImpl
 
PresentationError - Interface in mops.presentation.error
An error to be shown in the web template.
PrometheusComponent - Class in mops.businesslogic.prometheus
Prometheus integration.
PrometheusComponent(GroupService, FileInfoService, DirectoryService, MeterRegistry) - Constructor for class mops.businesslogic.prometheus.PrometheusComponent
Constructor.

R

ReadAccessPermissionException - Exception in mops.businesslogic.exception
Is thrown when an user tries to read something which he/she/it does not have the permission for.
ReadAccessPermissionException(String) - Constructor for exception mops.businesslogic.exception.ReadAccessPermissionException
Is thrown when an user tries to read something which he/she/it does not have the permission for.
renameDirectory(Account, long, String) - Method in interface mops.businesslogic.directory.DirectoryService
renames a directory.
renameDirectory(Account, long, String) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
renames a directory.
renameFile(Account, long, String) - Method in interface mops.businesslogic.file.FileService
Renames a file.
renameFile(Account, long, String) - Method in class mops.businesslogic.file.FileServiceImpl
Renames a file.
renameFile(RedirectAttributes, KeycloakAuthenticationToken, long, String) - Method in class mops.presentation.FileController
Renames a file.
renameFolder(RedirectAttributes, KeycloakAuthenticationToken, long, Optional<Long>, String) - Method in class mops.presentation.DirectoryController
Renames a directory.
resolveException(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class mops.presentation.ExceptionController
RolePermissionsForm - Class in mops.presentation.form
Permissions form wrapper.
RolePermissionsForm() - Constructor for class mops.presentation.form.RolePermissionsForm
 

S

saveDirectory(Directory) - Method in interface mops.businesslogic.directory.DirectoryService
Internal use only: possible security flaw!.
saveDirectory(Directory) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Internal use only: possible security flaw!.
saveFile(InputStream, long, String, long) - Method in class mops.persistence.FileRepository
Saves an input stream with meta information.
saveFile(Account, long, MultipartFile, Set<String>) - Method in interface mops.businesslogic.file.FileService
Saves a file.
saveFile(Account, long, MultipartFile, Set<String>) - Method in class mops.businesslogic.file.FileServiceImpl
Saves a file.
saveFile(MultipartFile, long) - Method in class mops.persistence.FileRepository
Saves a file.
saveFileInfo(FileInfo) - Method in interface mops.businesslogic.file.FileInfoService
Save file to database.
saveFileInfo(FileInfo) - Method in class mops.businesslogic.file.FileInfoServiceImpl
Save file to database.
saveGroup(Group) - Method in interface mops.businesslogic.group.GroupService
Save the given group.
saveGroup(Group) - Method in class mops.businesslogic.group.GroupServiceImpl
Save the given group.
saveLatestEventId(LatestEventId) - Method in class mops.businesslogic.event.LatestEventIdService
Saves the given latest event id.
savePermissions(DirectoryPermissions) - Method in interface mops.businesslogic.permission.PermissionService
Save permissions of directory.
savePermissions(DirectoryPermissions) - Method in class mops.businesslogic.permission.PermissionServiceImpl
Save permissions of directory.
SchedulingConfig - Class in mops.config
Configuration for scheduled tasks.
SchedulingConfig() - Constructor for class mops.config.SchedulingConfig
 
searchFilesInGroup(RedirectAttributes, KeycloakAuthenticationToken, long, FileQueryForm) - Method in class mops.presentation.GroupController
Searches are group for matching files.
searchFolder(Account, long, FileQuery) - Method in interface mops.businesslogic.search.SearchService
Searches a folder for files.
searchFolder(Account, long, FileQuery) - Method in class mops.businesslogic.search.SearchServiceImpl
Searches a folder for files.
searchFolder(RedirectAttributes, KeycloakAuthenticationToken, Model, long, FileQueryForm) - Method in class mops.presentation.DirectoryController
Searches a folder for files.
SearchService - Interface in mops.businesslogic.search
Service for searching.
SearchServiceImpl - Class in mops.businesslogic.search
Service implementation for searching.
SearchServiceImpl(FileService, DirectoryService) - Constructor for class mops.businesslogic.search.SearchServiceImpl
 
SecurityConfig - Class in mops.config
Security configuration for keycloak.
SecurityConfig() - Constructor for class mops.config.SecurityConfig
 
SecurityConfig.MethodSecurityConfig - Class in mops.config
Declaring this class enables us to use the Spring specific.
SecurityService - Interface in mops.businesslogic.security
Checks roles permissions.
SecurityServiceImpl - Class in mops.businesslogic.security
Checks roles permissions.
SecurityServiceImpl(GroupService, PermissionService) - Constructor for class mops.businesslogic.security.SecurityServiceImpl
 
serviceAccountRestTemplate() - Method in class mops.config.KeycloakConfig
Creates a keycloak secured keycloak restTemplate.
sessionAuthenticationStrategy() - Method in class mops.config.SecurityConfig
provides a SessionAuthenticationStrategy.
setAccessKey(String) - Method in class mops.persistence.config.FileRepositoryConfig
MinIO access key.
setBucketName(String) - Method in class mops.persistence.config.FileRepositoryConfig
Name of the bucket.
setCourse(String) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Course.
setDelete(boolean) - Method in class mops.presentation.form.RolePermissionsForm
Can delete.
setDirectoryId(long) - Method in class mops.persistence.file.FileInfo
Id of the Directory this file resides in.
setEventId(long) - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
Current event timestamp id.
setEventId(long) - Method in class mops.persistence.event.LatestEventId
Event Id.
setGroupDAOs(List<GroupDTO>) - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
List of groups.
setGroupDescription(String) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group description.
setGroupId(UUID) - Method in class mops.persistence.group.Group
Database id.
setGroupId(UUID) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group id.
setGroupName(String) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group name.
setGroupOwner(long) - Method in class mops.persistence.directory.Directory
Id of the group which this Directory belongs to.
setHost(String) - Method in class mops.persistence.config.FileRepositoryConfig
Host of the MinIO server.
setId(Long) - Method in class mops.persistence.event.LatestEventId
Database Id.
setId(Long) - Method in class mops.persistence.group.Group
Database id.
setMembers(Set<GroupMember>) - Method in class mops.persistence.group.Group
File tags.
setName(String) - Method in class mops.persistence.directory.Directory
Directory name.
setName(String) - Method in class mops.persistence.file.FileInfo
File name.
setName(String) - Method in class mops.persistence.group.Group
Group name.
setNames(String[]) - Method in class mops.presentation.form.FileQueryForm
List of file names to search for.
setOwner(String) - Method in class mops.persistence.file.FileInfo
Username of the owner.
setOwners(String[]) - Method in class mops.presentation.form.FileQueryForm
List of user names of file owners to search for.
setParentId(Long) - Method in class mops.persistence.directory.Directory
Id of the Directory above this one.
setPermissions(Set<DirectoryPermissionEntry>) - Method in class mops.persistence.permission.DirectoryPermissions
The permission entries.
setPermissionsId(long) - Method in class mops.persistence.directory.Directory
Id of the DirectoryPermissions object which stores the access permission for this Directory tree.
setPort(int) - Method in class mops.persistence.config.FileRepositoryConfig
Port of the MinIO server.
setRead(boolean) - Method in class mops.presentation.form.RolePermissionsForm
Can read.
setRole(String) - Method in class mops.presentation.form.RolePermissionsForm
Role.
setRolePermissions(List<RolePermissionsForm>) - Method in class mops.presentation.form.EditDirectoryForm
Role Permissions.
setSecretKey(String) - Method in class mops.persistence.config.FileRepositoryConfig
MinIO secret key.
setSize(long) - Method in class mops.persistence.file.FileInfo
Size in bytes.
setStatus(StatusDTO) - Method in class mops.businesslogic.gruppenbildung.GroupDTO
Group status.
setTags(Set<FileTag>) - Method in class mops.persistence.file.FileInfo
File tags.
setTags(String[]) - Method in class mops.presentation.form.FileQueryForm
List of file tags to search for.
setType(String) - Method in class mops.persistence.file.FileInfo
File type.
setTypes(String[]) - Method in class mops.presentation.form.FileQueryForm
List of file types to search for.
setUserName(String) - Method in class mops.businesslogic.gruppenbildung.UserDTO
User name.
setWrite(boolean) - Method in class mops.presentation.form.RolePermissionsForm
Can write.
showFile(KeycloakAuthenticationToken, long) - Method in class mops.presentation.FileController
Retrieves a file preview.
showFolderContent(RedirectAttributes, KeycloakAuthenticationToken, Model, long) - Method in class mops.presentation.DirectoryController
Shows the content of a folder (files and sub folders).
size(long) - Method in class mops.persistence.file.FileInfoBuilder
Set size.
StatusDTO - Enum in mops.businesslogic.gruppenbildung
Group status enum.
StorageException - Exception in mops.persistence.exception
Custom Exception for errors in the MinIO File Storage.
StorageException(String) - Constructor for exception mops.persistence.exception.StorageException
Create a new StorageException.
StorageException(String, Throwable) - Constructor for exception mops.persistence.exception.StorageException
Create a new StorageException.
StorageLimitationException - Exception in mops.businesslogic.exception
Is thrown we a storage limitation is violated.
StorageLimitationException(String) - Constructor for exception mops.businesslogic.exception.StorageLimitationException
Is thrown we a storage limitation is violated.

T

tag(String) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add a tag.
tag(String) - Method in class mops.persistence.file.FileInfoBuilder
Add tag.
tags(Iterable<String>) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add all tags.
tags(Iterable<String>) - Method in class mops.persistence.file.FileInfoBuilder
Add tags.
tags(String...) - Method in class mops.persistence.file.FileInfoBuilder
Add tags.
TimeService - Interface in mops.businesslogic.time
Queries the time.
TimeServiceImpl - Class in mops.businesslogic.time
Queries the time.
TimeServiceImpl() - Constructor for class mops.businesslogic.time.TimeServiceImpl
 
topIndex() - Method in class mops.presentation.Material1Controller
Top Index Route.
toQuery() - Method in class mops.presentation.form.FileQueryForm
Create FileQuery from FileQueryForm.
toString() - Method in class mops.businesslogic.file.FileContainer
 
toString() - Method in class mops.businesslogic.file.FileListEntry
 
toString() - Method in class mops.businesslogic.file.query.FileQuery
 
toString() - Method in class mops.businesslogic.group.GroupRootDirWrapper
 
toString() - Method in class mops.businesslogic.gruppenbildung.GroupDTO
 
toString() - Method in class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
 
toString() - Method in class mops.businesslogic.gruppenbildung.UserDTO
 
toString() - Method in class mops.businesslogic.security.Account
 
toString() - Method in class mops.businesslogic.security.UserPermission
 
toString() - Method in class mops.persistence.directory.Directory
 
toString() - Method in class mops.persistence.event.LatestEventId
 
toString() - Method in class mops.persistence.file.FileInfo
 
toString() - Method in class mops.persistence.group.Group
 
toString() - Method in class mops.persistence.permission.DirectoryPermissions
 
toString() - Method in class mops.presentation.error.ExceptionPresentationError
 
toString() - Method in class mops.presentation.error.MessagePresentationError
 
toString() - Method in class mops.presentation.form.EditDirectoryForm
 
toString() - Method in class mops.presentation.form.FileQueryForm
 
toString() - Method in class mops.presentation.form.RolePermissionsForm
 
type(String) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add a file type.
type(String) - Method in class mops.persistence.file.FileInfoBuilder
Set type.
types(Iterable<String>) - Method in class mops.businesslogic.file.query.FileQueryBuilder
Add all file types.

U

updateDatabase() - Method in class mops.businesslogic.gruppenbildung.GroupUpdater
Scheduled function to update our database the external group event stream.
UpdatedGroupsDTO - Class in mops.businesslogic.gruppenbildung
Updated groups since the last time stamp.
UpdatedGroupsDTO() - Constructor for class mops.businesslogic.gruppenbildung.UpdatedGroupsDTO
 
updateGauges() - Method in class mops.businesslogic.prometheus.PrometheusComponent
Update all the gauges.
updatePermission(Account, long, DirectoryPermissions) - Method in interface mops.businesslogic.directory.DirectoryService
Replaces the permissions for a directory and all its parents and children (which use the same permissions object) with the given ones.
updatePermission(Account, long, DirectoryPermissions) - Method in class mops.businesslogic.directory.DirectoryServiceImpl
Replaces the permissions for a directory and all its parents and children (which use the same permissions object) with the given ones.
uploadFile(RedirectAttributes, KeycloakAuthenticationToken, long, MultipartFile) - Method in class mops.presentation.DirectoryController
Uploads a file.
UserDTO - Class in mops.businesslogic.gruppenbildung
User.
UserDTO() - Constructor for class mops.businesslogic.gruppenbildung.UserDTO
 
UserPermission - Class in mops.businesslogic.security
Wrapper for permission of one user in one directory.
UserPermission(boolean, boolean, boolean) - Constructor for class mops.businesslogic.security.UserPermission
 

V

valueOf(String) - Static method in enum mops.businesslogic.gruppenbildung.StatusDTO
Returns the enum constant of this type with the specified name.
values() - Static method in enum mops.businesslogic.gruppenbildung.StatusDTO
Returns an array containing the constants of this enum type, in the order they are declared.

W

WriteAccessPermissionException - Exception in mops.businesslogic.exception
Is thrown when an user tries to write to a directory for which he/she/it does not have writing permissions.
WriteAccessPermissionException(String) - Constructor for exception mops.businesslogic.exception.WriteAccessPermissionException
Is thrown when an user tries to write to a directory for which he/she/it does not have writing permissions.

Z

zipDirectory(Account, long, OutputStream) - Method in interface mops.businesslogic.directory.ZipService
Zips a directory and all its contents.
zipDirectory(Account, long, OutputStream) - Method in class mops.businesslogic.directory.ZipServiceImpl
Zips a directory and all its contents.
zipDirectory(KeycloakAuthenticationToken, long) - Method in class mops.presentation.DirectoryController
Download a directory as zip.
ZipService - Interface in mops.businesslogic.directory
Zips a directory and all its sub content.
ZipServiceImpl - Class in mops.businesslogic.directory
Zips content from File Storage.
ZipServiceImpl(DirectoryService, FileService) - Constructor for class mops.businesslogic.directory.ZipServiceImpl
 
A B C D E F G H I K L M N O P R S T U V W Z 
All Classes All Packages