|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.dragon.service.organization.RoleOfPartyManagerImpl
public class RoleOfPartyManagerImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ow2.dragon.api.service.organization.RoleOfPartyManager |
|---|
RoleOfPartyManager.LINK_TYPE |
| Constructor Summary | |
|---|---|
RoleOfPartyManagerImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createEndpointRole(java.lang.String partyId,
java.lang.String endpointId,
java.lang.String type)
Create a link between a party (person or organization) and an endpoint |
java.lang.String |
createTechServiceRole(java.lang.String partyId,
java.lang.String technicalServiceId,
java.lang.String type)
Create a link between a party (person or organization) and a tech service |
java.util.List<OrgToEndpointTO> |
getOrgRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
Retrieve all links between the given endpoint and an organization |
java.util.List<OrgToTechServiceTO> |
getOrgRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
Retrieve all links between the given tech service and an organization |
java.util.List<PersonToEndpointTO> |
getPersonRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
Retrieve all links between the given endpoint and a person |
java.util.List<PersonToTechServiceTO> |
getPersonRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
Retrieve all links between the given tech service and a person |
java.lang.String[] |
getRolesTypes(RoleOfPartyManager.LINK_TYPE linkType,
RequestOptionsTO options)
Get all role types for a particular link type. |
void |
removeRole(java.lang.String roleId)
Remove a role from the registry |
void |
setEntityLinkManager(EntityLinkManager entityLinkManager)
|
void |
setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
|
void |
setUniversalORMDAO(UniversalORMDAO universalORMDAO)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoleOfPartyManagerImpl()
| Method Detail |
|---|
public java.lang.String createEndpointRole(java.lang.String partyId,
java.lang.String endpointId,
java.lang.String type)
throws OrganizationException
RoleOfPartyManager
createEndpointRole in interface RoleOfPartyManagerpartyId - the Party id ( Person id or
OrganizationUnit id)endpointId - the Endpoint idtype - the role of the Party towards the Endpoint
OrganizationException - if one of the link end doesn't exist in registry
public java.lang.String createTechServiceRole(java.lang.String partyId,
java.lang.String technicalServiceId,
java.lang.String type)
throws OrganizationException
RoleOfPartyManager
createTechServiceRole in interface RoleOfPartyManagerpartyId - the Party id ( Person id or
OrganizationUnit id)technicalServiceId - the TechnicalService idtype - the role of the Party towards the
TechnicalService
OrganizationException - if one of the link end doesn't exist in registry
public java.util.List<OrgToEndpointTO> getOrgRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
RoleOfPartyManager
getOrgRolesByEndpoint in interface RoleOfPartyManagerendpointId - an Endpoint idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of OrgToEndpointTO roles between
OrganizationUnits and the given Endpoint
public java.util.List<OrgToTechServiceTO> getOrgRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
RoleOfPartyManager
getOrgRolesByTechService in interface RoleOfPartyManagertechServiceId - a TechnicalService idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of OrgToTechServiceTO roles between
OrganizationUnits and the given TechnicalService
public java.util.List<PersonToEndpointTO> getPersonRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
RoleOfPartyManager
getPersonRolesByEndpoint in interface RoleOfPartyManagerendpointId - an Endpoint idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of PersonToEndpointTO roles between
Persons and the given Endpoint
public java.util.List<PersonToTechServiceTO> getPersonRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
RoleOfPartyManager
getPersonRolesByTechService in interface RoleOfPartyManagertechServiceId - a TechnicalService idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of PersonToTechServiceTO roles between
Persons and the given TechnicalService
public java.lang.String[] getRolesTypes(RoleOfPartyManager.LINK_TYPE linkType,
RequestOptionsTO options)
RoleOfPartyManager
getRolesTypes in interface RoleOfPartyManagerlinkType - a RoleOfPartyManager.LINK_TYPEoptions - sort, pagination and case sensitive parameters, could be null
String array for a particular
RoleOfPartyManager.LINK_TYPEpublic void removeRole(java.lang.String roleId)
RoleOfPartyManager
removeRole in interface RoleOfPartyManagerroleId - a role ( Link) idpublic void setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
public void setUniversalORMDAO(UniversalORMDAO universalORMDAO)
public void setEntityLinkManager(EntityLinkManager entityLinkManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||