Refactor AAA.checkUser()
[nemo.git] / nemo-impl / src / main / java / org / opendaylight / nemo / user / transactionmanager / TransactionBegin.java
1 /*\r
2  * Copyright (c) 2015 Huawei, Inc. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 package org.opendaylight.nemo.user.transactionmanager;\r
9 \r
10 import org.opendaylight.nemo.user.tenantmanager.AAA;\r
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nemo.intent.rev151010.BeginTransactionInput;\r
12 \r
13 /**\r
14  * Created by z00293636 on 2015/9/2.\r
15  */\r
16 public class TransactionBegin {\r
17 \r
18     public String transactionbegin(AAA aaa,BeginTransactionInput input)\r
19     {\r
20         String errorInfo = null;\r
21         errorInfo = aaa.checkUser(input);\r
22         return errorInfo;\r
23     }\r
24 }\r