Package evolaris.framework.smsservices.business.extenders

Examples of evolaris.framework.smsservices.business.extenders.CommandEntryExtender.reloadReferences()


    if (commandEntryParameter == null || !(commandEntryParameter instanceof CommandEntry)){
      throw new BugException("no command entry returned by the interaction enter action");
    }
    CommandEntry commandEntry = (CommandEntry)commandEntryParameter;
    CommandEntryExtender commandEntryExtender = commandEntryManager.createCommandEntryExtender(commandEntry);
    commandEntryExtender.reloadReferences()// reload outdated references
    // check access rights
    if (!req.isUserInRole(UserManagerBase.ADMINISTRATOR) && commandEntry.getGroup() != webUser.getGroup()) {
      throw new InputException(getResources(req).getMessage(locale, "smssvc.insufficientRights"));
    }
    commandEntryManager.createOrModify(commandEntry);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.