XarEntryType.XarPackage.addPackageFile(LocalDocumentReference, int) insteadXarEntry.getEntryType().XarPackage.setPackagePreserveVersion(boolean) insteadXarEntry which control the behavior to adopt while upgrading, editing, etc.XarEntryType instance depending on the name and the context.Copyright © 2004–2018 XWiki. All rights reserved.