public static GroupEntry createGroupEntry(URI folder, boolean recursive, boolean autoUpdate, XmlBaseContext context) throws IOException { return new GroupEntry(getIdString(ID_PREFIX, folder, recursive, autoUpdate), context, Prefer.PUBLIC, folder); }
public static GroupEntry createGroupEntry(URI folder, boolean recursive, boolean autoUpdate, XmlBaseContext context) throws IOException { return new GroupEntry(getIdString(ID_PREFIX, folder, recursive, autoUpdate), context, Prefer.PUBLIC, folder); }
public static GroupEntry createGroupEntry(URI folder, boolean recursive, boolean autoUpdate, XmlBaseContext context) throws IOException { return new GroupEntry(getIdString(ID_PREFIX, folder, recursive, autoUpdate), context, Prefer.PUBLIC, folder); }
@Override public boolean update(Entry entry) { String dir = LibraryUtilities.getStringProperty(entry, FolderGroupManager.DIR_PROP); boolean recursive = LibraryUtilities.getBooleanProperty(entry, FolderGroupManager.RECURSIVE_PROP, true); setAlgorithms(new OntologyNameAlgorithm()); super.update(entry); StringBuffer initializedId = new StringBuffer(ID_PREFIX); LibraryUtilities.addPropertyValue(initializedId, FolderGroupManager.DIR_PROP, dir); entry.setId(getIdString(getIdPrefix(), dir, recursive, false)); // turn off autoupdate return true; }
@Override public boolean update(Entry entry) { String dir = LibraryUtilities.getStringProperty(entry, FolderGroupManager.DIR_PROP); boolean recursive = LibraryUtilities.getBooleanProperty(entry, FolderGroupManager.RECURSIVE_PROP, true); setAlgorithms(new OntologyNameAlgorithm()); super.update(entry); StringBuffer initializedId = new StringBuffer(ID_PREFIX); LibraryUtilities.addPropertyValue(initializedId, FolderGroupManager.DIR_PROP, dir); entry.setId(getIdString(getIdPrefix(), dir, recursive, false)); // turn off autoupdate return true; }
@Override public boolean update(Entry entry) { String dir = LibraryUtilities.getStringProperty(entry, FolderGroupManager.DIR_PROP); boolean recursive = LibraryUtilities.getBooleanProperty(entry, FolderGroupManager.RECURSIVE_PROP, true); setAlgorithms(new OntologyNameAlgorithm()); super.update(entry); StringBuffer initializedId = new StringBuffer(ID_PREFIX); LibraryUtilities.addPropertyValue(initializedId, FolderGroupManager.DIR_PROP, dir); entry.setId(getIdString(getIdPrefix(), dir, recursive, false)); // turn off autoupdate return true; }