Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
83 brianR 1
/*
2
 *   Copyright 2011 Brian Rosenberger (Brutex Network)
3
 *
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
5
 *   you may not use this file except in compliance with the License.
6
 *   You may obtain a copy of the License at
7
 *
8
 *       http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *   Unless required by applicable law or agreed to in writing, software
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
15
 */
16
package net.brutex.xservices.ws.impl;
17
 
18
import javax.jws.WebService;
19
 
20
import net.brutex.xservices.types.TargetNodeType;
21
import net.brutex.xservices.types.ant.AttachmentType;
22
import net.brutex.xservices.types.ant.CollectionType;
23
import net.brutex.xservices.util.BrutexNamespaces;
24
import net.brutex.xservices.ws.StorageService;
25
import net.brutex.xservices.ws.XServicesFault;
26
 
27
/**
28
 * @author Brian Rosenberger
29
 * @since 0.5.0
30
 *
31
 */
32
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES, endpointInterface = "net.brutex.xservices.ws.StorageService", serviceName = StorageService.SERVICE_NAME)
33
public class StorageServiceImpl implements StorageService {
34
 
35
	public String storeText(String text) throws XServicesFault {
36
		// TODO Auto-generated method stub
87 brianR 37
		System.err.println("storeText is not yet implemented");
83 brianR 38
		return null;
39
	}
40
 
41
	public String storeBinary(AttachmentType binary) throws XServicesFault {
42
		// TODO Auto-generated method stub
87 brianR 43
		System.err.println("storeBinary is not yet implemented");
83 brianR 44
		return null;
45
	}
46
 
47
	public String createCollection(CollectionType collection)
48
			throws XServicesFault {
49
		return collection.getUuid();
50
	}
51
 
52
	public void deliverCollection(CollectionType collection,
53
			TargetNodeType targetnode, boolean isFiring) throws XServicesFault {
54
		// TODO Auto-generated method stub
87 brianR 55
		System.err.println("deliverCollection is not yet implemented");
83 brianR 56
	}
57
 
58
}