示例#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
文件: rbac.py 项目: vivienney/Ally-Py
 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
文件: file.py 项目: AtomLaw/Ally-Py
 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
文件: rbac.py 项目: petrjasek/Ally-Py
 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)