Skip to content
Snippets Groups Projects
Commit 135bc49f authored by cramakri's avatar cramakri
Browse files

BIS-407 SP-634 : Implemented detail, drill, and navigation request handlers in java.

SVN: 28927
parent 6499f506
No related branches found
No related tags found
No related merge requests found
/*
* Copyright 2013 ETH Zuerich, CISD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.systemsx.cisd.openbis.ipad.v2.server;
import java.util.Arrays;
import java.util.Map;
import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService;
import ch.systemsx.cisd.openbis.generic.shared.managed_property.api.ISimpleTableModelBuilderAdaptor;
/**
* @author cramakri
*/
public class DetailRequestHandler extends AbstractRequestHandler
{
/**
* Abstract Handler for the DETAIL request.
*
* @param parameters
* @param builder
* @param searchService
* @param optionalHeaders
*/
protected DetailRequestHandler(Map<String, Object> parameters,
ISimpleTableModelBuilderAdaptor builder, ISearchService searchService)
{
super(parameters, builder, searchService, Arrays.asList("CATEGORY", "SUMMARY_HEADER",
"SUMMARY", "IDENTIFIER", "IMAGES", "PROPERTIES"));
}
}
/*
* Copyright 2013 ETH Zuerich, CISD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.systemsx.cisd.openbis.ipad.v2.server;
import java.util.Arrays;
import java.util.Map;
import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService;
import ch.systemsx.cisd.openbis.generic.shared.managed_property.api.ISimpleTableModelBuilderAdaptor;
/**
* @author cramakri
*/
public class DrillRequestHandler extends AbstractRequestHandler
{
/**
* Abstract Handler for the DRILL request.
*
* @param parameters
* @param builder
* @param searchService
* @param optionalHeaders
*/
protected DrillRequestHandler(Map<String, Object> parameters,
ISimpleTableModelBuilderAdaptor builder, ISearchService searchService)
{
super(parameters, builder, searchService, Arrays.asList("CATEGORY", "SUMMARY_HEADER",
"SUMMARY", "CHILDREN"));
}
}
/*
* Copyright 2013 ETH Zuerich, CISD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.systemsx.cisd.openbis.ipad.v2.server;
import java.util.Arrays;
import java.util.Map;
import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.ISearchService;
import ch.systemsx.cisd.openbis.generic.shared.managed_property.api.ISimpleTableModelBuilderAdaptor;
/**
* @author cramakri
*/
public class NavigationRequestHandler extends AbstractRequestHandler
{
/**
* Abstract Handler for the NAVIGATION request.
*
* @param parameters
* @param builder
* @param searchService
* @param optionalHeaders
*/
protected NavigationRequestHandler(Map<String, Object> parameters,
ISimpleTableModelBuilderAdaptor builder, ISearchService searchService)
{
super(parameters, builder, searchService, Arrays.asList("CATEGORY", "SUMMARY_HEADER",
"SUMMARY", "ROOT_LEVEL"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment