nl.gx.webmanager.cms.mediarepository
Interface MediaItemSortOptions


public interface MediaItemSortOptions

Represents the media item sort options.


Nested Class Summary
static class MediaItemSortOptions.SortBy
          Sort options.
 
Method Summary
 MediaItemSortOptions.SortBy getOption()
          Returns the sort option.
 boolean isAscending()
          Returns true if sort order is ascending or false if it is descending.
 void setAscending(boolean ascending)
          Sets the sort order.
 void setOption(MediaItemSortOptions.SortBy sort)
          Sets the sort option.
 

Method Detail

isAscending

boolean isAscending()
Returns true if sort order is ascending or false if it is descending.

Returns:
true if sort order is ascending, false otherwise

setAscending

void setAscending(boolean ascending)
Sets the sort order. If set to true, sort order is set to ascending, otherwise it is descending.

Parameters:
ascending - the sort order to set, true for ascending or false for descending

getOption

MediaItemSortOptions.SortBy getOption()
Returns the sort option.

Returns:
the sort option

setOption

void setOption(MediaItemSortOptions.SortBy sort)
Sets the sort option.

Parameters:
sort - the sort option to set


Copyright © 2007-2011 GX Software BV. All Rights Reserved.