예제 #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
파일: source.py 프로젝트: vivienney/Ally-Py
 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)