com.silverpeas.admin.ejb
Class AdminBmEJB

java.lang.Object
  extended by com.silverpeas.admin.ejb.AdminBmEJB
All Implemented Interfaces:
AdminBusiness

public class AdminBmEJB
extends Object
implements AdminBusiness


Constructor Summary
AdminBmEJB()
           
 
Method Summary
 String addComponentInst(ComponentInst componentInst, String userId)
           
 void addSecurityData(String securityId, String userId, String domainId)
           
 void addSecurityData(String securityId, String userId, String domainId, boolean persistent)
           
 String authenticate(String sKey, String sSessionId)
           
 ArrayList<String> getAllRootSpaceIds()
           
 List<String> getAvailableSpaceIds(String userId)
           
 List<String> getAvailableSubSpaceIds(String spaceId, String userId)
           
 ArrayList<String> getAvailCompoIds(String spaceId, String userId)
           
 ComponentInst getComponentInst(String componentId)
           
 ComponentInstLight getComponentInstLight(String componentId)
           
 SpaceInst getSpaceInstById(String spaceId)
           
 SpaceInstLight getSpaceInstLight(String spaceId)
           
 Map<String,SpaceAndChildren> getTreeView(String userId, String spaceId)
           
 String getUserIdByLoginAndDomain(String login, String domainId)
           
 boolean isComponentAvailable(String spaceId, String componentId, String userId)
           
 void updateComponentOrderNum(String sComponentId, int orderNum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminBmEJB

public AdminBmEJB()
Method Detail

getAllRootSpaceIds

public ArrayList<String> getAllRootSpaceIds()
Specified by:
getAllRootSpaceIds in interface AdminBusiness

getSpaceInstById

public SpaceInst getSpaceInstById(String spaceId)
Specified by:
getSpaceInstById in interface AdminBusiness

getSpaceInstLight

public SpaceInstLight getSpaceInstLight(String spaceId)
Specified by:
getSpaceInstLight in interface AdminBusiness

getComponentInst

public ComponentInst getComponentInst(String componentId)
Specified by:
getComponentInst in interface AdminBusiness

getComponentInstLight

public ComponentInstLight getComponentInstLight(String componentId)
Specified by:
getComponentInstLight in interface AdminBusiness

getAvailCompoIds

public ArrayList<String> getAvailCompoIds(String spaceId,
                                          String userId)
Specified by:
getAvailCompoIds in interface AdminBusiness

isComponentAvailable

public boolean isComponentAvailable(String spaceId,
                                    String componentId,
                                    String userId)
Specified by:
isComponentAvailable in interface AdminBusiness

getAvailableSpaceIds

public List<String> getAvailableSpaceIds(String userId)
Specified by:
getAvailableSpaceIds in interface AdminBusiness

getAvailableSubSpaceIds

public List<String> getAvailableSubSpaceIds(String spaceId,
                                            String userId)
Specified by:
getAvailableSubSpaceIds in interface AdminBusiness

getTreeView

public Map<String,SpaceAndChildren> getTreeView(String userId,
                                                String spaceId)
Specified by:
getTreeView in interface AdminBusiness

authenticate

public String authenticate(String sKey,
                           String sSessionId)
Specified by:
authenticate in interface AdminBusiness

getUserIdByLoginAndDomain

public String getUserIdByLoginAndDomain(String login,
                                        String domainId)
Specified by:
getUserIdByLoginAndDomain in interface AdminBusiness

addSecurityData

public void addSecurityData(String securityId,
                            String userId,
                            String domainId)
Specified by:
addSecurityData in interface AdminBusiness

addSecurityData

public void addSecurityData(String securityId,
                            String userId,
                            String domainId,
                            boolean persistent)
Specified by:
addSecurityData in interface AdminBusiness

addComponentInst

public String addComponentInst(ComponentInst componentInst,
                               String userId)
Specified by:
addComponentInst in interface AdminBusiness

updateComponentOrderNum

public void updateComponentOrderNum(String sComponentId,
                                    int orderNum)
Specified by:
updateComponentOrderNum in interface AdminBusiness


Copyright © 2016 Silverpeas. All Rights Reserved.