Beispiel #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
Beispiel #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
Beispiel #3
0
 def __init__(self):
     """
     Construct the blog type service.
     """
     EntityServiceAlchemy.__init__(self, BlogTypeMapped, QBlogType)
Beispiel #4
0
 def __init__(self):
     '''
     Construct the blog media service.
     '''
     EntityServiceAlchemy.__init__(self, BlogMediaMapped)
Beispiel #5
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, PersonMapped, QPerson)
Beispiel #6
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, UserMapped, QUser)
Beispiel #7
0
 def __init__(self):
     '''
     Construct the blog sync service.
     '''
     EntityServiceAlchemy.__init__(self, BlogSyncMapped, QBlogSync)
Beispiel #8
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, Source, QSource)
Beispiel #9
0
 def __init__(self):
     '''
     Construct the article file service.
     '''
     EntityServiceAlchemy.__init__(self, ArticleFileMapped, QArticleFile)
Beispiel #10
0
 def __init__(self):
     '''
     Construct the item content service.
     '''
     EntityServiceAlchemy.__init__(self, ItemContentMapped, QItemContent)
Beispiel #11
0
 def __init__(self):
     EntityServiceAlchemy.__init__(self, UserMapped, QUser)
Beispiel #12
0
    def __init__(self):
        EntityServiceAlchemy.__init__(self, RoleMapped, QRole)
        RbacServiceAlchemy.__init__(self, RoleMapped)

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

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