|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Transactional public interface RoleOfPartyManager
| Nested Class Summary | |
|---|---|
static class |
RoleOfPartyManager.LINK_TYPE
An enumeration of all available types of links between registry entities |
| 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 iOptions)
Get all role types for a particular link type. |
void |
removeRole(java.lang.String roleId)
Remove a role from the registry |
| Method Detail |
|---|
java.lang.String createEndpointRole(java.lang.String partyId,
java.lang.String endpointId,
java.lang.String type)
throws OrganizationException
partyId - the Party id ( Person id or
OrganizationUnit id)endpointId - the Endpoint idtype - the role of the Party towards the Endpoint
OrganizationException - if an error occurs during role creation
java.lang.String createTechServiceRole(java.lang.String partyId,
java.lang.String technicalServiceId,
java.lang.String type)
throws OrganizationException
partyId - the Party id ( Person id or
OrganizationUnit id)technicalServiceId - the TechnicalService idtype - the role of the Party towards the
TechnicalService
OrganizationException - if an error occurs during role creation
@Transactional(readOnly=true)
java.util.List<OrgToEndpointTO> getOrgRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
throws OrganizationException
endpointId - an Endpoint idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of OrgToEndpointTO roles between
OrganizationUnits and the given Endpoint
OrganizationException - if an error occurs during roles retrieval
@Transactional(readOnly=true)
java.util.List<OrgToTechServiceTO> getOrgRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
throws OrganizationException
techServiceId - a TechnicalService idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of OrgToTechServiceTO roles between
OrganizationUnits and the given TechnicalService
OrganizationException - if an error occurs during roles retrieval
@Transactional(readOnly=true)
java.util.List<PersonToEndpointTO> getPersonRolesByEndpoint(java.lang.String endpointId,
RequestOptionsTO requestOptionsTO)
throws OrganizationException
endpointId - an Endpoint idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of PersonToEndpointTO roles between
Persons and the given Endpoint
OrganizationException - if an error occurs during roles retrieval
@Transactional(readOnly=true)
java.util.List<PersonToTechServiceTO> getPersonRolesByTechService(java.lang.String techServiceId,
RequestOptionsTO requestOptionsTO)
throws OrganizationException
techServiceId - a TechnicalService idrequestOptionsTO - sort, pagination and case sensitive parameters, could be null
List of PersonToTechServiceTO roles between
Persons and the given TechnicalService
OrganizationException - if an error occurs during roles retrieval
@Transactional(readOnly=true)
java.lang.String[] getRolesTypes(RoleOfPartyManager.LINK_TYPE linkType,
RequestOptionsTO iOptions)
throws OrganizationException
linkType - a RoleOfPartyManager.LINK_TYPEiOptions - sort, pagination and case sensitive parameters, could be null
String array for a particular
RoleOfPartyManager.LINK_TYPE
OrganizationException - if an error occurs during role types retrieval
void removeRole(java.lang.String roleId)
throws OrganizationException
roleId - a role ( Link) id
OrganizationException - if an error occurs during role removal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||