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
37
		return null;
38
	}
39
 
40
	public String storeBinary(AttachmentType binary) throws XServicesFault {
41
		// TODO Auto-generated method stub
42
		return null;
43
	}
44
 
45
	public String createCollection(CollectionType collection)
46
			throws XServicesFault {
47
		return collection.getUuid();
48
	}
49
 
50
	public void deliverCollection(CollectionType collection,
51
			TargetNodeType targetnode, boolean isFiring) throws XServicesFault {
52
		// TODO Auto-generated method stub
53
 
54
	}
55
 
56
}