public interface DiscoveredPortal extends PortalObject<DiscoveredPortalPropertyBean>, Subscribable
PortalDiscovered objects are normally created by performing a query| Modifier and Type | Method and Description |
|---|---|
void |
addToMembers(java.lang.String identity,
boolean isEntrRole,
java.lang.String roleName)
Creates and adds a member/role to the Portal using the information passed
in by the parameters.
|
java.util.Map<java.lang.String,java.lang.String> |
getCustomAttributes()
Get the map of custom attributes.
|
PortalDeviceGroup |
getDeviceGroup(java.lang.String name)
Gets the device group with the specified name.
|
java.util.List<PortalDeviceGroup> |
getDeviceGroups()
Gets the device groups.
|
PortalObjectHolder<DiscoveredPortal> |
getHolder()
Returns a
Serializable holder object for the current
DiscoveredPortal instance. |
java.util.List<Member> |
getMembers()
Returns a list of the Members added to the Portal.
|
boolean |
isDefault()
Whether the portal is the default portal
|
boolean |
isSubscriptionEnabled()
Whether subscription is enabled for the portal
|
getId, getProperties, getPropertiesgetSubscriptionApproval, getUnsubscriptionApprovalvoid addToMembers(java.lang.String identity,
boolean isEntrRole,
java.lang.String roleName)
throws MemberOperationException
identity - The users identity.isEntrRole - Whether or not this is an enterprise role.roleName - The role name.MemberOperationException - if there is an error adding the member.boolean isDefault()
boolean isSubscriptionEnabled()
java.util.List<PortalDeviceGroup> getDeviceGroups()
java.util.List<Member> getMembers()
java.util.Map<java.lang.String,java.lang.String> getCustomAttributes()
PortalDeviceGroup getDeviceGroup(java.lang.String name)
name - of the device groupPortalObjectHolder<DiscoveredPortal> getHolder()
Serializable holder object for the current
DiscoveredPortal instance.PortalObjectHolder