void
|
addDefaultSchemeToProject(GenericValue project)
Adds the default scheme to a particular project
|
void
|
addDefaultSchemeToProject(Project project)
Adds the default scheme to a particular project
|
void
|
addSchemeToProject(Project project, Scheme scheme)
Adds a scheme to a particular project
|
@Deprecated
void
|
addSchemeToProject(GenericValue project, GenericValue scheme)
Adds a scheme to a particular project
|
GenericValue
|
copyScheme(GenericValue oldScheme)
Copys a scheme, giving the new scheme the same entities as the original one
|
Scheme
|
copyScheme(Scheme oldScheme)
Copys a scheme, giving the new scheme the same entities as the original one
|
GenericValue
|
createDefaultScheme()
Creates a default scheme, with an id of 0
|
GenericValue
|
createScheme(String name, String description)
Creates a new scheme
|
@Nonnull
abstract
AbstractSchemeAddedToProjectEvent
|
createSchemeAddedToProjectEvent(Scheme scheme, Project project)
|
Scheme
|
createSchemeAndEntities(Scheme scheme)
|
@Nonnull
abstract
AbstractSchemeCopiedEvent
|
createSchemeCopiedEvent(Scheme oldScheme, Scheme newScheme)
|
abstract
AbstractSchemeEvent
|
createSchemeCreatedEvent(Scheme scheme)
|
@Nullable
abstract
Object
|
createSchemeEntityDeletedEvent(GenericValue entity)
|
abstract
GenericValue
|
createSchemeEntityNoEvent(GenericValue scheme, SchemeEntity schemeEntity)
|
GenericValue
|
createSchemeGenericValue(Map<String, Object> values)
|
GenericValue
|
createSchemeNoEvent(String name, String description)
|
Scheme
|
createSchemeObject(String name, String description)
Creates a new scheme
|
@Nonnull
abstract
AbstractSchemeRemovedFromProjectEvent
|
createSchemeRemovedFromProjectEvent(Scheme scheme, Project project)
|
abstract
AbstractSchemeUpdatedEvent
|
createSchemeUpdatedEvent(Scheme scheme, Scheme originalScheme)
|
void
|
deleteEntity(Long id)
Deletes an entity with the given id from the database.
|
void
|
deleteScheme(Long id)
Deletes a scheme from the database
|
void
|
flushProjectSchemes()
|
I18nHelper
|
getApplicationI18n()
|
List<Scheme>
|
getAssociatedSchemes(boolean withEntitiesComparable)
Gets all schemes of this type in the database taht are associated with at least one project.
|
@Deprecated
String
|
getAssociationType()
This method is deprecated.
Just assume all schemes are project association schemes.
|
abstract
String
|
getDefaultDescriptionKey()
|
abstract
String
|
getDefaultNameKey()
|
GenericValue
|
getDefaultScheme()
Gets the default scheme.
|
Scheme
|
getDefaultSchemeObject()
Gets the default scheme.
|
List<GenericValue>
|
getEntities(GenericValue scheme)
Get all Scheme entity records for a particular scheme
|
List<GenericValue>
|
getEntities(String type, String parameter)
Get all entity records with a particular parameter
|
GenericValue
|
getEntity(Long id)
Gets a scheme entity based on the id of the entity
|
abstract
String
|
getEntityName()
|
Collection<Group>
|
getGroups(Long entityTypeId, Project project)
|
Collection<Group>
|
getGroups(Long entityTypeId, GenericValue project)
|
String
|
getNameForCopy(String originalName, Integer abbreviateTo)
|
@Deprecated
List<GenericValue>
|
getProjects(GenericValue scheme)
Gets all projects that are associated with that scheme
|
List<Project>
|
getProjects(Scheme scheme)
Gets all projects that are associated with that scheme
|
GenericValue
|
getScheme(Long id)
Gets a scheme based on the Id of the scheme
|
GenericValue
|
getScheme(String name)
Gets a scheme by name from the database.
|
abstract
String
|
getSchemeDesc()
|
abstract
String
|
getSchemeEntityName()
|
Scheme
|
getSchemeFor(Project project)
Get the scheme of this type attached to the given project.
|
@Nullable
Scheme
|
getSchemeObject(String name)
Gets a scheme by name from the database.
|
@Nullable
Scheme
|
getSchemeObject(Long id)
Gets a scheme by id from the database.
|
List<Scheme>
|
getSchemeObjects()
Gets all scheme objects in the database.
|
List<GenericValue>
|
getSchemes(GenericValue project)
Get all schemes of this type attached to the given project.
|
List<GenericValue>
|
getSchemes()
Gets all the Schemes (of the type defined by the subclass) from the database.
|
List<Scheme>
|
getUnassociatedSchemes()
Will return all @link Scheme objects that are not currently associated with any projects.
|
Collection<User>
|
getUsers(Long permissionId, Issue issue)
|
Collection<User>
|
getUsers(Long permissionId, GenericValue projectOrIssue)
|
Collection<User>
|
getUsers(Long permissionId, Project project)
|
Collection<User>
|
getUsers(Long permissionId, PermissionContext ctx)
|
abstract
SchemeEntity
|
makeSchemeEntity(GenericValue schemeEntityGV)
|
void
|
onClearCache(ClearCacheEvent event)
|
boolean
|
removeEntities(GenericValue scheme, Long entityTypeId)
Retrieves all the entites for this permission and then removes them.
|
boolean
|
removeEntities(String type, String parameter)
Removes all scheme entities with this parameter and type
|
void
|
removeSchemesFromProject(Project project)
Removes all schemes from a project
|
@Deprecated
void
|
removeSchemesFromProject(GenericValue project)
Removes all schemes from a project
|
boolean
|
schemeExists(String name)
Determine if the given scheme name exists.
|
void
|
updateScheme(Scheme scheme)
Updates any changes to the scheme object.
|
void
|
updateScheme(GenericValue entity)
Updates any changes to the given scheme
|