|
|
@ -5,6 +5,10 @@ import com.fr.design.actions.UpdateAction; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Created by XiaXiang on 2017/5/24. |
|
|
|
* Created by XiaXiang on 2017/5/24. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* action对象 |
|
|
|
|
|
|
|
*/ |
|
|
|
public class UpdateActionModel { |
|
|
|
public class UpdateActionModel { |
|
|
|
private String parentName; |
|
|
|
private String parentName; |
|
|
|
private String actionName; |
|
|
|
private String actionName; |
|
|
@ -16,6 +20,10 @@ public class UpdateActionModel { |
|
|
|
this.actionName = action.getName(); |
|
|
|
this.actionName = action.getName(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取上一层级菜单name |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
public String getParentName() { |
|
|
|
public String getParentName() { |
|
|
|
return parentName; |
|
|
|
return parentName; |
|
|
|
} |
|
|
|
} |
|
|
@ -24,6 +32,10 @@ public class UpdateActionModel { |
|
|
|
this.parentName = parentName; |
|
|
|
this.parentName = parentName; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取action |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
public UpdateAction getAction() { |
|
|
|
public UpdateAction getAction() { |
|
|
|
return action; |
|
|
|
return action; |
|
|
|
} |
|
|
|
} |
|
|
@ -32,6 +44,10 @@ public class UpdateActionModel { |
|
|
|
this.action = action; |
|
|
|
this.action = action; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取actionName |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
public String getActionName() { |
|
|
|
public String getActionName() { |
|
|
|
return actionName; |
|
|
|
return actionName; |
|
|
|
} |
|
|
|
} |
|
|
|