Hello All,
I am new in adf and using jdev 11.1.2.3.
I am trying to get Entity State by calling getEntityState(). I am sure it return the state of entity not the row in view object. Here is my code to get state
| public String getRowStatus(Row row) { |
| if(row==null){ |
| System.out.println("************** Row is null *********************** "); |
| return "Unmodified"; |
| } |
| ViewRowImpl rwImpl = (ViewRowImpl)row; |
| |
| String rwStatus = translateStatusToString(rwImpl.getEntity(0).getEntityState()); |
| return rwStatus; |
| } |
I am passing current row to row param.
This is returning status of current row not entity. But on some other modules it is return status of entity. I am confused which one is correct.
Any suggestion ....
Thanks