Examples of defineBlankFields()


Examples of controllers.OptimisticLockingCRUD.CustomizableObjectType.defineBlankFields()

@CRUD.For(MyBook.class)
public class MyBookCustomCrud extends OptimisticLockingCRUD {
    public static CustomizableObjectType createObjectType(Class<? extends Model> entityClass) {
        final CustomizableObjectType type = OptimisticLockingCRUD.createObjectType(entityClass);
        type.defineBlankFields("excludedProperty", "text", "version");
        type.defineShowFields("excludedProperty", "text", "version");
        return type;
    }
}
View Full Code Here

Examples of controllers.OptimisticLockingCRUD.CustomizableObjectType.defineBlankFields()

@CRUD.For(MyBook.class)
public class MyBookCustomCrud extends OptimisticLockingCRUD {
    public static CustomizableObjectType createObjectType(Class<? extends Model> entityClass) {
        final CustomizableObjectType type = OptimisticLockingCRUD.createObjectType(entityClass);
        type.defineBlankFields("excludedProperty", "text", "version");
        type.defineShowFields("excludedProperty", "text", "version");
        return type;
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.