|
||||||||||
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 |
getIdResultIsGeolocalized()
Returns -1 if not localized, 1 otherwise |
int |
getIdResultListTemplate()
return the id of the result list template |
int |
getIdResultRecordTemplate()
return the id of the record template |
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 |
isDisplayComplementarySearchState()
|
boolean |
isDisplaySearchState()
|
boolean |
isEnabled()
|
void |
setActions(java.util.List<DirectoryAction> directoryActions)
set a list of action can be use for the directory |
void |
setDateCreation(java.sql.Timestamp dateCreation)
set the creation date |
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 |
setIdResultIsGeolocalized(int nIdResultIsGeolocalized)
Put -1 if not localized, 1 otherwise |
void |
setIdResultListTemplate(int idResultListTemplate)
set the id of the result list template |
void |
setIdResultRecordTemplate(int idResultRecordTemplate)
set the id of the record template |
void |
setIdWorkflow(int nIdWorkflow)
set the id of the directory worflow |
void |
setNumberRecordPerPage(int numberRecordPerPage)
the number of record display per page |
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 getIdResultIsGeolocalized()
public void setIdResultIsGeolocalized(int nIdResultIsGeolocalized)
nIdResultIsGeolocalized
- the _nIdResultIsGeolocalized to setpublic 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 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 |