butler.client.record
Interface EditController

All Known Implementing Classes:
EditController.BaseImpl

public interface EditController

Interface that tells if an column is editable or not.

Author:
Fredrik Bertilsson

Nested Class Summary
static class EditController.BaseImpl
           
 
Method Summary
 boolean isColumnEditable(Column col, Record rec)
           
 boolean isForeignKeyEditable(ForeignKey fk, Record rec)
           
 boolean isNullable(Column col, Record rec)
           
 void validate(java.lang.Object value, Column col, Record rec)
           
 

Method Detail

isColumnEditable

boolean isColumnEditable(Column col,
                         Record rec)
                         throws java.lang.Exception
Throws:
java.lang.Exception

isForeignKeyEditable

boolean isForeignKeyEditable(ForeignKey fk,
                             Record rec)
                             throws java.lang.Exception
Throws:
java.lang.Exception

isNullable

boolean isNullable(Column col,
                   Record rec)
                   throws java.lang.Exception
Throws:
java.lang.Exception

validate

void validate(java.lang.Object value,
              Column col,
              Record rec)
              throws java.lang.Exception
Throws:
java.lang.Exception