Exemplo n.º 1
0
    def __init__(self, row, pubDataIDOs = None):
        id = row[0]
        title = row[1]
        creationTime = getNoneDate(row[2])
        lastModifiedTime = getNoneDate(row[3])

        ZDocumentIDO.__init__(self, pubDataIDOs, id, title, creationTime, lastModifiedTime)
Exemplo n.º 2
0
    def __init__(self, row, colOffset):
        accountId = row[1 + colOffset]
        blogId = row[2 + colOffset]
        blogEntryId = row[3 + colOffset]
        issuedTime = getNoneDate(row[4 + colOffset])
        synchTime = getNoneDate(row[5 + colOffset])
        draft = row[6 + colOffset] == 1
        permaLink = row[7 + colOffset]

        ZPubDataIDO.__init__(self, accountId, blogId, blogEntryId, issuedTime, synchTime, draft, permaLink)
Exemplo n.º 3
0
 def getSentDate(self):
     u"getSentDate() -> ZSchemaDateTime" #$NON-NLS-1$
     dt = self.getAttribute(u"sent-date") #$NON-NLS-1$
     return getNoneDate( dt )
Exemplo n.º 4
0
 def getSynchTime(self):
     dt = self.getAttribute(u"synchronized-time") #$NON-NLS-1$
     return getNoneDate( dt )
Exemplo n.º 5
0
 def getPublishedTime(self):
     dt = self.getAttribute(u"published-time") #$NON-NLS-1$
     if not dt:
         dt = self.getAttribute(u"issued-date") #$NON-NLS-1$
     return getNoneDate( dt )
Exemplo n.º 6
0
 def getSentDate(self):
     u"getSentDate() -> ZSchemaDateTime"  #$NON-NLS-1$
     dt = self.getAttribute(u"sent-date")  #$NON-NLS-1$
     return getNoneDate(dt)
Exemplo n.º 7
0
 def getSynchTime(self):
     dt = self.getAttribute(u"synchronized-time")  #$NON-NLS-1$
     return getNoneDate(dt)
Exemplo n.º 8
0
 def getPublishedTime(self):
     dt = self.getAttribute(u"published-time")  #$NON-NLS-1$
     if not dt:
         dt = self.getAttribute(u"issued-date")  #$NON-NLS-1$
     return getNoneDate(dt)