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

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

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