Interface DeprecatedExtendedSecurityService
-
- All Known Subinterfaces:
ExtendedSecurityService
- All Known Implementing Classes:
ExtendedSecurityServiceImpl
public interface DeprecatedExtendedSecurityService
Deprecated extended security service for compatibility.- Author:
- Roy Wetherall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers)
Deprecated.as of 2.5, useExtendedSecurityService.set(NodeRef, Set, Set)
void
addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
Deprecated.as of 2.5, because extended security is no longer applied to parents.Set<String>
getExtendedReaders(NodeRef nodeRef)
Deprecated.as of 2.5, useExtendedSecurityService.getReaders(NodeRef)
Set<String>
getExtendedWriters(NodeRef nodeRef)
Deprecated.as of 2.5, useExtendedSecurityService.getWriters(NodeRef)
void
removeAllExtendedSecurity(NodeRef nodeRef)
Deprecated.as of 2.5, seeExtendedSecurityService.remove(NodeRef)
void
removeAllExtendedSecurity(NodeRef nodeRef, boolean applyToParents)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.void
removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.void
removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
-
-
-
Method Detail
-
getExtendedReaders
Set<String> getExtendedReaders(NodeRef nodeRef)
Deprecated.as of 2.5, useExtendedSecurityService.getReaders(NodeRef)
Gets the set of authorities that are extended readers for the given node.
-
getExtendedWriters
Set<String> getExtendedWriters(NodeRef nodeRef)
Deprecated.as of 2.5, useExtendedSecurityService.getWriters(NodeRef)
Get the set of authorities that are extended writers for the given node.
-
addExtendedSecurity
@Deprecated void addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers)
Deprecated.as of 2.5, useExtendedSecurityService.set(NodeRef, Set, Set)
Add extended security for the specified authorities to a node. As of, 2.5 this method no longer applies the extended security to parents.- Parameters:
nodeRef
- node referencereaders
- set of authorities to add extended read permissionswriters
- set of authorities to add extended write permissions
-
addExtendedSecurity
@Deprecated void addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
Deprecated.as of 2.5, because extended security is no longer applied to parents. Note that calling this method will only apply the extended security to the node and the applyToParents parameter value will be ignored.Add extended security for the specified authorities to a node.If specified, the read and write extended permissions are applied to all parents up to the file plan as extended read. This ensures parental read, but not parental write.
- Parameters:
nodeRef
- node referencereaders
- set of authorities to add extended read permissionswriters
- set of authorities to add extended write permissionsapplyToParents
- true if extended security applied to parents (read only) false otherwise.- See Also:
ExtendedSecurityService.set(NodeRef, Set, Set)
-
removeAllExtendedSecurity
@Deprecated void removeAllExtendedSecurity(NodeRef nodeRef)
Deprecated.as of 2.5, seeExtendedSecurityService.remove(NodeRef)
Remove all extended readers and writers from the given node reference.- Parameters:
nodeRef
- node reference
-
removeExtendedSecurity
@Deprecated void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.Remove the extended security for the specified authorities from a node.- Parameters:
nodeRef
- node referencereaders
- set of authorities to remove as extended readerswriters
- set of authorities to remove as extended writers
-
removeExtendedSecurity
@Deprecated void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.Remove the extended security for the specified authorities from a node.If specified, extended security will also be removed from the parent hierarchy.(read only). Note that extended security is records as a reference count, so security will only be utterly removed from the parent hierarchy if all references to the authority are removed.
- Parameters:
nodeRef
- node referencereaders
- set of authorities to remove as extended readerswriters
- set of authorities to remove as extedned writersapplyToParents
- true if removal of extended security is applied to parent hierarchy (read only), false otherwise
-
removeAllExtendedSecurity
@Deprecated void removeAllExtendedSecurity(NodeRef nodeRef, boolean applyToParents)
Deprecated.as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.Remove all extended readers and writers from the given node reference.- Parameters:
nodeRef
- node referenceapplyToParents
- if true then apply removal to parent hierarchy (read only) false otherwise.
-
-