if (eFolder != null) parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID);
if (eFolder != null) { String path = eFolder.getAttribute(MailService.A_PATH, null); if (path != null) parentId = mbox.getFolderByPath(octxt, path).getId() + ""; else parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID); }
	public Element handle(Element request, Map<String, Object> context) throws ServiceException, SoapFaultException {		ZimbraSoapContext lc = getZimbraSoapContext(context);		Mailbox mbox = getRequestedMailbox(lc);		Mailbox.OperationContext octxt = lc.getOperationContext();		Session session = getSession(context);				String parentId = DEFAULT_FOLDER_ID;		Element eFolder = request.getOptionalElement(MailService.E_FOLDER);		if (eFolder != null)			parentId = eFolder.getAttribute(MailService.A_FOLDER, DEFAULT_FOLDER_ID);		ItemId iid = new ItemId(parentId, lc);		Element response = lc.createElement(MailService.GET_FOLDER_RESPONSE);				GetFolderTreeOperation op = new GetFolderTreeOperation(session, octxt, mbox, Requester.SOAP, iid);		op.schedule();		FolderNode resultFolder = op.getResult();				Element folderRoot = encodeFolderNode(lc, response, resultFolder);		if (resultFolder.mFolder instanceof Mountpoint) {			handleMountpoint(request, context, iid, (Mountpoint) resultFolder.mFolder, folderRoot);					}				return response;	}