Matterial API Object - DocumentLock

com.matterial.mtr.api.object.DocumentLock

Zurück zur Übersicht

Java

DocumentLock

JSON

{
  "id": 8,
  "person": {
    "accountId": 2,
    "accountLogin": "max.mustermann@matterial.com",
    "accountStatus": 0,
    "superiorAccountId": null,
    "accountCreateTimeInSeconds": 39600,
    "accountLastLoginInSeconds": 1488543110,
    "contactId": 2,
    "firstName": "Max",
    "lastName": "Mustermann",
    "position": "",
    "birthdayInSeconds": null,
    "gender": 1,
    "contactImage": {
      "id": 47,
      "name": "max.mustermann@matterial.com",
      "casId": null,
      "casIdThumbnail": null,
      "createTimeInSeconds": 1483723338,
      "mimeType": "application/x-unknown-mime-type",
      "externalImgUrl": "http://www.gravatar.com/avatar/xxx?r=pg&s=100&d=wavatar",
      "internal": false,
      "active": true,
      "external": true,
      "gravatar": true,
      "google": false,
      "reference": "max.mustermann@matterial.com"
    },
    "rolePersonal": {
      "id": 4,
      "entityTypeId": 24,
      "name": "max.mustermann@matterial.com",
      "description": "personal role for max.mustermann@matterial.com",
      "bitmask": 19,
      "permissions": {
        "systemAccount": false,
        "bitmask": 19,
        "administrateAll": true,
        "editPerson": true,
        "editDocument": true,
        "editDocumentTemplate": true,
        "editRole": true,
        "editCategory": true,
        "editTask": true,
        "comment": true,
        "viewArchive": true,
        "viewStatistic": true,
        "showTrash": true,
        "editGallery": true,
        "immediateReview": true,
        "publishUnreviewed": true,
        "editAdditionalProperty": true,
        "editGlobalSavedSearch": true
      },
      "personalRolePerson": null
    },
    "roleClientGate": {
      "id": 196,
      "entityTypeId": 55,
      "name": "roles.roleType.clientGate",
      "description": "roles.clientGate.description",
      "bitmask": 0,
      "permissions": {
        "systemAccount": false,
        "bitmask": 0,
        "administrateAll": false,
        "editPerson": false,
        "editDocument": false,
        "editDocumentTemplate": false,
        "editRole": false,
        "editCategory": false,
        "editTask": false,
        "comment": false,
        "viewArchive": false,
        "viewStatistic": false,
        "showTrash": false,
        "editGallery": false,
        "immediateReview": false,
        "publishUnreviewed": false,
        "editAdditionalProperty": false,
        "editGlobalSavedSearch": false
      },
      "personalRolePerson": null
    },
    "rolesFunctional": [
      {
        "id": 1,
        "entityTypeId": 21,
        "name": "Administrator",
        "description": "The administrator role",
        "bitmask": 16318,
        "permissions": {
          "systemAccount": false,
          "bitmask": 16318,
          "administrateAll": false,
          "editPerson": true,
          "editDocument": true,
          "editDocumentTemplate": true,
          "editRole": true,
          "editCategory": true,
          "editTask": false,
          "comment": true,
          "viewArchive": true,
          "viewStatistic": true,
          "showTrash": true,
          "editGallery": true,
          "immediateReview": true,
          "publishUnreviewed": true,
          "editAdditionalProperty": false,
          "editGlobalSavedSearch": false
        },
        "personalRolePerson": null
      }
    ],
    "rolesContent": [
      {
        "id": 496,
        "entityTypeId": 22,
        "name": "Developer",
        "description": "Developer",
        "bitmask": 0,
        "permissions": {
          "systemAccount": false,
          "bitmask": 0,
          "administrateAll": false,
          "editPerson": false,
          "editDocument": false,
          "editDocumentTemplate": false,
          "editRole": false,
          "editCategory": false,
          "editTask": false,
          "comment": false,
          "viewArchive": false,
          "viewStatistic": false,
          "showTrash": false,
          "editGallery": false,
          "immediateReview": false,
          "publishUnreviewed": false,
          "editAdditionalProperty": false,
          "editGlobalSavedSearch": false
        },
        "personalRolePerson": null
      }
    ],
    "rolesReview": [],
    "clients": [
      {
        "id": 103,
        "name": "matterial",
        "clientPreferences": null
      }
    ],
    "addresses": [
      {
        "id": 1,
        "postalCode": "55122",
        "city": "Mainz",
        "country": "Deutschland",
        "street": "Anni-Eisler-Lehmann-Straße",
        "houseNumber": "3",
        "imported": false
      }
    ],
    "communicationData": [
      {
        "id": 1,
        "entityTypeId": 11,
        "value": "max.mustermann@matterial.com",
        "description": "",
        "imported": false,
        "usedForNotification": true
      }
    ],
    "contactImages": [
      {
        "id": 203,
        "name": "1.jpg",
        "casId": "UNLIMITED201701082_4ffcbbc59fd26556cc3f36d30cad4635681c88ab",
        "casIdThumbnail": "UNLIMITED201701082_6ea3056425c916ba62c1cc7908c69415f7743e9a",
        "createTimeInSeconds": 1486570069,
        "mimeType": "image/jpeg",
        "externalImgUrl": null,
        "internal": true,
        "active": false,
        "external": false,
        "gravatar": false,
        "google": false,
        "google": false,
        "google": false,
        "reference": null
      },
      {
        "id": 47,
        "name": "max.mustermann@matterial.com",
        "casId": null,
        "casIdThumbnail": null,
        "createTimeInSeconds": 1483723338,
        "mimeType": "application/x-unknown-mime-type",
        "externalImgUrl": "http://www.gravatar.com/avatar/xxx?r=pg&s=100&d=wavatar",
        "internal": false,
        "active": true,
        "external": true,
        "gravatar": true,
        "google": false,
        "reference": "max.mustermann@matterial.com"
      }
    ],
    "id": 2
  },
  "documentId": 6707,
  "lockedForMe": true,
  "lockTimestampInSeconds": 1488543193
}

XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<documentLock>
    <documentId>1</documentId>
    <id>3216</id>
    <lockTimestampInSeconds>1531226009</lockTimestampInSeconds>
    <lockedForMe>true</lockedForMe>
    <person>
        <accountCreateTimeInSeconds>1484559312</accountCreateTimeInSeconds>
        <accountId>2</accountId>
        <accountLastLoginInSeconds>1531225627</accountLastLoginInSeconds>
        <accountLogin>max.mustermann@matterial.com</accountLogin>
        <clients>
            <clientPreferences>
                <preferenceDescriptions />
                <preferences />
            </clientPreferences>
            <id>1</id>
            <name>DEFAULT</name>
        </clients>
        <communicationData>
            <entityTypeId>11</entityTypeId>
            <id>23</id>
            <imported>true</imported>
            <usedForNotification>true</usedForNotification>
            <value>max.mustermann@matterial.com</value>
        </communicationData>
        <contactId>2</contactId>
        <contactImage>
            <active>true</active>
            <cobot>false</cobot>
            <createTimeInSeconds>1514967301</createTimeInSeconds>
            <external>true</external>
            <externalImgUrl>https://secure.gravatar.com/avatar/5374dd6c326c5638c93d11ce67ac2a69?r=pg&amp;s=100&amp;d=wavatar</externalImgUrl>
            <google>false</google>
            <gravatar>true</gravatar>
            <id>40</id>
            <internal>false</internal>
            <mimeType>application/x-unknown-mime-type</mimeType>
            <name>max.mustermann@matterial.com</name>
            <reference>max.mustermann@matterial.com</reference>
        </contactImage>
        <contactImages>
            <active>true</active>
            <cobot>false</cobot>
            <createTimeInSeconds>1514967301</createTimeInSeconds>
            <external>true</external>
            <externalImgUrl>https://secure.gravatar.com/avatar/5374dd6c326c5638c93d11ce67ac2a69?r=pg&amp;s=100&amp;d=wavatar</externalImgUrl>
            <google>false</google>
            <gravatar>true</gravatar>
            <id>40</id>
            <internal>false</internal>
            <mimeType>application/x-unknown-mime-type</mimeType>
            <name>max.mustermann@matterial.com</name>
            <reference>max.mustermann@matterial.com</reference>
        </contactImages>
        <firstName>Max</firstName>
        <id>2</id>
        <instanceOwner>true</instanceOwner>
        <lastName>Mustermann</lastName>
        <limited>false</limited>
        <rolePersonal>
            <bitmask>0</bitmask>
            <clientId>1</clientId>
            <description>PERSONAL ROLE</description>
            <entityTypeId>24</entityTypeId>
            <id>3</id>
            <initiallyAssignedToAccount>false</initiallyAssignedToAccount>
            <initiallyAssignedTypeToDocument>0</initiallyAssignedTypeToDocument>
            <name>PERSONAL ROLE [2|1]</name>
            <notRemovable>false</notRemovable>
            <permissions>
                <administrateAll>false</administrateAll>
                <bitmask>0</bitmask>
                <comment>false</comment>
                <createSnap>false</createSnap>
                <editAdditionalProperty>false</editAdditionalProperty>
                <editCategory>false</editCategory>
                <editCategoryTypeTag>false</editCategoryTypeTag>
                <editDocument>false</editDocument>
                <editDocumentTemplate>false</editDocumentTemplate>
                <editGallery>false</editGallery>
                <editGlobalSavedSearch>false</editGlobalSavedSearch>
                <editPerson>false</editPerson>
                <editRole>false</editRole>
                <editTask>false</editTask>
                <immediateReview>false</immediateReview>
                <publishUnreviewed>false</publishUnreviewed>
                <showTrash>false</showTrash>
                <systemAccount>false</systemAccount>
                <viewArchive>false</viewArchive>
                <viewStatistic>false</viewStatistic>
            </permissions>
        </rolePersonal>
        <rolesContent>
            <bitmask>0</bitmask>
            <clientId>1</clientId>
            <description>Diese Gruppe fast alle Benutzer zusammen</description>
            <entityTypeId>22</entityTypeId>
            <id>9</id>
            <initiallyAssignedToAccount>true</initiallyAssignedToAccount>
            <initiallyAssignedTypeToDocument>1</initiallyAssignedTypeToDocument>
            <name>Alle Benutzer</name>
            <notRemovable>false</notRemovable>
            <permissions>
                <administrateAll>false</administrateAll>
                <bitmask>0</bitmask>
                <comment>false</comment>
                <createSnap>false</createSnap>
                <editAdditionalProperty>false</editAdditionalProperty>
                <editCategory>false</editCategory>
                <editCategoryTypeTag>false</editCategoryTypeTag>
                <editDocument>false</editDocument>
                <editDocumentTemplate>false</editDocumentTemplate>
                <editGallery>false</editGallery>
                <editGlobalSavedSearch>false</editGlobalSavedSearch>
                <editPerson>false</editPerson>
                <editRole>false</editRole>
                <editTask>false</editTask>
                <immediateReview>false</immediateReview>
                <publishUnreviewed>false</publishUnreviewed>
                <showTrash>false</showTrash>
                <systemAccount>false</systemAccount>
                <viewArchive>false</viewArchive>
                <viewStatistic>false</viewStatistic>
            </permissions>
        </rolesContent>
        <rolesFunctional>
            <bitmask>131071</bitmask>
            <clientId>1</clientId>
            <description>Dies ist die Administratorrolle des Sytems. Sie
                erlaubt es einem ALLES zu sehen un zu tun.</description>
            <entityTypeId>21</entityTypeId>
            <id>6</id>
            <initiallyAssignedToAccount>false</initiallyAssignedToAccount>
            <initiallyAssignedTypeToDocument>0</initiallyAssignedTypeToDocument>
            <name>Administrator</name>
            <notRemovable>false</notRemovable>
            <permissions>
                <administrateAll>true</administrateAll>
                <bitmask>262143</bitmask>
                <comment>true</comment>
                <createSnap>true</createSnap>
                <editAdditionalProperty>true</editAdditionalProperty>
                <editCategory>true</editCategory>
                <editCategoryTypeTag>true</editCategoryTypeTag>
                <editDocument>true</editDocument>
                <editDocumentTemplate>true</editDocumentTemplate>
                <editGallery>true</editGallery>
                <editGlobalSavedSearch>true</editGlobalSavedSearch>
                <editPerson>true</editPerson>
                <editRole>true</editRole>
                <editTask>true</editTask>
                <immediateReview>true</immediateReview>
                <publishUnreviewed>true</publishUnreviewed>
                <showTrash>true</showTrash>
                <systemAccount>false</systemAccount>
                <viewArchive>true</viewArchive>
                <viewStatistic>true</viewStatistic>
            </permissions>
        </rolesFunctional>
        <rolesReview>
            <bitmask>0</bitmask>
            <clientId>1</clientId>
            <description>Prüfungsberechtigte Benutzer für den Bereich
                Nord</description>
            <entityTypeId>28</entityTypeId>
            <id>12</id>
            <initiallyAssignedToAccount>false</initiallyAssignedToAccount>
            <initiallyAssignedTypeToDocument>1</initiallyAssignedTypeToDocument>
            <name>Prüfgruppe Nord</name>
            <notRemovable>false</notRemovable>
            <permissions>
                <administrateAll>false</administrateAll>
                <bitmask>0</bitmask>
                <comment>false</comment>
                <createSnap>false</createSnap>
                <editAdditionalProperty>false</editAdditionalProperty>
                <editCategory>false</editCategory>
                <editCategoryTypeTag>false</editCategoryTypeTag>
                <editDocument>false</editDocument>
                <editDocumentTemplate>false</editDocumentTemplate>
                <editGallery>false</editGallery>
                <editGlobalSavedSearch>false</editGlobalSavedSearch>
                <editPerson>false</editPerson>
                <editRole>false</editRole>
                <editTask>false</editTask>
                <immediateReview>false</immediateReview>
                <publishUnreviewed>false</publishUnreviewed>
                <showTrash>false</showTrash>
                <systemAccount>false</systemAccount>
                <viewArchive>false</viewArchive>
                <viewStatistic>false</viewStatistic>
            </permissions>
        </rolesReview>
    </person>
    <sessionId>gat3IeyZjBoHMsBbkgim1KR3QCJADBpzjjA5zXlE</sessionId>
</documentLock>
×