* limitations under the License.
* ============LICENSE_END============================================
* ===================================================================
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ *
*/
package org.onap.clamp.clds.model;
public static final String STATUS_ACTIVE = "ACTIVE";
public static final String STATUS_STOPPED = "STOPPED";
public static final String STATUS_DELETING = "DELETING";
- public static final String STATUS_ERROR = "ERROR"; // manual
- // intervention
- // required
+ // manual intervention required
+ public static final String STATUS_ERROR = "ERROR";
public static final String STATUS_UNKNOWN = "UNKNOWN";
private String id;
/**
* Save template to DB.
*
- * @param cldsDao
- * @param userid
+ * @param cldsDao The cldsDao
+ * @param userid The user Id
*/
public void save(CldsDao cldsDao, String userid) {
cldsDao.setTemplate(this, userid);
/**
* Retrieve from DB.
*
- * @param cldsDao
- * @param name
- * @return
+ * @param cldsDao The cldsDao
+ * @param name The template name to retrieve
+ * @param okIfNotFound
+ * The flag indicating whether exception will be returned in case nothing is found
+ * @return Clds template from DB
*/
public static CldsTemplate retrieve(CldsDao cldsDao, String name, boolean okIfNotFound) {
// get from db