org.eclipse.emf.emfstore.internal.server.model.accesscontrol.roles
Interface Role

All Superinterfaces:
APIDelegate<ESRole>, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ProjectAdminRole, ReaderRole, ServerAdmin, WriterRole
All Known Implementing Classes:
ProjectAdminRoleImpl, ReaderRoleImpl, RoleImpl, ServerAdminImpl, WriterRoleImpl

public interface Role
extends org.eclipse.emf.ecore.EObject, APIDelegate<ESRole>

A representation of the model object ' Role'.

See Also:
RolesPackage.getRole()

Method Summary
 boolean canAdministrate(ProjectId projectId)
           
 boolean canCreate(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
           
 boolean canDelete(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
           
 boolean canModify(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
           
 boolean canRead(ProjectId projectId, org.eclipse.emf.ecore.EObject modelElement)
           
 org.eclipse.emf.common.util.EList<ProjectId> getProjects()
          Returns the value of the 'Projects' containment reference list.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.api.APIDelegate
createAPI, toAPI
 

Method Detail

getProjects

org.eclipse.emf.common.util.EList<ProjectId> getProjects()
Returns the value of the 'Projects' containment reference list. The list contents are of type ProjectId.

If the meaning of the 'Projects' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Projects' containment reference list.
See Also:
RolesPackage.getRole_Projects()

canAdministrate

boolean canAdministrate(ProjectId projectId)


canCreate

boolean canCreate(ProjectId projectId,
                  org.eclipse.emf.ecore.EObject modelElement)


canDelete

boolean canDelete(ProjectId projectId,
                  org.eclipse.emf.ecore.EObject modelElement)


canModify

boolean canModify(ProjectId projectId,
                  org.eclipse.emf.ecore.EObject modelElement)


canRead

boolean canRead(ProjectId projectId,
                org.eclipse.emf.ecore.EObject modelElement)



Copyright © 2016. All Rights Reserved.