Bug 129203
| Summary: | Determine some way to have package protected methods on domain objects | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Network | Reporter: | Mike McCune <mmccune> |
| Component: | RHN/R&D | Assignee: | Mike McCune <mmccune> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | RHN Devel | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-08-26 22:36:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 125080 | ||
|
Description
Mike McCune
2004-08-05 00:30:03 UTC
Maybe we can have two (2) interfaces. One which is package protected
the other being public. So all non-public methods should be in the
package protected interface.
public interface User {
long getId();
void setId(long id);
...
}
interface UserProtected {
void setRoles(List roles);
...
}
Then UserImpl can implement both. Only members of
com.redhat.rhn.domain.user can access UserProtected, while others can
only use User.
|