searchresults element
Type: | searchResultsDTO |
Namespace: | (default namespace) |
XML Schema: | ns0.xsd |
A wrapper for a wrapping a various lists of BaseDTO subclasses so that they can be marshalled and unmarshalled via JAXB.
This class can be used to wrap any combination of BaseDTO subclasses. If any BaseDTO subclasses defined in this class are not required, do not set them, and they will be returned to the client as null.
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<searchresults>
<userDTOs>
<username>...</username>
<originalUsername>...</originalUsername>
<password>...</password>
<firstName>...</firstName>
<lastName>...</lastName>
<email>...</email>
<userType>...</userType>
<associatedLdap>...</associatedLdap>
<publicKey>...</publicKey>
<id>...</id>
<dateCreated>...</dateCreated>
<dateLastModified>...</dateLastModified>
</userDTOs>
<userDTOs>
<!--...-->
</userDTOs>
<!--...more "userDTOs" elements...-->
<teamDTOs>
<name>...</name>
<description>...</description>
<ldapFilter>...</ldapFilter>
<parentTeam>...</parentTeam>
<associatedLdap>...</associatedLdap>
<id>...</id>
<dateCreated>...</dateCreated>
<dateLastModified>...</dateLastModified>
</teamDTOs>
<teamDTOs>
<!--...-->
</teamDTOs>
<!--...more "teamDTOs" elements...-->
<ruleDTOs>
<ruleName>...</ruleName>
<ownerTeam>...</ownerTeam>
<id>...</id>
<dateCreated>...</dateCreated>
<dateLastModified>...</dateLastModified>
</ruleDTOs>
<ruleDTOs>
<!--...-->
</ruleDTOs>
<!--...more "ruleDTOs" elements...-->
<resourcePermissionDTOs>
<permissionType>...</permissionType>
<permissionCreateType>...</permissionCreateType>
<permissionDeleteType>...</permissionDeleteType>
<path>...</path>
<ownerRule>...</ownerRule>
<ownerResource>...</ownerResource>
<repositoryName>...</repositoryName>
<repositoryType>...</repositoryType>
<resourcePath>...</resourcePath>
<ownerTeam>...</ownerTeam>
<id>...</id>
<dateCreated>...</dateCreated>
<dateLastModified>...</dateLastModified>
</resourcePermissionDTOs>
<resourcePermissionDTOs>
<!--...-->
</resourcePermissionDTOs>
<!--...more "resourcePermissionDTOs" elements...-->
</searchresults>
Example JSON
{
"userDTOs" : [ {
"username" : "...",
"originalUsername" : "...",
"password" : "...",
"firstName" : "...",
"lastName" : "...",
"email" : "...",
"userType" : "STANDARD",
"associatedLdap" : "...",
"publicKey" : "...",
"id" : "...",
"dateCreated" : ...,
"dateLastModified" : ...
}, ... ],
"teamDTOs" : [ {
"name" : "...",
"description" : "...",
"ldapFilter" : "...",
"parentTeam" : "...",
"associatedLdap" : "...",
"id" : "...",
"dateCreated" : ...,
"dateLastModified" : ...
}, ... ],
"ruleDTOs" : [ {
"ruleName" : "...",
"ownerTeam" : "...",
"id" : "...",
"dateCreated" : ...,
"dateLastModified" : ...
}, ... ],
"resourcePermissionDTOs" : [ {
"permissionType" : "INHERIT",
"permissionCreateType" : "INHERIT",
"permissionDeleteType" : "INHERIT",
"path" : "...",
"ownerRule" : "...",
"ownerResource" : "...",
"repositoryName" : "...",
"repositoryType" : "SVN",
"resourcePath" : "...",
"ownerTeam" : "...",
"id" : "...",
"dateCreated" : ...,
"dateLastModified" : ...
}, ... ]
}