|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.Directory
public class Directory
Class Directory
Field Summary | |
---|---|
static String |
RESOURCE_TYPE
|
static String |
ROLE_NONE
|
static int |
STATE_DISABLE
|
static int |
STATE_ENABLE
|
Constructor Summary | |
---|---|
Directory()
|
Method Summary | |
---|---|
List<DirectoryAction> |
getActions()
|
Timestamp |
getDateCreation()
|
String |
getDescription()
|
String |
getFrontOfficeTitle()
|
int |
getIdDirectory()
|
int |
getIdFormSearchTemplate()
return the id of the form search template |
int |
getIdResultListTemplate()
return the id of the result list template |
int |
getIdResultRecordTemplate()
return the id of the record template |
String |
getIdSortEntry()
|
String |
getIdSortEntryFront()
return the id of the entry used for sorted |
int |
getIdWorkflow()
|
int |
getNumberRecordPerPage()
|
String |
getResourceId()
RBAC resource implementation |
String |
getResourceTypeCode()
RBAC resource implementation |
String |
getRoleKey()
Gets the directory role |
String |
getTitle()
|
String |
getUnavailabilityMessage()
|
String |
getWorkgroup()
|
StringBuffer |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
StringBuffer strListRecord,
StringBuffer strListEntry)
return the xml of the directory |
static void |
init()
Initialize the Directory |
boolean |
isAscendingSort()
|
boolean |
isAscendingSortFront()
return true if the record must be sorted by ascending sort |
boolean |
isDateModificationShownInAdvancedSearch()
|
boolean |
isDateModificationShownInExport()
|
boolean |
isDateModificationShownInHistory()
|
boolean |
isDateModificationShownInMultiSearch()
|
boolean |
isDateModificationShownInResultList()
|
boolean |
isDateModificationShownInResultRecord()
|
boolean |
isDateModificationShownInSearch()
|
boolean |
isDateShownInAdvancedSearch()
|
boolean |
isDateShownInExport()
|
boolean |
isDateShownInHistory()
|
boolean |
isDateShownInMultiSearch()
|
boolean |
isDateShownInResultList()
|
boolean |
isDateShownInResultRecord()
|
boolean |
isDateShownInSearch()
|
boolean |
isDisplayComplementarySearchState()
|
boolean |
isDisplaySearchState()
|
boolean |
isEnabled()
|
boolean |
isIndexed()
Check if the directory is indexed |
boolean |
isRecordActivated()
|
void |
setActions(List<DirectoryAction> directoryActions)
set a list of action can be use for the directory |
void |
setAscendingSort(boolean bAscendingSort)
|
void |
setAscendingSortFront(boolean bAscendingSort)
set true if the record must be sorted by ascending sort in front office |
void |
setDateCreation(Timestamp dateCreation)
set the creation date |
void |
setDateModificationShownInAdvancedSearch(boolean bDateModificationShownInAdvancedSearch)
|
void |
setDateModificationShownInExport(boolean bDateModificationShownInExport)
|
void |
setDateModificationShownInHistory(boolean bDateModificationShownInHistory)
|
void |
setDateModificationShownInMultiSearch(boolean bDateModificationShownInMultiSearch)
|
void |
setDateModificationShownInResultList(boolean bDateModificationShownInResultList)
|
void |
setDateModificationShownInResultRecord(boolean bDateModificationShownInResultRecord)
|
void |
setDateModificationShownInSearch(boolean bDateModificationShownInSearch)
|
void |
setDateShownInAdvancedSearch(boolean bDateShownInAdvancedSearch)
|
void |
setDateShownInExport(boolean bDateShownInExport)
|
void |
setDateShownInHistory(boolean bDateShownInHistory)
|
void |
setDateShownInMultiSearch(boolean bDateShownInMultiSearch)
|
void |
setDateShownInResultList(boolean bDateShownInResultList)
|
void |
setDateShownInResultRecord(boolean bDateShownInResultRecord)
|
void |
setDateShownInSearch(boolean bDateShownInSearch)
|
void |
setDescription(String description)
set the description of the directory |
void |
setDisplayComplementarySearchState(boolean displayState)
|
void |
setDisplaySearchState(boolean displayState)
|
void |
setEnabled(boolean enable)
set true if the directory is enabled |
void |
setFrontOfficeTitle(String strFrontOfficeTitle)
set the front office title of the directory |
void |
setIdDirectory(int idDirectory)
set the id of the directory |
void |
setIdFormSearchTemplate(int idFormSearchTemplate)
set the id of the form search template |
void |
setIdResultListTemplate(int idResultListTemplate)
set the id of the result list template |
void |
setIdResultRecordTemplate(int idResultRecordTemplate)
set the id of the record template |
void |
setIdSortEntry(String strIdSortEntry)
|
void |
setIdSortEntryFront(String strIdSortEntry)
set the id of the entry used for sorted |
void |
setIdWorkflow(int nIdWorkflow)
set the id of the directory worflow |
void |
setIndexed(boolean bIsIndexed)
Set indexed |
void |
setNumberRecordPerPage(int numberRecordPerPage)
the number of record display per page |
void |
setRecordActivated(boolean bRecordActivated)
|
void |
setRoleKey(String strRole)
Sets the directory's role |
void |
setTitle(String strTitle)
set the title of the directory |
void |
setUnavailabilityMessage(String unavailabilityMessage)
set the unavailability message of the directory |
void |
setWorkgroup(String workGroup)
set the work group associate to the directory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ROLE_NONE
public static final String RESOURCE_TYPE
public static final int STATE_ENABLE
public static final int STATE_DISABLE
Constructor Detail |
---|
public Directory()
Method Detail |
---|
public static void init()
public String getTitle()
public void setTitle(String strTitle)
strTitle
- the title of the directorypublic String getFrontOfficeTitle()
public void setFrontOfficeTitle(String strFrontOfficeTitle)
strFrontOfficeTitle
- the front office title of the directorypublic String getDescription()
public boolean isDisplaySearchState()
public void setDisplaySearchState(boolean displayState)
displayState
- the _bDisplaySearchState to setpublic boolean isDisplayComplementarySearchState()
public void setDisplayComplementarySearchState(boolean displayState)
displayState
- the _bDisplayComplementarySearchState to setpublic void setDescription(String description)
description
- the description of the directorypublic String getUnavailabilityMessage()
public void setUnavailabilityMessage(String unavailabilityMessage)
unavailabilityMessage
- the unavailability message of the directorypublic String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String workGroup)
workGroup
- the work group associate to the directorypublic int getIdDirectory()
public void setIdDirectory(int idDirectory)
idDirectory
- the id of the directorypublic boolean isEnabled()
public void setEnabled(boolean enable)
enable
- true if the directory is enabledpublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation
- the creation datepublic String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public List<DirectoryAction> getActions()
public void setActions(List<DirectoryAction> directoryActions)
directoryActions
- a list of action must be use for the directorypublic String getRoleKey()
public void setRoleKey(String strRole)
strRole
- The rolepublic int getIdResultListTemplate()
public void setIdResultListTemplate(int idResultListTemplate)
idResultListTemplate
- the id of the result list templatepublic int getIdResultRecordTemplate()
public void setIdResultRecordTemplate(int idResultRecordTemplate)
idResultRecordTemplate
- the id of the record templatepublic int getIdFormSearchTemplate()
public int getNumberRecordPerPage()
public void setNumberRecordPerPage(int numberRecordPerPage)
numberRecordPerPage
- the number of record display per pagepublic void setIdFormSearchTemplate(int idFormSearchTemplate)
idFormSearchTemplate
- the id of the form search templatepublic int getIdWorkflow()
public void setIdWorkflow(int nIdWorkflow)
strTitle
- the id of the directory worflowpublic boolean isDateShownInResultList()
public void setDateShownInResultList(boolean bDateShownInResultList)
public boolean isDateShownInResultRecord()
public void setDateShownInResultRecord(boolean bDateShownInResultRecord)
public boolean isDateShownInHistory()
public void setDateShownInHistory(boolean bDateShownInHistory)
public boolean isDateShownInSearch()
public void setDateShownInSearch(boolean bDateShownInSearch)
public boolean isDateShownInAdvancedSearch()
public void setDateShownInAdvancedSearch(boolean bDateShownInAdvancedSearch)
public boolean isDateShownInMultiSearch()
public void setDateShownInMultiSearch(boolean bDateShownInMultiSearch)
public boolean isDateShownInExport()
public void setDateShownInExport(boolean bDateShownInExport)
public boolean isDateModificationShownInResultList()
public void setDateModificationShownInResultList(boolean bDateModificationShownInResultList)
public boolean isDateModificationShownInResultRecord()
public void setDateModificationShownInResultRecord(boolean bDateModificationShownInResultRecord)
public boolean isDateModificationShownInHistory()
public void setDateModificationShownInHistory(boolean bDateModificationShownInHistory)
public boolean isDateModificationShownInSearch()
public void setDateModificationShownInSearch(boolean bDateModificationShownInSearch)
public boolean isDateModificationShownInAdvancedSearch()
public void setDateModificationShownInAdvancedSearch(boolean bDateModificationShownInAdvancedSearch)
public boolean isDateModificationShownInMultiSearch()
public void setDateModificationShownInMultiSearch(boolean bDateModificationShownInMultiSearch)
public boolean isDateModificationShownInExport()
public void setDateModificationShownInExport(boolean bDateModificationShownInExport)
public boolean isAscendingSort()
public void setAscendingSort(boolean bAscendingSort)
public String getIdSortEntry()
public void setIdSortEntry(String strIdSortEntry)
public boolean isAscendingSortFront()
public void setAscendingSortFront(boolean bAscendingSort)
bAscendingSort
- return true if the record must be sorted by ascending sortpublic String getIdSortEntryFront()
public void setIdSortEntryFront(String strIdSortEntry)
strIdSortEntry
- the id of the entry used for sortedpublic boolean isRecordActivated()
public void setRecordActivated(boolean bRecordActivated)
public StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, StringBuffer strListRecord, StringBuffer strListEntry)
plugin
- the pluginlocale
- the localestrListRecord
- the string list of record associate to the directorystrListEntry
- the string list of entry associate to the directory
public void setIndexed(boolean bIsIndexed)
bIsIndexed
- true if the directory is indexed, false otherwisepublic boolean isIndexed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |