|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.stratelia.silverpeas.pdcPeas.control.PdcSessionController
public class PdcSessionController
Field Summary |
---|
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
---|
CHARACTER_ENCODING, context |
Constructor Summary | |
---|---|
PdcSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext,
String multilangBundle,
String iconBundle)
Constructor declaration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PdcSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext, String multilangBundle, String iconBundle)
mainSessionCtrl
- componentContext
-
Method Detail |
---|
public ArrayList<String> getComponentList()
public boolean isPDCAdmin()
public void setCurrentLanguage(String language)
public String getCurrentLanguage()
public void setCurrentView(String view)
public String getCurrentView()
public Axis getCurrentAxis()
public Value getCurrentValue()
public void resetCurrentValue()
public int getNbMaxAxis() throws PdcException
PdcException
public List<AxisHeader> getPrimaryAxis() throws PdcException
PdcException
public List<AxisHeader> getSecondaryAxis() throws PdcException
PdcException
public List<AxisHeader> getAxis() throws PdcException
PdcException
public boolean isCreationAllowed() throws PdcException
PdcException
public int createAxis(AxisHeader axisHeader) throws PdcException
PdcException
public int updateAxis(AxisHeader axisHeader) throws PdcException
PdcException
public void deleteAxis(String axisId) throws PdcException
PdcException
public Axis getAxisDetail(String axisId) throws PdcException
PdcException
public Value getAxisValue(String valueId) throws PdcException
PdcException
public Value getAxisValue(String valueId, boolean setAsCurrentValue) throws PdcException
PdcException
public void setValuesToPdcAddAPosteriori(String values)
public String getValuesToPdcAddAPosteriori()
public int insertMotherValue(Value value) throws PdcException
PdcException
public int moveCurrentValueToNewFatherId(String newFatherId, int orderNumber) throws PdcException
PdcException
public int createDaughterValue(Value value) throws PdcException
PdcException
public int updateValue(Value value) throws PdcException
PdcException
public void deleteValueAndSubtree(String valueId) throws PdcException
PdcException
public String deleteValue(String valueId) throws PdcException
PdcException
public List getFullPath(String valueId) throws PdcException
valueId
- - the id of the selected value (valueId is not empty)
PdcException
public String initUserPanelForPdcManager() throws RemoteException, PdcException, SQLException
RemoteException
PdcException
SQLException
public void updateManager() throws PdcException, SQLException
PdcException
SQLException
public Value getValue(String axisId, String valueId) throws PdcException
PdcException
public List getManagers() throws PdcException, SQLException
PdcException
SQLException
public List getManagers(String axisId, String valueId) throws PdcException, SQLException
Value
-
PdcException
SQLException
public List getInheritedManagers(Value value) throws PdcException, SQLException
Value
-
PdcException
- , SQLException
SQLException
public List<String> getRights() throws PdcException, SQLException
PdcException
- , SQLException
SQLException
public boolean isValueManager() throws PdcException, SQLException
PdcException
SQLException
public boolean isAxisManager() throws PdcException, SQLException
PdcException
SQLException
public boolean isAxisManager(String axisId) throws PdcException, SQLException
PdcException
SQLException
public boolean isValueManager(String axisId, String valueId) throws PdcException, SQLException
PdcException
SQLException
public boolean isManager(String axisId, String valueId) throws PdcException, SQLException
PdcException
SQLException
public boolean isInheritedManager() throws PdcException, SQLException
PdcException
SQLException
public List<String> getAxisManageables() throws PdcException, SQLException
PdcException
SQLException
public void setManagers(List userIds, List groupIds) throws PdcException, SQLException
ArrayList
- usersIdArrayList
- groupsId
PdcException
SQLException
public void eraseManagers() throws PdcException, SQLException
PdcException
SQLException
public List<Group> groupIds2Groups(List<String> groupIds)
public List<UserDetail> userIds2Users(List<String> userIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |