Package org.jayasoft.woj.common.model.content

Examples of org.jayasoft.woj.common.model.content.ModuleDescriptor


                        String action = request.getParameter(Params.REPOSITORY.SHOW_BY_MOD.PARAMS.ACTION);
                        if (!StringUtils.isBlank(action)) {
                            String revision = f.getString(Params.REPOSITORY.SHOW_BY_MOD.FORM.REVISION);
                            f.set(Params.REPOSITORY.SHOW_BY_MOD.FORM.REVISION, "");
                            try {
                                ModuleDescriptor md = userSSP.getModuleManagementService().getModule(v.getId(), organisation, module, revision);
                                userSSP.getModuleManagementService().removeModule(new Long(md.getId()));
                                LOGGER.info(MessageFormat.format("deleted {0}|{1}|{2}", new Object[] {organisation, module, revision}));
                            } catch (org.jayasoft.woj.common.services.ServiceException e) {
                                LOGGER.warn(MessageFormat.format("cannot delete {0}|{1}|{2}", new Object[] {organisation, module, revision}), e);
                            }
                        }
View Full Code Here


                    String org = _browserComposite.getOrganisation();
                    String mod = _browserComposite.getName();
                    String rev = _browserComposite.getRevision();
                    Visibility visibility = _browserComposite.getVisibility();
                   
                    ModuleDescriptor md = WojServicesHelper.getDefault().getModuleDescriptor(visibility, org, mod, rev);
                    setSelectedModule(md);
                }
            }
        });
       
View Full Code Here

TOP

Related Classes of org.jayasoft.woj.common.model.content.ModuleDescriptor

Copyright © 2018 www.massapicom. 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.