public static class OwSort.OwSortCriteria extends Object
Sort criteria tuple containing property and order direction.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_fAsc
sort direction true = ascending, false = descending
|
protected String |
m_strPropertyName
name of the property which should be used in the sort
|
Constructor and Description |
---|
OwSort.OwSortCriteria(String strPropertyName_p,
boolean fAsc_p)
constructs a sort criteria for the specified property
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
getAscFlag()
get the sort direction true = ascending, false = descending
|
String |
getPropertyName()
get the name of the property which should be used in the sort
|
String |
toString() |
protected String m_strPropertyName
protected boolean m_fAsc
public OwSort.OwSortCriteria(String strPropertyName_p, boolean fAsc_p)
strPropertyName_p
- the property to sort forfAsc_p
- sort order true = ascending, false = descendingpublic String getPropertyName()
public boolean getAscFlag()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.