Package org.apache.jetspeed.portlets.rpad.simple

Examples of org.apache.jetspeed.portlets.rpad.simple.SimpleRepository


        String repoName;      
        Enumeration<String> repoNames = request.getPreferences().getNames();
        while(repoNames.hasMoreElements())
        {
            repoName = (String)repoNames.nextElement();
            portletRepositry.put(repoName,new SimpleRepository(repoName,request.getPreferences().getValue(repoName,"")));              
        }
        return portletRepositry;
    }
View Full Code Here


            @Override
            public void onClick(AjaxRequestTarget target)
            {
                metaDataModalWindow.setContent(new RepositoryPanel(
                        metaDataModalWindow.getContentId(), new SimpleRepository("",""),
                        tableGroup));
                metaDataModalWindow.show(target);               
            }           
        });
    }
View Full Code Here

        if (repo != null)
        {
            //TODO support repositories other than SimpleRepository
            if (repo instanceof SimpleRepository)
            {
                SimpleRepository simpleRepo = (SimpleRepository) repo;
                newRepository = false;
                setName(simpleRepo.getName());
                setPath(simpleRepo.getConfigPath());
            }
            else
            {
                newRepository = true;
                sessionMap.remove(RPADConstants.REPOSITORY);
View Full Code Here

    public String doCreateRepository()
    {
        if (getRepositoryManager().getRepository(getName()) == null)
        {
            //TODO support repositories other than SimpleRepository
            SimpleRepository repo = new SimpleRepository();
            repo.setName(getName());
            repo.setConfigPath(getPath());
            repo.init();

            try
            {
                getRepositoryManager().addRepository(getName(), repo);
                getRepositoryManager().reload();
View Full Code Here

                    repo.getName());

            //TODO support repositories other than SimpleRepository
            if (r instanceof SimpleRepository)
            {
                SimpleRepository simpleRepo = (SimpleRepository) r;
                simpleRepo.setName(getName());
                simpleRepo.setConfigPath(getPath());
            }
            else
            {
                //TODO i18n
                FacesMessageUtil
View Full Code Here

        if (repo != null)
        {
            //TODO support repositories other than SimpleRepository
            if (repo instanceof SimpleRepository)
            {
                SimpleRepository simpleRepo = (SimpleRepository) repo;
                newRepository = false;
                setName(simpleRepo.getName());
                setPath(simpleRepo.getConfigPath());
            }
            else
            {
                newRepository = true;
                sessionMap.remove(RPADConstants.REPOSITORY);
View Full Code Here

    public String doCreateRepository()
    {
        if (getRepositoryManager().getRepository(getName()) == null)
        {
            //TODO support repositories other than SimpleRepository
            SimpleRepository repo = new SimpleRepository();
            repo.setName(getName());
            repo.setConfigPath(getPath());
            repo.init();

            try
            {
                getRepositoryManager().addRepository(getName(), repo);
                getRepositoryManager().reload();
View Full Code Here

                    repo.getName());

            //TODO support repositories other than SimpleRepository
            if (r instanceof SimpleRepository)
            {
                SimpleRepository simpleRepo = (SimpleRepository) r;
                simpleRepo.setName(getName());
                simpleRepo.setConfigPath(getPath());
            }
            else
            {
                //TODO i18n
                FacesMessageUtil
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.portlets.rpad.simple.SimpleRepository

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.