Package org.gluu.oxtrust.service.push
Class PushDeviceService
java.lang.Object
org.gluu.oxtrust.service.push.PushDeviceService
- All Implemented Interfaces:
- Serializable
Provides operations with oxPush devices
- Author:
- Yuriy Movchan Date: 01/22/2014
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddPushDevice(PushDevice pushDevice) Add new oxPush Device entrybooleanbooleanCheck if LDAP server contains oxPush Device with specified attributesfindPushDevices(String pattern, int sizeLimit) Search oxPush devices by patternfindPushDevices(PushDevice pushDevice) Get oxPush devices by exampleGenerate new inum for oxPush DevicegetAllPushDevices(String... ldapReturnAttributes) Get all oxPush devicesgetDnForPushDevice(String inum) Build DN string for oxPush DeviceGet oxPush Device by DNvoidCreate oxPush Device branch if neededvoidremovePushDevice(PushDevice pushDevice) Remove oxPush Device entryvoidupdatePushDevice(PushDevice pushDevice) Update oxPush Device entry
- 
Constructor Details- 
PushDeviceServicepublic PushDeviceService()
 
- 
- 
Method Details- 
addBranchpublic void addBranch()
- 
containsBranchpublic boolean containsBranch()
- 
preparePushDeviceBranchpublic void preparePushDeviceBranch()Create oxPush Device branch if needed
- 
getPushDeviceByDnGet oxPush Device by DN- Parameters:
- DN- oxPush Device DN
- Returns:
- oxPush Device
 
- 
addPushDeviceAdd new oxPush Device entry- Parameters:
- PushDevice- oxPush Device
 
- 
updatePushDeviceUpdate oxPush Device entry- Parameters:
- PushDevice- oxPush Device
 
- 
removePushDeviceRemove oxPush Device entry- Parameters:
- PushDevice- oxPush Device
 
- 
containsPushDeviceCheck if LDAP server contains oxPush Device with specified attributes- Returns:
- True if oxPush Device with specified attributes exist
 
- 
findPushDevicesGet oxPush devices by example- Parameters:
- PushDevice- pushDevice
- Returns:
- List of PushDevices which conform example
 
- 
getAllPushDevicesGet all oxPush devices- Returns:
- List of oxPush devices
 
- 
findPushDevicesSearch oxPush devices by pattern- Parameters:
- pattern- Pattern
- sizeLimit- Maximum count of results
- Returns:
- List of oxPush devices
 
- 
generateInumForNewPushDeviceGenerate new inum for oxPush Device- Returns:
- New inum for oxPush Device
 
- 
getDnForPushDeviceBuild DN string for oxPush Device
 
-