|
||||||||||
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 java.lang.String |
RESOURCE_TYPE
|
static java.lang.String |
ROLE_NONE
|
static int |
STATE_DISABLE
|
static int |
STATE_ENABLE
|
Constructor Summary | |
---|---|
Directory()
|
Method Summary | |
---|---|
java.util.List<DirectoryAction> |
getActions()
|
java.sql.Timestamp |
getDateCreation()
|
java.lang.String |
getDescription()
|
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 |
java.lang.String |
getIdSortEntry()
|
int |
getIdWorkflow()
|
int |
getNumberRecordPerPage()
|
java.lang.String |
getResourceId()
RBAC resource implementation |
java.lang.String |
getResourceTypeCode()
RBAC resource implementation |
java.lang.String |
getRoleKey()
Gets the directory role |
java.lang.String |
getTitle()
|
java.lang.String |
getUnavailabilityMessage()
|
java.lang.String |
getWorkgroup()
|
java.lang.StringBuffer |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale,
java.lang.StringBuffer strListRecord,
java.lang.StringBuffer strListEntry)
return the xml of the directory |
static void |
init()
Initialize the Directory |
boolean |
isAscendingSort()
|
boolean |
isDateShownInAdvancedSearch()
|
boolean |
isDateShownInExport()
|
boolean |
isDateShownInHistory()
|
boolean |
isDateShownInMultiSearch()
|
boolean |
isDateShownInResultList()
|
boolean |
isDateShownInResultRecord()
|
boolean |
isDateShownInSearch()
|
boolean |
isDisplayComplementarySearchState()
|
boolean |
isDisplaySearchState()
|
boolean |
isEnabled()
|
boolean |
isRecordActivated()
|
void |
setActions(java.util.List<DirectoryAction> directoryActions)
set a list of action can be use for the directory |
void |
setAscendingSort(boolean bAscendingSort)
|
void |
setDateCreation(java.sql.Timestamp dateCreation)
set the creation date |
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(java.lang.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 |
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(java.lang.String strIdSortEntry)
|
void |
setIdWorkflow(int nIdWorkflow)
set the id of the directory worflow |
void |
setNumberRecordPerPage(int numberRecordPerPage)
the number of record display per page |
void |
setRecordActivated(boolean bRecordActivated)
|
void |
setRoleKey(java.lang.String strRole)
Sets the directory's role |
void |
setTitle(java.lang.String strTitle)
set the title of the directory |
void |
setUnavailabilityMessage(java.lang.String unavailabilityMessage)
set the unavailability message of the directory |
void |
setWorkgroup(java.lang.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 java.lang.String ROLE_NONE
public static final java.lang.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 java.lang.String getTitle()
public void setTitle(java.lang.String strTitle)
strTitle
- the title of the directorypublic java.lang.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(java.lang.String description)
description
- the description of the directorypublic java.lang.String getUnavailabilityMessage()
public void setUnavailabilityMessage(java.lang.String unavailabilityMessage)
unavailabilityMessage
- the unavailability message of the directorypublic java.lang.String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(java.lang.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 java.sql.Timestamp getDateCreation()
public void setDateCreation(java.sql.Timestamp dateCreation)
dateCreation
- the creation datepublic java.lang.String getResourceTypeCode()
getResourceTypeCode
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.lang.String getResourceId()
getResourceId
in interface fr.paris.lutece.portal.service.rbac.RBACResource
public java.util.List<DirectoryAction> getActions()
public void setActions(java.util.List<DirectoryAction> directoryActions)
directoryActions
- a list of action must be use for the directorypublic java.lang.String getRoleKey()
public void setRoleKey(java.lang.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 isAscendingSort()
public void setAscendingSort(boolean bAscendingSort)
public java.lang.String getIdSortEntry()
public void setIdSortEntry(java.lang.String strIdSortEntry)
public boolean isRecordActivated()
public void setRecordActivated(boolean bRecordActivated)
public java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, java.lang.StringBuffer strListRecord, java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |