|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.registry.manage.AbstractManager
edu.vt.middleware.registry.manage.AbstractManagerEndpoint
edu.vt.middleware.registry.manage.person.PersonManagerBean
@DeclareRoles(value={"ADMIN","PORTAL"})
@RunAs(value="ADMIN")
@WebServiceProvider(wsdlLocation="/META-INF/wsdl/PersonManager.wsdl",
serviceName="PersonManagerService",
portName="PersonManager",
targetNamespace="http://middleware.vt.edu/ws/ed/manage/person/")
@ServiceMode(value=PAYLOAD)
public class PersonManagerBean
The PersonManagerBean provides an interface to the management
of person records in the Registry.
| Field Summary | |
|---|---|
private EmailManager |
emailManager
Class for using the emailManager |
private EntitlementManager |
entitlementManager
Class for using the entitlementmanager |
private GroupManager |
groupManager
Class for using the groupmanager |
private static Log |
LOG
Log for this class |
private NameManager |
nameManager
Class for using the namemanager |
private PidManager |
pidManager
Class for using the pidmanager |
private RegistryFinder |
registryFinder
Class for finding registry beans |
private RegistryUpdater |
registryUpdater
Class for updating the registry |
private ServiceManager |
serviceManager
Class for using the servicemanager |
| Fields inherited from class edu.vt.middleware.registry.manage.AbstractManager |
|---|
logger, sessionContext |
| Fields inherited from interface edu.vt.middleware.ed.manage.PersonManager |
|---|
LOCAL_JNDI_NAME, REMOTE_JNDI_NAME |
| Fields inherited from interface edu.vt.middleware.ed.manage.PersonManager |
|---|
LOCAL_JNDI_NAME, REMOTE_JNDI_NAME |
| Constructor Summary | |
|---|---|
PersonManagerBean()
|
|
| Methods inherited from class edu.vt.middleware.registry.manage.AbstractManagerEndpoint |
|---|
init, invoke |
| Methods inherited from class edu.vt.middleware.registry.manage.AbstractManager |
|---|
addEntitlementToReplicate, addGroupToReplicate, addPersonToReplicate, addServiceToReplicate, getReplChanges, getSystemCalendar, setEnqueueReplication, setSessionContext, setSystemCalendar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Log LOG
private EmailManager emailManager
private EntitlementManager entitlementManager
private GroupManager groupManager
private NameManager nameManager
private PidManager pidManager
private ServiceManager serviceManager
private RegistryUpdater registryUpdater
private RegistryFinder registryFinder
| Constructor Detail |
|---|
public PersonManagerBean()
| Method Detail |
|---|
public void setEntityManager(EntityManager em)
em - EntityManagerpublic void setEmailManager(EmailManagerLocal emailm)
emailm - EmailManagerpublic void setEntitlementManager(EntitlementManagerLocal entlm)
entlm - EntitlementManagerpublic void setGroupManager(GroupManagerLocal gm)
gm - GroupManagerpublic void setNameManager(NameManagerLocal nm)
nm - NameManagerpublic void setPidManager(PidManagerLocal pm)
pm - PidManagerpublic void setServiceManager(ServiceManagerLocal sm)
sm - ServiceManager
@RolesAllowed(value="ADMIN")
public Long createPerson(String bannerPidm,
Set<PersonAffiliation> affiliations)
throws ApplicationException
createPerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public Long createSponsoredPerson(PersonName name,
String ssn,
Calendar birthdate,
String responsibleUupid,
Set<PersonAffiliation> affiliations)
throws ApplicationException
createSponsoredPerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public Long createGuestPerson(Long sponsorUid)
throws ApplicationException
createGuestPerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void archivePerson(Long uid,
ArchiveType archiveType)
throws ApplicationException
archivePerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void removePerson(Long uid)
throws ApplicationException
removePerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setResponsibleUupid(Long uid,
String responsibleUupid)
throws ApplicationException
setResponsibleUupid in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setSsn(Long uid,
String newSsn)
throws ApplicationException
setSsn in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setBannerPidm(Long uid,
String newPidm)
throws ApplicationException
setBannerPidm in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setVtIdNumber(Long uid,
String newId)
throws ApplicationException
setVtIdNumber in interface PersonManagerApplicationException
private void setIdentifier(Long uid,
Identifier id)
throws ApplicationException
uid - Long that is a person in the registryid - Identifier the new id
ApplicationException - if an error occurs
IdentifierFoundException - if the supplied id already exists
@RolesAllowed(value="ADMIN")
public void setBirthdate(Long uid,
Calendar birthdate)
throws ApplicationException
setBirthdate in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setDeceasedFlag(Long uid,
boolean deceased)
throws ApplicationException
setDeceasedFlag in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setConfidentialFlag(Long uid,
boolean confidential)
throws ApplicationException
setConfidentialFlag in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public boolean hasAffiliation(Long uid,
Set<PersonAffiliation> affiliations)
hasAffiliation in interface PersonManager
@RolesAllowed(value="ADMIN")
public void setAffiliations(Long uid,
Set<PersonAffiliation> affiliations)
throws ApplicationException
setAffiliations in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void addAffiliation(Long uid,
PersonAffiliation affiliation)
throws ApplicationException
addAffiliation in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void addSuppressedAttribute(Long uid,
PersonAttribute attribute)
throws ApplicationException
addSuppressedAttribute in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void removeSuppressedAttribute(Long uid,
PersonAttribute attribute)
throws ApplicationException
removeSuppressedAttribute in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setX509Certificate(Long uid,
Certificate cert)
throws ApplicationException
setX509Certificate in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void setSMIMECertificate(Long uid,
Certificate cert)
throws ApplicationException
setSMIMECertificate in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void addLabeledUri(Long uid,
String labeledUri)
throws ApplicationException
addLabeledUri in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void removeLabeledUri(Long uid,
String labeledUri)
throws ApplicationException
removeLabeledUri in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void addInstantMessagingId(Long uid,
String id)
throws ApplicationException
addInstantMessagingId in interface PersonManagerApplicationException
@RolesAllowed(value={"ADMIN","PORTAL"})
public void removeInstantMessagingId(Long uid,
String id)
throws ApplicationException
removeInstantMessagingId in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void addPerson(String pid,
String[] pids,
RoleType roleType)
throws ApplicationException
addPerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void removePerson(String pid,
String[] pids)
throws ApplicationException
removePerson in interface PersonManagerApplicationException
@RolesAllowed(value="ADMIN")
public void removePerson(String pid,
String[] pids,
RoleType roleType)
throws ApplicationException
removePerson in interface PersonManagerApplicationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||