Class SearchUtils

java.lang.Object
com.aducid.sdk.util.SearchUtils

public class SearchUtils
extends java.lang.Object
Search utilities. Created 3. 12. 2015 8:54:51
Author:
Radek Jira
  • Constructor Details

  • Method Details

    • getPeigs

      public static java.util.List<Peig> getPeigs​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns PEIGs list.

      Parameters:
      response - execute personal object response
      Returns:
      PEIGs list
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadUdisResult

      public static SearchResult getReadUdisResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readUdis search result.

      Parameters:
      response - execute personal object response
      Returns:
      readUdis search result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadEventsResult

      public static SearchResult getReadEventsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readEvents search result.

      Parameters:
      response - execute personal object response
      Returns:
      readEvents search result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadEventStatisticsResult

      public static SearchResult getReadEventStatisticsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readEventStatistics search result.

      Parameters:
      response - execute personal object response
      Returns:
      readEventStatistics search result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadStatisticsResult

      public static SearchResult getReadStatisticsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readStatistics search result.

      Parameters:
      response - execute personal object response
      Returns:
      readStatistics search result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadSecurityProfilesResult

      public static SearchResult getReadSecurityProfilesResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readSecurityProfiles search result.

      Parameters:
      response - execute personal object response
      Returns:
      readSecurityProfiles search result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadTrustedAimsResult

      public static java.util.List<TrustedAim> getReadTrustedAimsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readTrustedAims operation result.

      Parameters:
      response - execute personal object response
      Returns:
      readTrustedAims operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadMessageStatisticsResult

      public static MessageStatistics getReadMessageStatisticsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readMessageStatistics operation result.

      Parameters:
      response - execute personal object response
      Returns:
      readMessageStatistics operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadHomeTrustedAimsResult

      public static java.util.List<HomeTrustedAim> getReadHomeTrustedAimsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readHomeTrustedAims operation result.

      Parameters:
      response - execute personal object response
      Returns:
      readHomeTrustedAims operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadSignedAimsResult

      public static java.util.List<SignedAim> getReadSignedAimsResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readSignedAims operation result.

      Parameters:
      response - execute personal object response
      Returns:
      readSignedAims operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadTlsCertificatesResult

      public static java.util.List<TlsCertificate> getReadTlsCertificatesResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns readTlsCertificates operation result.

      Parameters:
      response - execute personal object response
      Returns:
      readTlsCertificates operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadSecurityOperationStatusResult

      public static SecurityOperationStatus getReadSecurityOperationStatusResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns security operation status.

      Parameters:
      response - execute personal object response
      Returns:
      security operation status
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getReadAimAttributesResult

      public static AimAttributes getReadAimAttributesResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns AIM attributes.

      Parameters:
      response - execute personal object response
      Returns:
      AIM attributes
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getPingRemoteAimResult

      public static PingResult getPingRemoteAimResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns ping remote AIM operation result.

      Parameters:
      response - execute personal object response
      Returns:
      ping remote AIM operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getSyncLinkedUserDataResult

      public static SyncResult getSyncLinkedUserDataResult​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns syncMyIdentityLinkedUserData/syncOthersIdentityLinkedUserData operation result.

      Parameters:
      response - execute personal object response
      Returns:
      syncMyIdentityLinkedUserData/syncOthersIdentityLinkedUserData operation result
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getSecurityProfile

      public static SecurityProfile getSecurityProfile​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns security profile.

      Parameters:
      response - execute personal object response
      Returns:
      security profile
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getStringList

      public static java.util.List<java.lang.String> getStringList​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns string list.

      Parameters:
      response - execute personal object response
      Returns:
      string list
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getPersonalObject

      public static com.aducid.iface.PersonalObjectType getPersonalObject​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns personal object.

      Parameters:
      response - execute personal object response
      Returns:
      personal object
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getPersonalObjectAttributes

      public static java.util.List<com.aducid.iface.PersonalObjectAttributeType> getPersonalObjectAttributes​(com.aducid.iface.AIMexecutePersonalObjectResponse response) throws AducidClientException

      Returns personal object attributes.

      Parameters:
      response - execute personal object response
      Returns:
      personal object attributes
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getBooleanPersonalObjectAttribute

      public static java.lang.Boolean getBooleanPersonalObjectAttribute​(com.aducid.iface.AIMexecutePersonalObjectResponse response, java.lang.String name) throws AducidClientException

      Returns boolean personal object attribute.

      Parameters:
      response - execute personal object response
      name - attribute name
      Returns:
      boolean personal object attribute
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getStringPersonalObjectAttribute

      public static java.lang.String getStringPersonalObjectAttribute​(GetPSLAttributesResponse response, java.lang.String name) throws AducidClientException

      Returns string personal object attribute.

      Parameters:
      response - get PSL attributes response
      name - attribute name
      Returns:
      string personal object attribute
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getStringPersonalObjectAttribute

      public static java.lang.String getStringPersonalObjectAttribute​(com.aducid.iface.AIMexecutePersonalObjectResponse response, java.lang.String name) throws AducidClientException

      Returns string personal object attribute.

      Parameters:
      response - execute personal object response
      name - attribute name
      Returns:
      string personal object attribute
      Throws:
      AducidClientException - when error occurs during ADUCID client call
    • getPersonalObject

      public static com.aducid.iface.PersonalObjectType getPersonalObject​(SearchFilter searchFilter)

      Converts searchFilter to personalObject.

      Parameters:
      searchFilter - search filter
      Returns:
      personal object
    • getPersonalObject

      public static com.aducid.iface.PersonalObjectType getPersonalObject​(SecurityProfile securityProfile)

      Converts securityProfile to personalObject.

      Parameters:
      securityProfile - security profile
      Returns:
      personal object