RestOptions

public class RestOptions

The RestOptions class representing rest options of given entity. This class is related with table in database with the same name.

Constructors

RestOptions

public RestOptions()

RestOptions

public RestOptions(Entity entity)

Methods

copy

public RestOptions copy()

getEntity

public Entity getEntity()

getFields

public List<Field> getFields()

getId

public Long getId()

getLookups

public List<Lookup> getLookups()

isAllowCreate

public boolean isAllowCreate()

isAllowDelete

public boolean isAllowDelete()

isAllowRead

public boolean isAllowRead()

isAllowUpdate

public boolean isAllowUpdate()

setAllowCreate

public void setAllowCreate(boolean allowCreate)

setAllowDelete

public void setAllowDelete(boolean allowDelete)

setAllowRead

public void setAllowRead(boolean allowRead)

setAllowUpdate

public void setAllowUpdate(boolean allowUpdate)

setEntity

public void setEntity(Entity entity)

setId

public void setId(Long id)

toDto

public RestOptionsDto toDto()

update

public final void update(RestOptionsDto restOptionsDto)