public class OwPermissionsDocument extends OwDocument
OwPermissionCollection facade document.
Keeps track of the target object (object owner of the edited/viewed permissions) and
the current permissions (viewed or edited).
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
m_ViewList| Constructor and Description |
|---|
OwPermissionsDocument(OwObject object_p)
Constructor.
|
OwPermissionsDocument(OwObject object_p,
OwPermissionCollection permissions_p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
OwObject |
getObject() |
OwPermissionCollection |
getPermissions() |
void |
savePermissions()
Saves the current permissions to the target object (see
OwObject.setPermissions(OwPermissionCollection)). |
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getPersistentAttributeBagWriteable, getSafeAttribute, hasAttribute, init, remove, save, setAttribute, updateattach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTargetpublic OwPermissionsDocument(OwObject object_p) throws OwException
object_p - OwExceptionpublic OwPermissionsDocument(OwObject object_p, OwPermissionCollection permissions_p)
object_p - target objectpermissions_p - current permissionspublic void savePermissions()
throws OwException
OwObject.setPermissions(OwPermissionCollection)).
Before returning the permissions are reloaded (see see OwObject.getPermissions()).OwExceptionpublic OwPermissionCollection getPermissions()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.