Adding changes for Deepak to review.
This commit is contained in:
parent
35deaebd34
commit
7b93ff82fc
1 changed files with 10 additions and 0 deletions
|
@ -823,10 +823,16 @@ public class EditConfiguration {
|
|||
this.varNameForObject = varName;
|
||||
}
|
||||
|
||||
/**If this is set to true, then dependent resources should be deleted on edits that
|
||||
* remove the parent resource.
|
||||
*/
|
||||
public boolean isUseDependentResourceDelete() {
|
||||
return useDependentResourceDelete;
|
||||
}
|
||||
|
||||
/**If this is set to true, then dependent resources should be deleted on edits that
|
||||
* remove the parent resource.
|
||||
*/
|
||||
public void setUseDependentResourceDelete(boolean useDependentResourceDelete) {
|
||||
this.useDependentResourceDelete = useDependentResourceDelete;
|
||||
}
|
||||
|
@ -965,4 +971,8 @@ public class EditConfiguration {
|
|||
public void setSubmitToUrl(String submitToUrl) {
|
||||
this.submitToUrl = submitToUrl;
|
||||
}
|
||||
|
||||
public boolean isUpdate(){
|
||||
return this.getObject() != null && this.getObject().trim().length() > 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue