|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.service.DirectoryService
public class DirectoryService
FormService
| Constructor Summary | |
|---|---|
DirectoryService()
|
|
| Method Summary | |
|---|---|
java.util.List<Field> |
getFieldsListFromIdEntry(int nIdEntry)
Get the list of fields from a given id entry |
static DirectoryService |
getInstance()
Returns the instance of the singleton |
java.util.Map<java.lang.String,java.lang.Object> |
getManageAdvancedParameters(fr.paris.lutece.portal.business.user.AdminUser user)
Build the advanced parameters management |
int |
getMaxNumber(IEntry entry)
Get the max number |
java.util.Map<java.lang.String,java.lang.String> |
getModelForEntryForXml(IEntry entry)
Get the model for entry for xml |
int |
getNumber(IEntry entry,
java.lang.String strNumber)
Get the number to insert to the entry type numbering. |
int |
getRecordsCount(Directory directory,
fr.paris.lutece.portal.business.user.AdminUser user)
Get the records count |
fr.paris.lutece.portal.service.security.LuteceUser |
getUserFromIdDirectoryRecord(int nIdDirectoryRecord)
Get the user from the id directory record |
fr.paris.lutece.util.ReferenceList |
getUserInfo(fr.paris.lutece.portal.service.security.LuteceUser user)
Get the user info |
java.lang.String |
getWSRestUrl(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the WS rest url from a given entry |
void |
init()
Initialize the Form service |
void |
removeAsynchronousFile(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove asynchronous file |
boolean |
showXY(IEntry entry)
Check if the entry must show the X and Y or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryService()
| Method Detail |
|---|
public void init()
public static DirectoryService getInstance()
public java.util.Map<java.lang.String,java.lang.Object> getManageAdvancedParameters(fr.paris.lutece.portal.business.user.AdminUser user)
user - the current user
public int getRecordsCount(Directory directory,
fr.paris.lutece.portal.business.user.AdminUser user)
directory - the Directoryuser - the AdminUser
public fr.paris.lutece.portal.service.security.LuteceUser getUserFromIdDirectoryRecord(int nIdDirectoryRecord)
nIdDirectoryRecord - the id directory record
LuteceUser, null if the directory record is not a MyLutece entrypublic fr.paris.lutece.util.ReferenceList getUserInfo(fr.paris.lutece.portal.service.security.LuteceUser user)
user - LuteceUser
public int getMaxNumber(IEntry entry)
nIdEntryTypeNumbering - the id entry type numberingnIdDirectory - the id directory
public int getNumber(IEntry entry,
java.lang.String strNumber)
throws DirectoryErrorException
entry - the entry type numberingstrNumber - the number to insert
DirectoryErrorException - exception if the number already exists on an another record fieldpublic java.util.List<Field> getFieldsListFromIdEntry(int nIdEntry)
nIdEntry - the id entry
public java.util.Map<java.lang.String,java.lang.String> getModelForEntryForXml(IEntry entry)
entry - the entry
public boolean showXY(IEntry entry)
public void removeAsynchronousFile(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - the record fieldplugin - the plugin
public java.lang.String getWSRestUrl(IEntry entry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
entry - the entryplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||