com.evolveum.midpoint.prism.query
Class ObjectPaging

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

public class ObjectPaging
extends Object
implements Dumpable, DebugDumpable, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Method Summary
 ObjectPaging clone()
           
static ObjectPaging createEmptyPaging()
           
static ObjectPaging createPaging(Integer offset, Integer maxSize)
           
static ObjectPaging createPaging(Integer offset, Integer maxSize, QName orderBy, OrderDirection direction)
           
static ObjectPaging createPaging(Integer offset, Integer maxSize, String orderBy, String namespace, OrderDirection direction)
           
 String debugDump()
          Show the content of the object intended for diagnostics by system administrator.
 String debugDump(int indent)
           
 String dump()
          Show the content of the object intended for diagnostics by developer.
 OrderDirection getDirection()
           
 Integer getMaxSize()
           
 Integer getOffset()
           
 QName getOrderBy()
           
 void setDirection(OrderDirection direction)
           
 void setMaxSize(Integer maxSize)
           
 void setOffset(Integer offset)
           
 void setOrderBy(QName orderBy)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createPaging

public static ObjectPaging createPaging(Integer offset,
                                        Integer maxSize)

createPaging

public static ObjectPaging createPaging(Integer offset,
                                        Integer maxSize,
                                        QName orderBy,
                                        OrderDirection direction)

createPaging

public static ObjectPaging createPaging(Integer offset,
                                        Integer maxSize,
                                        String orderBy,
                                        String namespace,
                                        OrderDirection direction)

createEmptyPaging

public static ObjectPaging createEmptyPaging()

getDirection

public OrderDirection getDirection()

setDirection

public void setDirection(OrderDirection direction)

getOffset

public Integer getOffset()

setOffset

public void setOffset(Integer offset)

getOrderBy

public QName getOrderBy()

setOrderBy

public void setOrderBy(QName orderBy)

getMaxSize

public Integer getMaxSize()

setMaxSize

public void setMaxSize(Integer maxSize)

clone

public ObjectPaging clone()
Overrides:
clone in class Object

debugDump

public 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.

Specified by:
debugDump in interface DebugDumpable
Returns:
content of the object intended for diagnostics by system administrator.

debugDump

public String debugDump(int indent)
Specified by:
debugDump in interface DebugDumpable

dump

public 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.

Specified by:
dump in interface Dumpable
Returns:
content of the object intended for diagnostics.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 evolveum. All Rights Reserved.