com.mycompany.service.impl
Class ContentServiceImpl

java.lang.Object
  extended by com.mycompany.service.impl.AbstractService
      extended by com.mycompany.service.impl.ContentServiceImpl
All Implemented Interfaces:
ContentService

@Named(value="contentService")
public class ContentServiceImpl
extends AbstractService
implements ContentService

Content service implementation class.

Author:
Ian Hlavats (ian@tarantulaconsulting.com)

Constructor Summary
ContentServiceImpl()
           
 
Method Summary
 Content findContentByName(java.lang.String name)
          Finds a Content object by name.
 Content saveContent(Content content)
          Saves a Content object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentServiceImpl

public ContentServiceImpl()
Method Detail

findContentByName

public Content findContentByName(java.lang.String name)
Description copied from interface: ContentService
Finds a Content object by name.

Specified by:
findContentByName in interface ContentService
Parameters:
name - The name to find.
Returns:
A Content object.

saveContent

public Content saveContent(Content content)
Description copied from interface: ContentService
Saves a Content object.

Specified by:
saveContent in interface ContentService
Parameters:
content - The object to save.
Returns:
The saved object.