setStorage(theStorage);\r
}\r
\r
- public void update() throws StorageObjectFailure {\r
- super.update();\r
- try {\r
- theStorageObject.executeUpdate("update content set is_produced='0' where exists(select * from content_x_media where to_content=content.id and to_media=" + getId()+")");\r
- }\r
- catch (SQLException e) {\r
- throwStorageObjectFailure(e, "EntityOther :: update :: failed!! ");\r
- }\r
- }\r
-\r
public void setValues(Map theStringValues) {\r
if (theStringValues != null) {\r
if (!theStringValues.containsKey("is_published"))\r