Groovy Documentation

grails-app.services
Class WordpressService

java.lang.Object
  grails-app.services.WordpressService

class WordpressService

Property Summary
int blogId

def cacheService

java.lang.String password

boolean transactional

java.lang.String url

java.lang.String username

 
Constructor Summary
WordpressService()

 
Method Summary
def getCategories()

def getPage(java.lang.String id)

def getPost(java.lang.String id)

def getRecentPosts(int count, java.lang.String status = 'publish')

void init(java.lang.String url, int blogId, java.lang.String username, java.lang.String password)

void updateCategoriesCache()

void updatePagesCache()

void updateRecentPostsCache()

 
Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

blogId

int blogId


cacheService

def cacheService


password

java.lang.String password


transactional

boolean transactional


url

java.lang.String url


username

java.lang.String username


 
Constructor Detail

WordpressService

WordpressService()


 
Method Detail

getCategories

public def getCategories()


getPage

public def getPage(java.lang.String id)


getPost

public def getPost(java.lang.String id)


getRecentPosts

public def getRecentPosts(int count, java.lang.String status = 'publish')


init

void init(java.lang.String url, int blogId, java.lang.String username, java.lang.String password)


updateCategoriesCache

void updateCategoriesCache()


updatePagesCache

void updatePagesCache()


updateRecentPostsCache

void updateRecentPostsCache()


 

Groovy Documentation