|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OXResellerInterface
Field Summary | |
---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup. |
Method Summary | |
---|---|
void |
change(ResellerAdmin adm,
Credentials creds)
Change ResellerAdmin parameters |
ResellerAdmin |
create(ResellerAdmin adm,
Credentials creds)
Creates a ResellerAdmin subadmin account in the database. |
void |
delete(ResellerAdmin adm,
Credentials creds)
Delete ResellerAdmin from database If any objects still belong to this subadmin, the deletion will fail |
Restriction[] |
getAvailableRestrictions(Credentials creds)
Retrieve a list of all currently available Restriction objects |
ResellerAdmin |
getData(ResellerAdmin adm,
Credentials creds)
Get complete data from subadmin object. |
ResellerAdmin[] |
getMultipleData(ResellerAdmin[] admins,
Credentials creds)
Get complete data from all subadmin objects contained in array. |
Restriction[] |
getRestrictionsFromContext(Context ctx,
Credentials creds)
Retrieve a list of all restrictions applied to given Context |
void |
initDatabaseRestrictions(Credentials creds)
Initialize the database with all currently possible restrictions. |
ResellerAdmin[] |
list(java.lang.String search_pattern,
Credentials creds)
Search for specific or all subadmins in the database |
void |
removeDatabaseRestrictions(Credentials creds)
Remove all restrictions from database |
void |
updateDatabaseModuleAccessRestrictions(Credentials creds)
Update all restrictions based on module access combinations in case of changes to /opt/open-xchange/etc/admindaemon/ModuleAccessDefinitions.properties |
void |
updateDatabaseRestrictions(Credentials creds)
Update list of restrictions. |
Field Detail |
---|
static final java.lang.String RMI_NAME
Method Detail |
---|
ResellerAdmin create(ResellerAdmin adm, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, StorageException, InvalidCredentialsException, OXResellerException
adm
- ResellerAdmin
objectcreds
- Credentials
of the master admin
ResellerAdmin
object
java.rmi.RemoteException
InvalidDataException
StorageException
InvalidCredentialsException
OXResellerException
void delete(ResellerAdmin adm, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, StorageException, OXResellerException, InvalidCredentialsException
adm
- ResellerAdmin
objectcreds
- Credentials
of the master admin
java.rmi.RemoteException
InvalidDataException
StorageException
OXResellerException
InvalidCredentialsException
void change(ResellerAdmin adm, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, StorageException, OXResellerException, InvalidCredentialsException
adm
- ResellerAdmin
objectcreds
- Credentials
of the master admin
java.rmi.RemoteException
InvalidDataException
StorageException
OXResellerException
InvalidCredentialsException
ResellerAdmin[] list(java.lang.String search_pattern, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, StorageException, InvalidCredentialsException
search_pattern
- search pattern like e.g. "*foo*"creds
- Credentials
of the master admin
ResellerAdmin
array containing search result
java.rmi.RemoteException
InvalidDataException
StorageException
InvalidCredentialsException
ResellerAdmin[] getMultipleData(ResellerAdmin[] admins, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, OXResellerException
Array
- containing ResellerAdmin
objectscreds
- Credentials
of the master admin
ResellerAdmin
array containing complete data
java.rmi.RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
OXResellerException
ResellerAdmin getData(ResellerAdmin adm, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, OXResellerException
{@link
- ResellerAdmin} objectcreds
- Credentials
of the master admin
ResellerAdmin
containing complete data
java.rmi.RemoteException
OXResellerException
StorageException
InvalidCredentialsException
InvalidDataException
Restriction[] getAvailableRestrictions(Credentials creds) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, OXResellerException
Restriction
objects
creds
- Credentials
of the master admin
HashSet
of available restrictions
java.rmi.RemoteException
InvalidCredentialsException
StorageException
OXResellerException
Restriction[] getRestrictionsFromContext(Context ctx, Credentials creds) throws java.rmi.RemoteException, InvalidDataException, OXResellerException, StorageException, InvalidCredentialsException
Context
{@link
- Context} objectcreds
- Credentials
of the master admin
HashSet
of restrictions applied to context
java.rmi.RemoteException
InvalidDataException
OXResellerException
StorageException
InvalidCredentialsException
void initDatabaseRestrictions(Credentials creds) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, OXResellerException
Restriction
) as
well as every such restriction per defined module access combination from
/opt/open-xchange/etc/admindaemon/ModuleAccessDefinitions.properties
creds
- Credentials
of the master admin
StorageException
InvalidCredentialsException
OXResellerException
java.rmi.RemoteException
void removeDatabaseRestrictions(Credentials creds) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, OXResellerException
creds
- Credentials
of the master admin
java.rmi.RemoteException
InvalidCredentialsException
StorageException
OXResellerException
void updateDatabaseModuleAccessRestrictions(Credentials creds) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, OXResellerException
creds
- Credentials
of the master admin
java.rmi.RemoteException
StorageException
InvalidCredentialsException
OXResellerException
void updateDatabaseRestrictions(Credentials creds) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, OXResellerException
creds
- Credentials
of the master admin
java.rmi.RemoteException
StorageException
InvalidCredentialsException
OXResellerException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |