Package org.jasig.portal.io.xml

Examples of org.jasig.portal.io.xml.SimpleStringPortalData


      final List<String> allUsersWithActiveSubscriptions = this.userFragmentSubscriptionDao.getAllUsersWithActiveSubscriptions();
     
      return Collections2.transform(allUsersWithActiveSubscriptions, new Function<String, IPortalData>() {
            @Override
            public IPortalData apply(String input) {
                return new SimpleStringPortalData(input, null, null);
            }
        });
  }
View Full Code Here


                final StringBuilder key = new StringBuilder();
               
                key.append(rs.getString("user_name")).append("|");
                key.append(rs.getString("profile_fname"));
               
                return new SimpleStringPortalData(key.toString(), null, null);
            }
        });
    }
View Full Code Here

        final List<FragmentDefinition> fragments = this.configurationLoader.getFragments();
       
        final List<IPortalData> portalData = Lists.transform(fragments, new Function<FragmentDefinition, IPortalData>() {
            @Override
            public IPortalData apply(FragmentDefinition fragmentDefinition) {
                return new SimpleStringPortalData(
                        fragmentDefinition.getOwnerId(),
                        fragmentDefinition.getName(),
                        fragmentDefinition.getDescription());
            }
        });
View Full Code Here

                key.append(rs.getString("ENTITY_TYPE_NAME")).append("|");
                key.append(rs.getString("PRINCIPAL_KEY")).append("|");
                key.append(rs.getString("ACTIVITY")).append("|");
                key.append(rs.getString("PRINCIPAL_TYPE"));
               
                return new SimpleStringPortalData(key.toString(), null, null);
            }
        });
    }
View Full Code Here

            /* (non-Javadoc)
             * @see com.google.common.base.Function#apply(java.lang.Object)
             */
            @Override
            public IPortalData apply(IPermissionOwner permissionOwner) {
                return new SimpleStringPortalData(
                        permissionOwner.getFname(),
                        permissionOwner.getName(),
                        permissionOwner.getDescription());
            }
        });
View Full Code Here

      final List<String> userList = this.jdbcOperations.queryForList("SELECT USER_NAME FROM UP_USER", String.class);
     
      return Lists.transform(userList, new Function<String, IPortalData>() {
            @Override
            public IPortalData apply(final String userName) {
                return new SimpleStringPortalData(userName, null, null);
            }
        });
  }
View Full Code Here

            pagsDefs.add(pagsDef);
        }
        final List<IPortalData> portalData = Lists.transform(pagsDefs, new Function<IPersonAttributesGroupDefinition, IPortalData>() {
            @Override
            public IPortalData apply(IPersonAttributesGroupDefinition personAttributesGroup) {
                return new SimpleStringPortalData(
                        personAttributesGroup.getName(),
                        null,
                        personAttributesGroup.getDescription());
            }
        });
View Full Code Here

                    id = rs.getString(1);
                }
               
                final String name = getValue(rs, nameColumn);
                final String description = getValue(rs, descColumn);
                return new SimpleStringPortalData(id, name, description);
            }

            protected String getValue(ResultSet rs, String column) throws SQLException {
                if (column != null) {
                    return rs.getString(column);
View Full Code Here

    final List<FragmentDefinition> fragmentDefinitions = this.fragmentDefinitionDao.getAllFragments();
       
        final List<IPortalData> portalData = Lists.transform(fragmentDefinitions, new Function<FragmentDefinition, IPortalData>() {
            @Override
            public IPortalData apply(FragmentDefinition fragmentDefinition) {
                return new SimpleStringPortalData(
                        fragmentDefinition.getName(),
                        null,
                        fragmentDefinition.getDescription());
            }
        });
View Full Code Here

          String.class);
     
      return Lists.transform(userList, new Function<String, IPortalData>() {
            @Override
            public IPortalData apply(final String userName) {
                return new SimpleStringPortalData(userName, null, null);
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.io.xml.SimpleStringPortalData

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.