package net.dontdrinkandroot.example.angularrestspringsecurity.rest.resources;

import com.joyaether.datastore.resource.ReadonlyDataObjectServerResource;
import net.dontdrinkandroot.example.angularrestspringsecurity.entity.News;

/**
 * Created by HIP on 24/12/2014.
 */
public class NewsServerResource extends ReadonlyDataObjectServerResource<News> {

    @Override
    protected ID getIdentifier(T model) {
        return super.getIdentifier(model);
    }

    
}

@@ -147,16 +147,17 @@
 source;%0A
+%0A
 import n
@@ -346,16 +346,22 @@
 News
+, Long
 %3E %7B%0A%0A   
  @Ov
@@ -356,17 +356,16 @@
 %3E %7B%0A%0A   
- 
 @Overrid
@@ -366,20 +366,16 @@
 verride%0A
-    
 protecte
@@ -380,85 +380,186 @@
 ted 
-ID
+Long
  getId
-entifier(T model) %7B%0A        return super.getIdentifier(model);%0A    %7D%0A
+() %7B%0A%09// TODO Auto-generated method stub%0A%09return null;%0A%7D%0A%0A   @Override%0A%09protected Class%3CNews%3E getResourceType() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09return null;%0A%09%7D
 %0A   

update model standard