removed MARK AS READ FROM HL

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@112257 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-02-24 14:30:05 +00:00
parent cf30710734
commit 42c83343b4
2 changed files with 12 additions and 10 deletions

View File

@ -2600,9 +2600,10 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
FileModel file = explorerPanel.getAsycTreePanel().getFileModelByIdentifier(itemId);
if(file!=null){ //FILE CAN NOT LOADED IN TREE
file.setMarkAsRead(bool);
}
//MARK AS READ WAS REMOVED FROM HL
// if(file!=null){ //FILE CAN NOT LOADED IN TREE
// file.setMarkAsRead(bool);
// }
}
public AsyncCallback<WindowOpenParameter> downloadHandlerCallback = new AsyncCallback<WindowOpenParameter>() {

View File

@ -62,7 +62,7 @@ public class FileModel extends BaseModelData implements Serializable {
}
private void initDefaultProperties(){
setMarkAsRead(false);
// setMarkAsRead(false);
setShortcutCategory("");
setShareable(true);
}
@ -148,12 +148,13 @@ public class FileModel extends BaseModelData implements Serializable {
set(ConstantsExplorer.OWNERFULLNAME, fullName);
}
public void setMarkAsRead(boolean mark){
set(ConstantsExplorer.MARKASREAD, mark);
}
public boolean isMarkAsRead(){
return (Boolean) get(ConstantsExplorer.MARKASREAD);
}
// public void setMarkAsRead(boolean mark){
// set(ConstantsExplorer.MARKASREAD, mark);
// }
// public boolean isMarkAsRead(){
// return (Boolean) get(ConstantsExplorer.MARKASREAD);
// }
//TODO Accounting