All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cleverpine.viravaspringhelper.dto.Scope Maven / Gradle / Ivy

There is a newer version: 3.1.7
Show newest version
package com.cleverpine.viravaspringhelper.dto;

import java.util.List;

public enum Scope {
    CREATE(ScopeType.CREATE),
    READ(ScopeType.READ),
    UPDATE(ScopeType.UPDATE),
    DELETE(ScopeType.DELETE),
    CRU(ScopeType.CREATE, ScopeType.READ, ScopeType.UPDATE),
    CRUD(ScopeType.CREATE, ScopeType.READ, ScopeType.UPDATE, ScopeType.DELETE);

    private final List scopeTypes;

    Scope(ScopeType... scopeTypes) {
        this.scopeTypes = List.of(scopeTypes);
    }

    public List getScopeTypes() {
        return scopeTypes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy