Class PermissionModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.PermissionModel
-
public class PermissionModel extends java.lang.Object
Permission model POJO
-
-
Constructor Summary
Constructors Constructor Description PermissionModel()
Default constructorPermissionModel(int tenant, java.util.Set<java.lang.String> accessContract, java.util.Set<java.lang.String> ingestContract)
Constructor of permission
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getAccessContract()
java.util.Set<java.lang.String>
getIngestContract()
java.lang.Integer
getTenant()
void
setAccessContract(java.util.Set<java.lang.String> accessContract)
void
setIngestContract(java.util.Set<java.lang.String> ingestContract)
void
setTenant(java.lang.Integer tenant)
-
-
-
Constructor Detail
-
PermissionModel
public PermissionModel(int tenant, java.util.Set<java.lang.String> accessContract, java.util.Set<java.lang.String> ingestContract)
Constructor of permission- Parameters:
tenant
-accessContract
-ingestContract
-
-
PermissionModel
public PermissionModel()
Default constructor
-
-
Method Detail
-
getTenant
public java.lang.Integer getTenant()
-
setTenant
public void setTenant(java.lang.Integer tenant)
-
getAccessContract
public java.util.Set<java.lang.String> getAccessContract()
-
setAccessContract
public void setAccessContract(java.util.Set<java.lang.String> accessContract)
-
getIngestContract
public java.util.Set<java.lang.String> getIngestContract()
-
setIngestContract
public void setIngestContract(java.util.Set<java.lang.String> ingestContract)
-
-