Package | Description |
---|---|
com.communote.server.core.security.iprange | |
com.communote.server.model.security | |
com.communote.server.persistence.security.iprange |
Modifier and Type | Method and Description |
---|---|
IpRange[] |
IpRangeFilterManagementImpl.getExcludes(ChannelType channel)
Gets the excludes from database or cache.
|
IpRange[] |
IpRangeFilterManagementImpl.getIncludes(ChannelType channel)
Gets the include ranges from cache or database.
|
IpRange[] |
IpFilterCacheElementProvider.load(IpFilterCacheKey key)
Provides an element identified by the key for caching.
|
static IpRange |
IpRangeHelper.stringToRange(String iprange)
Parse an iP range.
|
Modifier and Type | Method and Description |
---|---|
List<IpRange> |
IpRangeFilterManagementBase.findIpRanges(ChannelType channel,
boolean includes) |
List<IpRange> |
IpRangeFilterManagement.findIpRanges(ChannelType channel,
boolean includes) |
protected List<IpRange> |
IpRangeFilterManagementImpl.handleFindIpRanges(ChannelType channel,
boolean includes)
Performs the core logic for
IpRangeFilterManagementBase.findIpRanges(com.communote.server.model.security.ChannelType, boolean) |
protected abstract List<IpRange> |
IpRangeFilterManagementBase.handleFindIpRanges(ChannelType channel,
boolean includes)
Performs the core logic for
IpRangeFilterManagementBase.findIpRanges(com.communote.server.model.security.ChannelType, boolean) |
static List<IpRange> |
IpRangeHelper.stringToRanges(String text,
String delimiter)
Parses multiple IP ranges.
|
Modifier and Type | Method and Description |
---|---|
static String |
IpRangeHelper.rangesToString(Collection<IpRange> ranges,
String delimiter)
Transform ranges to string.
|
Modifier and Type | Class and Description |
---|---|
class |
IpRangeImpl
The Class IpRangeImpl.
|
Modifier and Type | Method and Description |
---|---|
static IpRange |
IpRange.Factory.newInstance()
Constructs a new instance of
IpRange . |
static IpRange |
IpRange.Factory.newInstance(byte[] startValue,
byte[] endValue,
BigInteger start,
BigInteger end)
Constructs a new instance of
IpRange , taking
all required and/or read-only properties as arguments. |
static IpRange |
IpRange.Factory.newInstance(byte[] startValue,
byte[] endValue,
BigInteger start,
BigInteger end,
String stringRepresentation)
Constructs a new instance of
IpRange , taking
all possible properties (except the identifier(s))as arguments. |
Modifier and Type | Method and Description |
---|---|
Set<IpRange> |
IpRangeFilter.getExcludes() |
Set<IpRange> |
IpRangeFilter.getIncludes() |
Modifier and Type | Method and Description |
---|---|
static IpRangeFilter |
IpRangeFilter.Factory.newInstance(String name,
boolean enabled,
Set<IpRange> includes,
Set<IpRangeChannel> channels,
Set<IpRange> excludes)
Constructs a new instance of
IpRangeFilter ,
taking all possible properties (except the identifier(s))as arguments. |
static IpRangeFilter |
IpRangeFilter.Factory.newInstance(String name,
boolean enabled,
Set<IpRange> includes,
Set<IpRangeChannel> channels,
Set<IpRange> excludes)
Constructs a new instance of
IpRangeFilter ,
taking all possible properties (except the identifier(s))as arguments. |
void |
IpRangeFilter.setExcludes(Set<IpRange> excludes) |
void |
IpRangeFilter.setIncludes(Set<IpRange> includes) |
Modifier and Type | Method and Description |
---|---|
IpRange |
IpRangeDaoBase.create(IpRange ipRange) |
IpRange |
IpRangeDao.create(IpRange ipRange)
Creates an instance of com.communote.server.persistence.security.iprange.IpRange and adds it
to the persistent store.
|
IpRange |
IpRangeDaoBase.load(Long id) |
IpRange |
IpRangeDao.load(Long id)
Loads an instance of com.communote.server.persistence.security.iprange.IpRange from the
persistent store.
|
Modifier and Type | Method and Description |
---|---|
Object |
IpRangeDaoBase.create(int transform,
IpRange ipRange) |
Object |
IpRangeDao.create(int transform,
IpRange ipRange)
Does the same thing as
IpRangeDao.create(com.communote.server.model.security.IpRange) with an
additional flag called transform . |
IpRange |
IpRangeDaoBase.create(IpRange ipRange) |
IpRange |
IpRangeDao.create(IpRange ipRange)
Creates an instance of com.communote.server.persistence.security.iprange.IpRange and adds it
to the persistent store.
|
void |
IpRangeDaoBase.evict(IpRange entity)
Evicts (removes) the entity from the hibernate cache
|
void |
IpRangeDao.evict(IpRange entity)
Evicts (removes) the entity from the hibernate cache
|
void |
IpRangeDaoBase.remove(IpRange ipRange) |
void |
IpRangeDao.remove(IpRange ipRange)
Removes the instance of com.communote.server.persistence.security.iprange.IpRange from the
persistent store.
|
protected Object |
IpRangeDaoBase.transformEntity(int transform,
IpRange entity)
Allows transformation of entities into value objects (or something else for that matter),
when the
transform flag is set to one of the constants defined in
com.communote.server.persistence.security.iprange.IpRangeDao , please note that
the IpRangeDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be
returned. |
void |
IpRangeDaoBase.update(IpRange ipRange) |
void |
IpRangeDao.update(IpRange ipRange)
Updates the
ipRange instance in the persistent store. |
Modifier and Type | Method and Description |
---|---|
Collection<IpRange> |
IpRangeDaoBase.create(Collection<IpRange> entities) |
Collection<IpRange> |
IpRangeDao.create(Collection<IpRange> entities)
Creates a new instance of com.communote.server.persistence.security.iprange.IpRange and adds
from the passed in
entities collection |
Collection<IpRange> |
IpRangeDaoBase.create(int transform,
Collection<IpRange> entities) |
Collection<?> |
IpRangeDao.create(int transform,
Collection<IpRange> entities)
Does the same thing as
IpRangeDao.create(com.communote.server.model.security.IpRange) with an
additional flag called transform . |
void |
IpRangeDaoBase.remove(Collection<IpRange> entities) |
void |
IpRangeDao.remove(Collection<IpRange> entities)
Removes all entities in the given
entities |
void |
IpRangeDaoBase.update(Collection<IpRange> entities) |
void |
IpRangeDao.update(Collection<IpRange> entities)
Updates all instances in the
entities collection in the persistent store. |
Copyright © 2019 Communote team. All rights reserved.