|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.beans.admin.ComponentInstManager
public class ComponentInstManager
Constructor Summary | |
---|---|
ComponentInstManager()
|
Method Summary | |
---|---|
ComponentInst |
copy(ComponentInst componentInstToCopy)
Return a copy of the given componentInst |
String |
createComponentInst(ComponentInst componentInst,
DomainDriverManager ddManager,
String sFatherId)
Creates a component instance in database |
void |
deleteComponentInst(ComponentInst componentInst,
DomainDriverManager ddManager)
Deletes component instance from Silverpeas |
String[] |
getAllCompoIdsByComponentName(DomainDriverManager ddManager,
String sComponentName)
Get the component ids with the given component name |
List<String> |
getAllowedComponentIds(int userId,
List<String> groupIds)
|
List<String> |
getAllowedComponentIds(int userId,
List<String> groupIds,
String spaceId)
|
List<String> |
getAllowedComponentIds(int userId,
List<String> groupIds,
String spaceId,
String componentName)
|
String[] |
getComponentIdsInSpace(int spaceId)
|
ComponentInst |
getComponentInst(DomainDriverManager ddManager,
String sComponentId,
String spaceId)
Get component instance with the given id |
ComponentInstLight |
getComponentInstLight(DomainDriverManager ddManager,
String sComponentId)
Get component instance light with the given id |
List<ComponentInstLight> |
getComponentsInSpace(int spaceId)
|
List<Parameter> |
getParameters(DomainDriverManager ddManager,
String componentId)
|
List<ComponentInstLight> |
getRemovedComponents(DomainDriverManager ddManager)
Return the all the root spaces ids available in Silverpeas |
void |
moveComponentInst(DomainDriverManager ddManager,
String spaceId,
String componentId)
|
void |
restoreComponentFromBasket(DomainDriverManager ddManager,
String componentId)
|
void |
sendComponentToBasket(DomainDriverManager ddManager,
ComponentInst componentInst,
String userId)
|
void |
setComponentInst(ComponentInst componentInst,
DomainDriverManager ddManager,
String sComponentId,
String sFatherId)
|
void |
updateComponentInheritance(DomainDriverManager ddManager,
String sComponentId,
boolean inheritanceBlocked)
|
String |
updateComponentInst(DomainDriverManager ddManager,
ComponentInst compoInstNew)
|
void |
updateComponentOrder(DomainDriverManager ddManager,
String sComponentId,
int orderNum)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentInstManager()
Method Detail |
---|
public ComponentInst copy(ComponentInst componentInstToCopy)
componentInstToCopy
-
public String createComponentInst(ComponentInst componentInst, DomainDriverManager ddManager, String sFatherId) throws AdminException
componentInst
- ddManager
- sFatherId
-
AdminException
public void sendComponentToBasket(DomainDriverManager ddManager, ComponentInst componentInst, String userId) throws AdminException
AdminException
public void restoreComponentFromBasket(DomainDriverManager ddManager, String componentId) throws AdminException
AdminException
public ComponentInst getComponentInst(DomainDriverManager ddManager, String sComponentId, String spaceId) throws AdminException
ddManager
- sComponentId
- spaceId
-
AdminException
public List<ComponentInstLight> getRemovedComponents(DomainDriverManager ddManager) throws AdminException
ddManager
-
AdminException
public ComponentInstLight getComponentInstLight(DomainDriverManager ddManager, String sComponentId) throws AdminException
ddManager
- sComponentId
-
AdminException
public void setComponentInst(ComponentInst componentInst, DomainDriverManager ddManager, String sComponentId, String sFatherId) throws AdminException
AdminException
public void deleteComponentInst(ComponentInst componentInst, DomainDriverManager ddManager) throws AdminException
componentInst
- ddManager
-
AdminException
public void updateComponentOrder(DomainDriverManager ddManager, String sComponentId, int orderNum) throws AdminException
AdminException
public void updateComponentInheritance(DomainDriverManager ddManager, String sComponentId, boolean inheritanceBlocked) throws AdminException
AdminException
public String updateComponentInst(DomainDriverManager ddManager, ComponentInst compoInstNew) throws AdminException
AdminException
public void moveComponentInst(DomainDriverManager ddManager, String spaceId, String componentId) throws AdminException
AdminException
public String[] getAllCompoIdsByComponentName(DomainDriverManager ddManager, String sComponentName) throws AdminException
ddManager
- sComponentName
-
AdminException
public String[] getComponentIdsInSpace(int spaceId) throws AdminException
AdminException
public List<ComponentInstLight> getComponentsInSpace(int spaceId) throws AdminException
AdminException
public List<String> getAllowedComponentIds(int userId, List<String> groupIds) throws AdminException
AdminException
public List<String> getAllowedComponentIds(int userId, List<String> groupIds, String spaceId) throws AdminException
AdminException
public List<String> getAllowedComponentIds(int userId, List<String> groupIds, String spaceId, String componentName) throws AdminException
AdminException
public List<Parameter> getParameters(DomainDriverManager ddManager, String componentId) throws AdminException
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |