com.evolveum.midpoint.prism.query
Class OrgFilter

java.lang.Object
  extended by com.evolveum.midpoint.prism.query.ObjectFilter
      extended by com.evolveum.midpoint.prism.query.OrgFilter
All Implemented Interfaces:
DebugDumpable, Dumpable, java.io.Serializable

public class OrgFilter
extends ObjectFilter

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
OrgFilter(PrismReferenceValue baseOrgRef, java.lang.Integer minDepth, java.lang.Integer maxDepth)
           
 
Method Summary
static OrgFilter createOrg(PrismReferenceValue baseOrgRef, java.lang.Integer minDepth, java.lang.Integer maxDepth)
           
static OrgFilter createOrg(java.lang.String baseOrgRef)
           
static OrgFilter createOrg(java.lang.String baseOrgOid, java.lang.Integer minDepth, java.lang.Integer maxDepth)
           
 java.lang.String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 java.lang.String debugDump(int indent)
           
 java.lang.String dump()
          Show the content of the object intended for diagnostics by developer.
 java.lang.Integer getMaxDepth()
           
 java.lang.Integer getMinDepth()
           
 PrismReferenceValue getOrgRef()
           
 void setMaxDepth(java.lang.Integer maxDepth)
           
 void setMinDepth(java.lang.Integer minDepth)
           
 void setOrgRef(PrismReferenceValue baseOrgRef)
           
 java.lang.String toString()
           
 
Methods inherited from class com.evolveum.midpoint.prism.query.ObjectFilter
getExpression, setExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrgFilter

public OrgFilter(PrismReferenceValue baseOrgRef,
                 java.lang.Integer minDepth,
                 java.lang.Integer maxDepth)
Method Detail

createOrg

public static OrgFilter createOrg(PrismReferenceValue baseOrgRef,
                                  java.lang.Integer minDepth,
                                  java.lang.Integer maxDepth)

createOrg

public static OrgFilter createOrg(java.lang.String baseOrgOid,
                                  java.lang.Integer minDepth,
                                  java.lang.Integer maxDepth)

createOrg

public static OrgFilter createOrg(java.lang.String baseOrgRef)

getOrgRef

public PrismReferenceValue getOrgRef()

setOrgRef

public void setOrgRef(PrismReferenceValue baseOrgRef)

getMinDepth

public java.lang.Integer getMinDepth()

setMinDepth

public void setMinDepth(java.lang.Integer minDepth)

getMaxDepth

public java.lang.Integer getMaxDepth()

setMaxDepth

public void setMaxDepth(java.lang.Integer maxDepth)

dump

public java.lang.String dump()
Description copied from interface: Dumpable
Show the content of the object intended for diagnostics by developer. The content may be multi-line, in case of hierarchical objects it may be intended. The use of this method may not be efficient. It is not supposed to be used in normal operation. However, it is very useful in tests or in case of dumping objects in severe error situations.

Returns:
content of the object intended for diagnostics.

debugDump

public java.lang.String debugDump()
Description copied from interface: DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.

Returns:
content of the object intended for diagnostics by system administrator.

debugDump

public java.lang.String debugDump(int indent)

toString

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


Copyright © 2012 evolveum. All Rights Reserved.