InstanceSecurityRestriction

public class InstanceSecurityRestriction

Represents a restriction on entity instances

Methods

isByCreator

public boolean isByCreator()
Returns:true, if only creators of an instance should be able to access it; false otherwise

isByOwner

public boolean isByOwner()
Returns:true, if only owners of an instance should be able to access it; false otherwise

isEmpty

public boolean isEmpty()
Returns:true, if access to the instance is not limited to creator or owner; false otherwise

setByCreator

public void setByCreator(boolean byCreator)

setByOwner

public void setByOwner(boolean byOwner)