Package com.esri.gpt.server.csw.client

Examples of com.esri.gpt.server.csw.client.CswProfile


*/
@SuppressWarnings("unchecked")
@Override
public SearchXslProfile getProfileById(
    String id) {
  CswProfile cswProfile = this.getCswProfiles().getProfileById(id);
  if(cswProfile != null) {
    return cswProfile;
  }
  return super.getProfileById(id);
}
View Full Code Here


*/
protected CswProfile getCswProfile() throws SearchException {
 
  try {
   
    CswProfile profile = readCswProfiles().getProfileById(this.getProfileId());
    /*
     * if (CSW_PROFILE == null) { synchronized (SearchEngineCSW.class) { if
     * (CSW_PROFILE == null) { CSW_PROFILE =
     * CSW_PROFILES.getProfileById(SearchConfig
     * .getConfiguredInstance().getCswProfile()); } } }
View Full Code Here

*/
protected CswRecord getMetadata(String uuid) throws SearchException {
  CswRecord record = new CswRecord();
  Exception exc = null;
  try {
    CswProfile profile = getCswProfile();
    CswSearchRequest request = new CswSearchRequest();
    CswClient client = this.getCswClient();
    request.setCswClient(client);
    record = request.getRecordById(this.getConnectionUri().toString(),
        uuid, profile);
View Full Code Here

*/
@Override
protected void marshallRecords(final CswRecords cswRecords)
    throws SearchException {

  CswProfile profile = this.getCswProfile();
  SearchResult result = this.getRequestDefinition().getResult();
  //result.setSupportsContentTypeQuery(profile.isSupportsContentTypeQuery());
  //result.setSupportsSpatialDisplay(profile.isSupportsSpatialBoundary());

  super.marshallRecords(cswRecords);
View Full Code Here

@Override
protected CswRecord getMetadata(String uuid) throws SearchException {
  CswRecord record = new CswRecord();
  Exception exc = null;
  try {
    CswProfile profile = getCswProfile();
    CswSearchRequest request = new CswSearchRequest();
    CswClient client = this.getCswClient();
    //client.setReadTimeout(SearchConfig.getConfiguredInstance().getTimeOut());
    request.setCswClient(client);
    String username = Val.chkStr(this.getCredentials().getUsername());
View Full Code Here

TOP

Related Classes of com.esri.gpt.server.csw.client.CswProfile

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.