fr.paris.lutece.plugins.directory.business
Class EntryFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.EntryFilter

public class EntryFilter
extends java.lang.Object

class EntryFilter


Field Summary
static int ALL_INT
           
static java.lang.String ALL_STRING
           
static int FILTER_FALSE
           
static int FILTER_TRUE
           
 
Constructor Summary
EntryFilter()
           
 
Method Summary
 boolean containsIdDirectory()
           
 boolean containsIdEntryAssociate()
           
 boolean containsIdEntryParent()
           
 boolean containsIdType()
           
 boolean containsIsAutocompleteEntry()
           
 boolean containsIsComment()
           
 boolean containsIsEntryParentNull()
           
 boolean containsIsGroup()
           
 boolean containsIsIndexed()
           
 boolean containsIsMyLuteceUser()
           
 boolean containsIsRoleAssociated()
           
 boolean containsIsShownInExport()
           
 boolean containsIsShownInHistory()
           
 boolean containsIsShownInResultList()
           
 boolean containsIsShownInResultRecord()
           
 boolean containsIsWorkgroupAssociated()
           
 boolean containsPosition()
           
 int getIdDirectory()
           
 int getIdEntryAssociate()
           
 int getIdEntryParent()
           
 int getIdType()
           
 int getIsAutocompleteEntry()
           
 int getIsComment()
           
 int getIsEntryParentNull()
           
 int getIsGroup()
           
 int getIsIndexed()
           
 int getIsMyLuteceUser()
           
 int getIsRoleAssociated()
           
 int getIsShownInExport()
           
 int getIsShownInHistory()
           
 int getIsShownInResultList()
           
 int getIsShownInResultRecord()
           
 int getIsWorkgroupAssociated()
           
 int getPosition()
           
 void setIdDirectory(int idDirectory)
          set the id of the directory in the filter
 void setIdEntryAssociate(int idType)
          set the entry associate id
 void setIdEntryParent(int idEntryParent)
          set the id of parent entry
 void setIdType(int idType)
          set the entry type id
 void setIsAutocompleteEntry(int nIsAutocompleteEntry)
          set 1 if the entry associate to the record field is autocompleted, O if the entry associate to the record field is autocompleted
 void setIsComment(int isComment)
          set 1 if the entry must be a comment,0 if the entry must not be a comment
 void setIsEntryParentNull(int nEntryParentNull)
          set 1 if parent entry must be null 0 if parent entry must not be null
 void setIsGroup(int isGroup)
          set 1 if the entry must be a group,0 if the entry must not a group
 void setIsIndexed(int isIndexed)
          set 1 if the entry must be indexed,0 if the entry must not be a indexed
 void setIsMyLuteceUser(int isMyLuteceUser)
          set 1 if the entry must be a MyluteceUser,0 if the entry must not be a MyluteceUser
 void setIsRoleAssociated(int isRoleAssociated)
          set 1 if the entry must be associated with role,0 if the entry must not be associated with role
 void setIsShownInExport(int nIsShownInExport)
          set 1 if the entry associate to the record field is shown in export, O if the entry associate to the record field is shown in export
 void setIsShownInHistory(int nIsShown)
          set 1 if the entry associate to the record field must be in the history, O if the entry associate to the record field must not be in the history
 void setIsShownInResultList(int nIsShown)
          set 1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list
 void setIsShownInResultRecord(int nIsShownInResultRecord)
          set 1 if the entry associate to the record field must be in the result record, 0 if the entry associate to the record field must not be in the result record
 void setIsWorkgroupAssociated(int isWorkgroupAssociated)
          set 1 if the entry must be associated with workgroup ,0 if the entry must not be associated with workgroup
 void setPosition(int nPosition)
          set position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_STRING

public static final java.lang.String ALL_STRING
See Also:
Constant Field Values

ALL_INT

public static final int ALL_INT
See Also:
Constant Field Values

FILTER_FALSE

public static final int FILTER_FALSE
See Also:
Constant Field Values

FILTER_TRUE

public static final int FILTER_TRUE
See Also:
Constant Field Values
Constructor Detail

EntryFilter

public EntryFilter()
Method Detail

getPosition

public int getPosition()
Returns:
the position

setPosition

public void setPosition(int nPosition)
set position

Parameters:
nPosition - the position

containsPosition

public boolean containsPosition()
Returns:
true if the filter contain an position

getIdEntryAssociate

public int getIdEntryAssociate()
Returns:
the entry associate id

setIdEntryAssociate

public void setIdEntryAssociate(int idType)
set the entry associate id

Parameters:
idEntryAssociate - the entry associate

containsIdEntryAssociate

public boolean containsIdEntryAssociate()
Returns:
true if the filter contain an entry associate id

getIdType

public int getIdType()
Returns:
the entry type id

setIdType

public void setIdType(int idType)
set the entry type id

Parameters:
idType - the entry typr

containsIdType

public boolean containsIdType()
Returns:
true if the filter contain an entry type id

getIdDirectory

public int getIdDirectory()
Returns:
the id of the directory insert in the filter

setIdDirectory

public void setIdDirectory(int idDirectory)
set the id of the directory in the filter

Parameters:
idDirectory - the id of the directory to insert in the filter

containsIdDirectory

public boolean containsIdDirectory()
Returns:
true if the filter contain an id of form

getIdEntryParent

public int getIdEntryParent()
Returns:
the id of parent entry insert in the filter

setIdEntryParent

public void setIdEntryParent(int idEntryParent)
set the id of parent entry

Parameters:
idEntryParent - the id of parent entry to insert in the filter

containsIdEntryParent

public boolean containsIdEntryParent()
Returns:
true if the filter contain an parent id

getIsEntryParentNull

public int getIsEntryParentNull()
Returns:
1 if the entry parent must be null,0 if the entry parent must not be null

setIsEntryParentNull

public void setIsEntryParentNull(int nEntryParentNull)
set 1 if parent entry must be null 0 if parent entry must not be null

Parameters:
nEntryParentNull - 1 if parent entry must be null 0 if parent entry must not be null

containsIsEntryParentNull

public boolean containsIsEntryParentNull()
Returns:
true if the filter is initialized

getIsGroup

public int getIsGroup()
Returns:
1 if the entry must be a group,0 if the entry must not be a group

setIsGroup

public void setIsGroup(int isGroup)
set 1 if the entry must be a group,0 if the entry must not a group

Parameters:
isGroup - 1 if the entry must be a group,0 if the entry must not be a group

containsIsGroup

public boolean containsIsGroup()
Returns:
true if the filter is initialized

getIsComment

public int getIsComment()
Returns:
1 if the entry must be a comment,0 if the entry must not be a comment

setIsComment

public void setIsComment(int isComment)
set 1 if the entry must be a comment,0 if the entry must not be a comment

Parameters:
isComment - 1 if the entry must be a comment,0 if the entry must not be a comment

containsIsComment

public boolean containsIsComment()
Returns:
true if the entry must be a comment or must not be a comment

getIsShownInResultList

public int getIsShownInResultList()
Returns:
1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list

setIsShownInResultList

public void setIsShownInResultList(int nIsShown)
set 1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list

Parameters:
nIsShown - 1 if the entry associate to the record field must be in the result list

containsIsShownInResultList

public boolean containsIsShownInResultList()
Returns:
true if the filter is initialized

getIsShownInResultRecord

public int getIsShownInResultRecord()
Returns:
1 if the entry associate to the record field must be in the result record, 0 if the entry associate to the record field must not be in the result record

setIsShownInResultRecord

public void setIsShownInResultRecord(int nIsShownInResultRecord)
set 1 if the entry associate to the record field must be in the result record, 0 if the entry associate to the record field must not be in the result record

Parameters:
nIsShownInResultRecord - 1 if the entry associate to the record field must be in the result list

containsIsShownInResultRecord

public boolean containsIsShownInResultRecord()
Returns:
true if the filter is initialized

getIsShownInHistory

public int getIsShownInHistory()
Returns:
1 if the entry associate to the record field must be in the history, O if the entry associate to the record field must not be in the history

setIsShownInHistory

public void setIsShownInHistory(int nIsShown)
set 1 if the entry associate to the record field must be in the history, O if the entry associate to the record field must not be in the history

Parameters:
nIsShown - 1 if the entry associate to the record field must be in the history

containsIsShownInHistory

public boolean containsIsShownInHistory()
Returns:
true if the filter is initialized

getIsAutocompleteEntry

public int getIsAutocompleteEntry()
Returns:
1 if the entry associate to the record field is autocompleted, O if the entry associate to the record field is autocompleted

setIsAutocompleteEntry

public void setIsAutocompleteEntry(int nIsAutocompleteEntry)
set 1 if the entry associate to the record field is autocompleted, O if the entry associate to the record field is autocompleted

Parameters:
nIsShown - 1 if the entry associate to the record field is autocompleted

containsIsAutocompleteEntry

public boolean containsIsAutocompleteEntry()
Returns:
true if the filter is initialized

getIsIndexed

public int getIsIndexed()
Returns:
1 if the entry must be indexed,0 if the entry must not be indexed

setIsIndexed

public void setIsIndexed(int isIndexed)
set 1 if the entry must be indexed,0 if the entry must not be a indexed

Parameters:
isIndexed - 1 if the entry must be indexed,0 if the entry must not be indexed

containsIsIndexed

public boolean containsIsIndexed()
Returns:
true if the entry must be indexed or must not be indexed

getIsWorkgroupAssociated

public int getIsWorkgroupAssociated()
Returns:
1 if the entry must be associated with workgroup ,0 if the entry must not be associated with workgroup

setIsWorkgroupAssociated

public void setIsWorkgroupAssociated(int isWorkgroupAssociated)
set 1 if the entry must be associated with workgroup ,0 if the entry must not be associated with workgroup

Parameters:
isWorkgroupAssociated - 1 if the entry must be associated with workgroup ,0 if the entry must not be associated with workgroup

containsIsWorkgroupAssociated

public boolean containsIsWorkgroupAssociated()
Returns:
true if the entry must be associated with workgroup or must not be associated with workgroup

getIsRoleAssociated

public int getIsRoleAssociated()
Returns:
1 if the entry must be associated with role ,0 if the entry must not be associated with role

setIsRoleAssociated

public void setIsRoleAssociated(int isRoleAssociated)
set 1 if the entry must be associated with role,0 if the entry must not be associated with role

Parameters:
isRoleAssociated - 1 if the entry must be associated with role ,0 if the entry must not be associated with role

containsIsRoleAssociated

public boolean containsIsRoleAssociated()
Returns:
true if the entry must be associated with role or must not be associated with role

getIsShownInExport

public int getIsShownInExport()
Returns:
1 if the entry associate to the record field is shown in export, O if the entry associate to the record field is shown in export

setIsShownInExport

public void setIsShownInExport(int nIsShownInExport)
set 1 if the entry associate to the record field is shown in export, O if the entry associate to the record field is shown in export

Parameters:
nIsShown - 1 if the entry associate to the record field is shown in export

containsIsShownInExport

public boolean containsIsShownInExport()
Returns:
true if the filter is initialized

getIsMyLuteceUser

public int getIsMyLuteceUser()
Returns:
1 if the entry must be a MyluteceUser,0 if the entry must not be a MyluteceUser

setIsMyLuteceUser

public void setIsMyLuteceUser(int isMyLuteceUser)
set 1 if the entry must be a MyluteceUser,0 if the entry must not be a MyluteceUser

Parameters:
isMyLuteceUser - 1 if the entry must be a MyluteceUser,0 if the entry must not be a MyluteceUser

containsIsMyLuteceUser

public boolean containsIsMyLuteceUser()
Returns:
true if the entry must be a MyluteceUser or must not be a MyluteceUser


Copyright © 2011 Mairie de Paris. All Rights Reserved.