Class EntityHelper
- java.lang.Object
-
- org.molgenis.data.security.permission.EntityHelper
-
@Component public class EntityHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringENTITY_PREFIXstatic StringPLUGINstatic StringSYS_PLUGIN
-
Constructor Summary
Constructors Constructor Description EntityHelper(DataService dataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckEntityExists(org.springframework.security.acls.model.ObjectIdentity objectIdentity)voidcheckEntityTypeExists(String typeId)voidcheckIsNotSystem(String typeId)StringgetLabel(String typeId)StringgetLabel(String typeId, String untypedIdentifier)LabelledObjectIdentitygetLabelledObjectIdentity(org.springframework.security.acls.model.ObjectIdentity objectIdentity)org.springframework.security.acls.model.ObjectIdentitygetObjectIdentity(String classId, String objectIdentifier)
-
-
-
Field Detail
-
ENTITY_PREFIX
public static final String ENTITY_PREFIX
- See Also:
- Constant Field Values
-
PLUGIN
public static final String PLUGIN
- See Also:
- Constant Field Values
-
SYS_PLUGIN
public static final String SYS_PLUGIN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntityHelper
public EntityHelper(DataService dataService)
-
-
Method Detail
-
getObjectIdentity
public org.springframework.security.acls.model.ObjectIdentity getObjectIdentity(String classId, String objectIdentifier)
-
getLabelledObjectIdentity
public LabelledObjectIdentity getLabelledObjectIdentity(org.springframework.security.acls.model.ObjectIdentity objectIdentity)
-
checkEntityExists
public void checkEntityExists(org.springframework.security.acls.model.ObjectIdentity objectIdentity)
-
checkEntityTypeExists
public void checkEntityTypeExists(String typeId)
-
checkIsNotSystem
public void checkIsNotSystem(String typeId)
-
-