Skip To Content ArcGIS for Developers Sign In Dashboard

Obsolete Members for PortalPrivilegeListModel

The following members of class PortalPrivilegeListModel are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) void append(const PortalPrivilege &portalPrivilege)
(obsolete) void clear()
(obsolete) void insert(int index, const PortalPrivilege &portalPrivilege)
(obsolete) void move(int from, int to)
(obsolete) void removeAt(int index)
(obsolete) void removeOne(const PortalPrivilege &portalPrivilege)

Member Function Documentation

void PortalPrivilegeListModel::append(const PortalPrivilege &portalPrivilege)

Appends PortalPrivilege portalPrivilege to the list model.

This method only affects the local instance of this list model class. This method will not add a privilege for the online user.

void PortalPrivilegeListModel::clear()

Removes all privileges from the list model.

This method only affects the local instance of this list model class. This method will not remove a privilege from the online user.

void PortalPrivilegeListModel::insert(int index, const PortalPrivilege &portalPrivilege)

Inserts PortalPrivilege portalPrivilege at the specified index in the list model.

This method will append to the list model if the index is greater than the current size of the list.

This method only affects the local instance of this list model class. This method will not add a privilege for the online user.

void PortalPrivilegeListModel::move(int from, int to)

Moves one PortalPrivilege from an index in the list model to a different index.

This method only affects the local instance of this list model class. This method will not move a privilege for the online user.

void PortalPrivilegeListModel::removeAt(int index)

Removes the PortalPrivilege at the specified index.

This method only affects the local instance of this list model class. This method will not remove a privilege from the online user.

void PortalPrivilegeListModel::removeOne(const PortalPrivilege &portalPrivilege)

Removes the PortalPrivilege portalPrivilege from the list model.

This method only affects the local instance of this list model class. This method will not remove a privilege from the online user.


Feedback on this topic?