com.cleverpine.viravaspringhelper.dto.Scope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cp-virava-spring-helper Show documentation
Show all versions of cp-virava-spring-helper Show documentation
Library for Spring Framework projects using Virava
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