com.cleverpine.viravaspringhelper.dto.ResourceIdsAccess 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 com.cleverpine.viravaspringhelper.core.BaseResource;
import java.util.Collections;
import java.util.List;
public class ResourceIdsAccess {
private final BaseResource resource;
private final List idsAccess;
private final boolean canAccessAll;
public ResourceIdsAccess(BaseResource resource, List idsAccess, boolean canAccessAll) {
this.resource = resource;
this.idsAccess = idsAccess;
this.canAccessAll = canAccessAll;
}
public BaseResource getResource() {
return resource;
}
public List getIdsAccess() {
return Collections.unmodifiableList(idsAccess);
}
public boolean canAccessAll() {
return canAccessAll;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy