Package org.bedework.calfacade.svc
Class UserAuth.CallBack
java.lang.Object
org.bedework.calfacade.svc.UserAuth.CallBack
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- UserAuth
Class to be implemented by caller and passed during init.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidadd(BwAuthUser val) Save a new entryabstract voiddelete(BwAuthUser val) Delete the entryabstract List<BwAuthUser>getAll()abstract BwAuthUsergetAuthUser(String href) abstract BwPrincipalgetPrincipal(String account) abstract UserAuthAllows this class to be passed to other admin classesabstract voidupdate(BwAuthUser val) Update an existing entry
-
Constructor Details
-
CallBack
public CallBack()
-
-
Method Details
-
getPrincipal
- Parameters:
account- the href- Returns:
- BwPrincipal represented by account
-
getUserAuth
Allows this class to be passed to other admin classes- Returns:
- UserAuth
- Throws:
CalFacadeException
-
delete
Delete the entry- Parameters:
val- the authuser object- Throws:
CalFacadeException
-
add
Save a new entry- Parameters:
val- the authuser object- Throws:
CalFacadeException
-
update
Update an existing entry- Parameters:
val- the authuser object- Throws:
CalFacadeException
-
getAuthUser
- Parameters:
href- - principal href for the entry- Returns:
- auth user with preferences or null
- Throws:
CalFacadeException
-
getAll
- Returns:
- list of all auth user entries
- Throws:
CalFacadeException
-