Groovy Documentation

grails-app.services
Class WordpressService

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

class WordpressService

Property Summary
int blogId

java.lang.String password

def recentPostIds

boolean transactional

java.lang.String url

java.lang.String username

def wordpressCache

 
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 updateRecentPostsCache()

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

Property Detail

blogId

int blogId


password

java.lang.String password


recentPostIds

def recentPostIds


transactional

boolean transactional


url

java.lang.String url


username

java.lang.String username


wordpressCache

def wordpressCache


 
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)


updateRecentPostsCache

void updateRecentPostsCache()


 

Groovy Documentation