|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CStockage.spacesPersonalization.PersonalizationTool
Id: PersonalizationTool.java,v 1.0 13 janv. 2005 Copyright (c) 2005 Esup Portail (www.esup-portail.org) Classes: PersonalizationTool Original Author: Yohan Colmant This class is a tool used to manage the sharing actions
Field Summary | |
static java.lang.String |
ADMINISTRATED_SERVER
If the server into the database is administrated |
Constructor Summary | |
PersonalizationTool()
Constructor |
Method Summary | |
void |
addStorageUsersPreferences(java.lang.String id,
java.lang.String userKey)
Add a user preference into the database from a user |
void |
delStorageUsersPreferences(java.lang.String id)
Delete users preferences for a shared space from the database |
void |
delStorageUsersPreferencesForUser(java.lang.String id,
java.lang.String userKey)
Delete a user preference from the database |
java.util.Vector |
getAvailableSpacesForAll(java.lang.String userPortalLogin,
boolean obliged)
Get the available spaces for a group |
java.util.Vector |
getAvailableSpacesForGroup(java.lang.String targetKey,
java.lang.String userPortalLogin,
boolean obliged)
Get the available spaces for a group |
java.util.Vector |
getAvailableSpacesForUser(java.lang.String targetKey,
java.lang.String userPortalLogin,
boolean obliged)
Get the available spaces for a user |
java.util.Vector |
getKeyOfSpacesFromPreferences(java.lang.String target)
Get the list of ids of spaces which has already been selected by the current user from users table |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ADMINISTRATED_SERVER
Constructor Detail |
public PersonalizationTool() throws PropertiesException
PropertiesException
Method Detail |
public java.util.Vector getAvailableSpacesForUser(java.lang.String targetKey, java.lang.String userPortalLogin, boolean obliged) throws DataBaseException, PropertiesException, ServerException
targetKey
- the key of the targetuserPortalLogin
- the login of the user in the portal
DataBaseException
PropertiesException
ServerException
public java.util.Vector getAvailableSpacesForGroup(java.lang.String targetKey, java.lang.String userPortalLogin, boolean obliged) throws DataBaseException, PropertiesException, ServerException
targetKey
- the key of the target
DataBaseException
PropertiesException
ServerException
public java.util.Vector getAvailableSpacesForAll(java.lang.String userPortalLogin, boolean obliged) throws DataBaseException, PropertiesException, ServerException
userPortalLogin
- the login of the portal's userobliged
- if the user is obliged to see the space
DataBaseException
PropertiesException
ServerException
public void delStorageUsersPreferencesForUser(java.lang.String id, java.lang.String userKey) throws DataBaseException
id
- the id of the sharement in the other databaseuserKey
- the key of the user
DataBaseException
public void delStorageUsersPreferences(java.lang.String id) throws DataBaseException
id
- the id of the sharement in the other database
DataBaseException
public void addStorageUsersPreferences(java.lang.String id, java.lang.String userKey) throws DataBaseException
id
- the id of the sharement in the other databaseuserKey
- the login of the user in the portal
DataBaseException
public java.util.Vector getKeyOfSpacesFromPreferences(java.lang.String target) throws DataBaseException
target
- the user or group target key
DataBaseException
|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |