public class DocumentFacade implements HistoryFacade {
- private OpenObject owner;
+ private AbstractOpenObject owner;
private Publication me;
private Document my; // Published document
private ProgressState state; // Document state
// Constructors
// ==============================================================================================================================
- public DocumentFacade(OpenObject opened, Publication represented,
+ public DocumentFacade(AbstractOpenObject opened, Publication represented,
ProjectSettingsService projectSettings,
PublicationService publicationService) {
// ------------------------------------------------------------------
* @param represented
* the represented history document
*/
- private DocumentFacade(OpenObject opened, Document represented,
+ private DocumentFacade(AbstractOpenObject opened, Document represented,
ProjectSettingsService projectSettings,
PublicationService publicationService) {
// ----------------------------------------------------------------
for (Iterator<Publication> i = relist.iterator(); i.hasNext();) {
Publication used = i.next();
long index = used.getIndex();
- DocumentFacade facade = OpenObject.docpres.get(index);
+ DocumentFacade facade = AbstractOpenObject.docpres.get(index);
if (facade == null) {
facade = new DocumentFacade(owner, used, getProjectSettings(), getPublicationService());
- OpenObject.docpres.put(index, facade);
+ AbstractOpenObject.docpres.put(index, facade);
}
uses.add(facade);
}