@Role
public interface SecurityReferenceFactory
Modifier and Type | Method and Description |
---|---|
SecurityReference |
newEntityReference(EntityReference reference)
Returns a
SecurityReference for the provided entity. |
GroupSecurityReference |
newGroupReference(DocumentReference reference)
Returns a
GroupSecurityReference for the provided group document reference. |
UserSecurityReference |
newUserReference(DocumentReference reference)
Returns a
UserSecurityReference for the provided user document reference. |
SecurityReference newEntityReference(EntityReference reference)
SecurityReference
for the provided entity.reference
- the entity reference to cloneSecurityReference
for the provided entity.UserSecurityReference newUserReference(DocumentReference reference)
UserSecurityReference
for the provided user document reference.reference
- the entity reference to cloneUserSecurityReference
for the provided user document reference.GroupSecurityReference newGroupReference(DocumentReference reference)
GroupSecurityReference
for the provided group document reference.reference
- the entity reference to cloneGroupSecurityReference
for the provided group document reference.Copyright © 2004–2021 XWiki. All rights reserved.