官术网_书友最值得收藏!

Chapter 2. Dealing with Basics: Entity Objects

In this chapter, we will cover:

  • Using a custom property to populate a sequence attribute
  • Overriding doDML() to populate an attribute with a gapless sequence
  • Creating and applying property sets
  • Using getPostedAttribute() to determine the posted attribute's value
  • Overriding remove() to delete associated child entities
  • Overriding remove() to delete a parent entity in an association
  • Using a method validator based on a view object accessor
  • Using Groovy expressions to resolve validation error message tokens
  • Using doDML() to enforce a detail record for a new master record
主站蜘蛛池模板: 纳雍县| 阜康市| 定日县| 绥中县| 荃湾区| 双桥区| 漳浦县| 嵊泗县| 长子县| 延长县| 登封市| 山西省| 清新县| 长宁县| 鄂托克前旗| 岳阳市| 岚皋县| 建瓯市| 呈贡县| 桐城市| 岐山县| 白山市| 资阳市| 昆明市| 凯里市| 沾益县| 奎屯市| 眉山市| 河津市| 德化县| 怀远县| 罗定市| 新余市| 宝丰县| 双城市| 沙河市| 玉溪市| 南江县| 鄄城县| 宁武县| 甘孜|