/** * Returns the name of the user who initialized this publish job.<p> * * @param cms the cms object * * @return the name of the user who initialized this publish job */ public String getUserName(CmsObject cms) { String userName = getUserId().toString(); try { userName = cms.readUser(getUserId()).getName(); } catch (CmsException e) { // ignore } return userName; }
m_listeners.fireEnqueued(new CmsPublishJobBase(publishJob)); } catch (Throwable t) {
m_listeners.fireEnqueued(new CmsPublishJobBase(publishJob)); } catch (Throwable t) {
/** * Returns the name of the user who initialized this publish job.<p> * * @param cms the cms object * * @return the name of the user who initialized this publish job */ public String getUserName(CmsObject cms) { String userName = getUserId().toString(); try { userName = cms.readUser(getUserId()).getName(); } catch (CmsException e) { // ignore } return userName; }