org.apache.lenya.cms.publication.Document org.apache.lenya.cms.publication.Publication String documentId = + "/" + + "/authoring" + + "_" + ; String area = ; Object documentObject = ; Document document = null; String visible = null; if (documentObject != null && !"".equals(documentObject)) { document = (Document) documentObject; visible = document.getPublication().getId() + ":" + document.getArea() + ":" + document.getUUID() + ":" + document.getLanguage() + ":visibleInNav" ; } boolean isDocument = false; try { if (document != null && document.exists()) { isDocument = true; } } catch (Exception e) { throw new ProcessingException(e); } New Language Version Remove Language Version Change Password Logout Edit Metadata Edit Navigation Title Cut Copy Paste Rename URL Edit Navigation Title visible Visible in Navigation Move Up Move Down Delete Archive Restore workflow.submit workflow.reject workflow.publish workflow.deactivate workflow.multiWorkflow Documentation Wiki /index.htmlApache Lenya Homepage /about.htmlAbout Apache Lenya