(Link link, String name, String value)
| 1736 | } |
| 1737 | |
| 1738 | public static void setOption(Link link, String name, String value) { |
| 1739 | LinkOption option = ORMManager.get(LinkOption.class).getFirstAnd( |
| 1740 | "link_id", "=", link, "name", "=", name); |
| 1741 | if (option == null) { |
| 1742 | option = new LinkOption(link, name, value); |
| 1743 | } else { |
| 1744 | option.setValue(value); |
| 1745 | } |
| 1746 | ORMManager.get(LinkOption.class).saveOrUpdate(option); |
| 1747 | } |
| 1748 | |
| 1749 | } |
no test coverage detected