Project

General

Profile

« Previous | Next » 

Revision 58038

[Trunk - Admin tools library Service]: Rename Porrtal > "alias" to "type" and Page/ DivId > "dashboardAlias" to "portalType".

View differences:

PortalService.java
268 268

  
269 269
                    while (divIdIterator.hasNext()) {
270 270
                        DivId divId = divIdIterator.next();
271
                        if(!portal.getAlias().equals(divId.getDashboardAlias())) {
271
                        if(!portal.getType().equals(divId.getPortalType())) {
272 272
                            divIdIterator.remove();
273 273
                        }
274 274
                    }
......
280 280

  
281 281
                Page p = pageService.getPage(page.getKey());
282 282

  
283
                if(portal.getAlias().equals(p.getDashboardAlias())) {
283
                if(portal.getType().equals(p.getPortalType())) {
284 284
                    if ((page_type == null && page_route == null) || (page_route == null && p.getType().equals(page_type))
285 285
                            || p.getRoute().equals(page_route)) {
286 286
                        PortalPage portalPage = new PortalPage(p);

Also available in: Unified diff