Example #1
0
 def getById(self, id):
     """
     @see: IEntityGetService.getById
     """
     blogSync = EntityServiceAlchemy.getById(self, id)
     log.info("read Id=%d, Auto=%s" % (blogSync.Id, blogSync.Auto))
     return blogSync
Example #2
0
 def getById(self, id):
     '''
     @see: IEntityGetService.getById
     '''
     blogSync = EntityServiceAlchemy.getById(self, id)
     log.info('read Id=%d, Auto=%s' % (blogSync.Id, blogSync.Auto))
     return blogSync
Example #3
0
 def __init__(self):
     """
     Construct the blog type service.
     """
     EntityServiceAlchemy.__init__(self, BlogTypeMapped, QBlogType)
Example #4
0
 def __init__(self):
     '''
     Construct the blog media service.
     '''
     EntityServiceAlchemy.__init__(self, BlogMediaMapped)
Example #5
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, PersonMapped, QPerson)
Example #6
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, UserMapped, QUser)
Example #7
0
 def __init__(self):
     '''
     Construct the blog sync service.
     '''
     EntityServiceAlchemy.__init__(self, BlogSyncMapped, QBlogSync)
Example #8
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, Source, QSource)
Example #9
0
 def __init__(self):
     '''
     Construct the article file service.
     '''
     EntityServiceAlchemy.__init__(self, ArticleFileMapped, QArticleFile)
Example #10
0
 def __init__(self):
     '''
     Construct the item content service.
     '''
     EntityServiceAlchemy.__init__(self, ItemContentMapped, QItemContent)
Example #11
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, UserMapped, QUser)
Example #12
0
    def __init__(self):
        EntityServiceAlchemy.__init__(self, RoleMapped, QRole)
        RbacServiceAlchemy.__init__(self, RoleMapped)

        self._rootId = None
Example #13
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, Source, QSource)
Example #14
0
 def __init__(self):
     '''
     Construct the item group service.
     '''
     EntityServiceAlchemy.__init__(self, ItemGroupMapped, QItemGroup)
Example #15
0
 def __init__(self):
     '''
     Construct the blog media service.
     '''
     EntityServiceAlchemy.__init__(self, BlogMediaMapped)
Example #16
0
 def __init__(self):
     '''
     Construct the post PostVerification status service.
     '''
     EntityServiceAlchemy.__init__(self, PostVerificationMapped)
Example #17
0
    def __init__(self): EntityServiceAlchemy.__init__(self, Article)

    def getByArticleType(self, id, offset=None, limit=None):
Example #18
0
 def __init__(self):
     '''
     Construct the blog sync service.
     '''
     EntityServiceAlchemy.__init__(self, BlogSyncMapped, QBlogSync)
Example #19
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, Article)
Example #20
0
 def __init__(self):
     '''
     Construct the article file service.
     '''
     EntityServiceAlchemy.__init__(self, ArticleFileMapped, QArticleFile)
Example #21
0
 def __init__(self):
     assert isinstance(
         self.rbacService,
         IRbacService), 'Invalid rbac service %s' % self.rbacService
     EntityServiceAlchemy.__init__(self, RoleMapped, QRole)
Example #22
0
 def __init__(self):
     '''
     Construct the blog theme service.
     '''
     EntityServiceAlchemy.__init__(self, BlogThemeMapped, QBlogTheme)
Example #23
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, File, QFile)
Example #24
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, PersonMapped, QPerson)
Example #25
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, File, QFile)
Example #26
0
 def __init__(self):
     assert isinstance(self.rbacService, IRbacService), 'Invalid rbac service %s' % self.rbacService
     EntityServiceAlchemy.__init__(self, RoleMapped, QRole)
Example #27
0
 def __init__(self):
     '''
     Construct the blog type service.
     '''
     EntityServiceAlchemy.__init__(self, BlogTypeMapped, QBlogType)
Example #28
0
 def __init__(self):
     '''
     Construct the item group service.
     '''
     EntityServiceAlchemy.__init__(self, ItemGroupMapped, QItemGroup)
Example #29
0
 def __init__(self):
     '''
     Construct the reference service.
     '''
     EntityServiceAlchemy.__init__(self, ReferenceMapped, QReference)
Example #30
0
 def __init__(self):
     '''
     Construct the reference service.
     '''
     EntityServiceAlchemy.__init__(self, ReferenceMapped, QReference)
Example #31
0
 def __init__(self):
     '''
     Construct the item content service.
     '''
     EntityServiceAlchemy.__init__(self, ItemContentMapped, QItemContent)