Class CswsConnector.UserInformation

  • Enclosing class:
    CswsConnector

    protected class CswsConnector.UserInformation
    extends java.lang.Object
    This object represents a cache of user information. Initialize it with the user ID. Then, request desired fields from it.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean fetched  
      protected long userID  
      protected com.opentext.livelink.service.memberservice.Member userValue  
    • Constructor Summary

      Constructors 
      Constructor Description
      UserInformation​(long userID)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      boolean exists()  
      java.lang.String getName()  
      protected com.opentext.livelink.service.memberservice.Member getUserValue()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • userID

        protected final long userID
      • fetched

        protected boolean fetched
      • userValue

        protected com.opentext.livelink.service.memberservice.Member userValue
    • Constructor Detail

      • UserInformation

        public UserInformation​(long userID)
    • Method Detail

      • exists

        public boolean exists()
                       throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                              org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getName

        public java.lang.String getName()
                                 throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                        org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • getUserValue

        protected com.opentext.livelink.service.memberservice.Member getUserValue()
                                                                           throws org.apache.manifoldcf.agents.interfaces.ServiceInterruption,
                                                                                  org.apache.manifoldcf.core.interfaces.ManifoldCFException
        Throws:
        org.apache.manifoldcf.agents.interfaces.ServiceInterruption
        org.apache.manifoldcf.core.interfaces.ManifoldCFException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object