DocumentNotFound
691692693694695696697698
FolderImpl folder = getNodeFolder(Folder.PATH_SEPARATOR); return folder.getPageSecurity(); } catch (FolderNotFoundException fnfe) { throw new DocumentNotFoundException(fnfe.getMessage()); } }
597598599600601602603604605606607
{ // get link Link link = (Link) getAllNodes().subset(Link.DOCUMENT_TYPE).get(name); if (link == null) { throw new DocumentNotFoundException("Jetspeed PSML link not found: " + name); } // check access if (checkAccess) {
642643644645646647648649650
// get pageSecurity PageSecurity pageSecurity = (PageSecurity) getAllNodes( false ).subset(PageSecurity.DOCUMENT_TYPE).get(PageSecurity.DOCUMENT_TYPE); if (pageSecurity == null) { throw new DocumentNotFoundException("Jetspeed PSML page security not found: " + PageSecurity.DOCUMENT_TYPE); } return pageSecurity; }