org.opencrx.kernel.base.jmi1
Interface SecureObject

All Superinterfaces:
RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
All Known Subinterfaces:
Absence, AbstractActivityParty, AbstractContract, AbstractEmailRecipient, AbstractEntry, AbstractFaxRecipient, AbstractGroup, AbstractInvoicePosition, AbstractMailingRecipient, AbstractMmsRecipient, AbstractOpportunityPosition, AbstractPhoneCallRecipient, AbstractPriceLevel, AbstractProduct, AbstractProductConfiguration, AbstractQuotePosition, AbstractRemovedPosition, AbstractSalesOrderPosition, AbstractSmsRecipient, AbstractTask, AccessHistory, Account, AccountAddress, AccountAddress, AccountAssignment, AccountAssignmentInventoryItem, AccountAssignmentProduct, AccountAttributeFilterProperty, AccountCategoryFilterProperty, AccountFilterGlobal, AccountFilterProperty, AccountMembership, AccountQueryFilterProperty, AccountTypeFilterProperty, Activity, ActivityAttributeFilterProperty, ActivityCategory, ActivityCreationAction, ActivityCreator, ActivityFilterGlobal, ActivityFilterGroup, ActivityFilterProperty, ActivityFollowUp, ActivityGroup, ActivityGroupAssignment, ActivityLinkFrom, ActivityLinkTo, ActivityMilestone, ActivityNumberFilterProperty, ActivityProcess, ActivityProcessAction, ActivityProcessState, ActivityProcessStateFilterProperty, ActivityProcessTransition, ActivityQueryFilterProperty, ActivityStateFilterProperty, ActivityTracker, ActivityType, ActivityTypeFilterProperty, ActivityVote, ActivityWorkRecord, AdditionalExternalLink, AddressAttributeFilterProperty, AddressCategoryFilterProperty, AddressDisabledFilterProperty, AddressFilterGlobal, AddressFilterProperty, AddressGroup, AddressGroupMember, AddressMainFilterProperty, AddressQueryFilterProperty, AddressTypeFilterProperty, AddressUsageFilterProperty, Alert, AliasType, Artifact, ArtifactContext, ArtifactDependency, Asset, AssetContext, AssignedToFilterProperty, Association, AssociationEnd, Attribute, AuditEntry, BehaviouralFeature, Booking, BookingPeriod, BookingText, BooleanProperty, BooleanPropertySetEntry, Budget, BudgetMilestone, Building, BuildingComplex, BuildingUnit, CalculationRule, Calendar, CalendarDay, CategoryFilterProperty, CategoryFilterProperty, Chart, Class, ClassificationElement, Classifier, CodeValueContainer, CodeValueEntry, CollectionType, Competitor, ComponentConfiguration, CompoundBooking, ConfigurationModification, Constant, Constraint, Contact, ContactMembership, ContactRelationship, ContactRole, ContractAddress, ContractRole, CreditBooking, CreditLimit, CrxObject, CustomerContractRole, Datatype, DateProperty, DatePropertySetEntry, DateTimeProperty, DateTimePropertySetEntry, DebitBooking, DecimalProperty, DecimalPropertySetEntry, DefaultSalesTaxTypeFilterProperty, DeliveryInformation, DeliveryRequest, Depot, DepotAddress, DepotContract, DepotEntity, DepotEntityRelationship, DepotGroup, DepotHolder, DepotPosition, DepotReference, DepotReport, DepotReportItem, DepotReportItemPosition, DepotType, Description, Descriptor, DescriptorGroup, DesignDiagram, DesignModel, DesignPart, DisabledFilterProperty, DisabledFilterProperty, DisabledFilterProperty, DiscountPriceModifier, Document, DocumentAttachment, DocumentAttachment, DocumentFolder, DocumentLink, DocumentLock, DocumentRevision, EffortEstimate, Element, Email, EmailAccount, EmailAddress, EmailAddress, EmailAddress, EmailAddress, EmailRecipient, EmailRecipientGroup, EmploymentContract, EnumerationType, Event, Exception, ExternalActivity, ExternalTask, Facility, Fax, FaxRecipient, FaxRecipientGroup, Feature, Forecast, ForecastPeriod, GeneralizableElement, Group, ImplementationPart, Import, Incident, IncidentParty, IndexEntry, IntegerProperty, IntegerPropertySetEntry, InterfaceSpec, InventoryItem, Invoice, InvoicePosition, InvolvedObject, Lead, LegalEntity, LinearPriceModifier, LinkableItemLinkFrom, LinkableItemLinkTo, LinkedActivityFollowUpAction, Mailing, MailingRecipient, MailingRecipientGroup, Media, MediaContent, MediaReference, Meeting, MeetingParty, Member, Mms, MmsRecipient, MmsRecipientGroup, MmsSlide, Namespace, Note, ObjectCreationAuditEntry, ObjectFinder, ObjectModificationAuditEntry, ObjectRemovalAuditEntry, Operation, Opportunity, OpportunityPosition, Organization, OrganizationalUnit, OrganizationalUnitRelationship, Package, Parameter, Part, PhoneCall, PhoneCallRecipient, PhoneCallRecipientGroup, PhoneNumber, PhoneNumber, PhoneNumber, PhoneNumber, PositionCreation, PositionModification, PositionRemoval, PostalAddress, PostalAddress, PostalAddress, PostalAddress, PriceLevel, PriceListEntry, PriceModifier, PriceUomFilterProperty, PricingRule, PrimitiveType, Product, ProductAddress, ProductApplication, ProductAttributeFilterProperty, ProductBasePrice, ProductClassification, ProductClassificationFilterProperty, ProductClassificationRelationship, ProductConfiguration, ProductConfigurationType, ProductConfigurationTypeSet, ProductDepotPosition, ProductFilterProperty, ProductPhase, ProductPhasePriceLevel, ProductQueryFilterProperty, ProductReference, Profile, Property, PropertySet, PropertySet, PropertySetEntry, QuantityModification, QuickAccess, Quote, QuotePosition, Rating, Reference, ReferenceProperty, ReferencePropertySetEntry, RelatedProduct, RemovedPosition, RequirementDiagram, RequirementModel, RequirementPart, Resource, ResourceAssignment, ResourceIdentifier, RevenueReport, Room, Room, Room, SalesOrder, SalesOrderPosition, SalesTaxType, SalesVisit, ScheduledEndFilterProperty, ScheduledStartFilterProperty, SearchIndexEntry, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, SetActualEndAction, SetActualStartAction, SetAssignedToAction, SimpleBooking, SimpleEntry, SingleBooking, Site, Slot, Sms, SmsRecipient, SmsRecipientGroup, SolutionPart, StringProperty, StringPropertySetEntry, StructuralFeature, StructureField, StructureType, Subscription, Tag, Task, TaskParty, TestDiagram, TestModel, TestPart, Topic, TypedElement, UnspecifiedAccount, Uom, UomSchedule, UriProperty, UriPropertySetEntry, UseCase, UserHome, VariabilityPoint, Warehouse, WebAddress, WebAddress, WebAddress, WebAddress, WeekDay, WfAction, WfActionLogEntry, WfProcess, WfProcessInstance, WorkReportEntry

public interface SecureObject
extends SecureObject, RefObject_1_0

Abstract class SecureObject


Method Summary
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 CheckPermissionsResult checkPermissions(CheckPermissionsParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 CheckPermissionsResult checkPermissions(String principalName)
           
 org.openmdx.base.jmi1.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 List<String> getOwner()
          Retrieves a list containing all the elements for the attribute owner.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
          Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getAccessGrantedByParent

org.openmdx.base.jmi1.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

addOwningGroup

ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
                                        throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

addOwningGroup

ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
                                        short mode)
Specified by:
addOwningGroup in interface SecureObject

checkPermissions

CheckPermissionsResult checkPermissions(CheckPermissionsParams params)
                                        throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

checkPermissions

CheckPermissionsResult checkPermissions(String principalName)
Specified by:
checkPermissions in interface SecureObject

getOwner

List<String> getOwner()
Retrieves a list containing all the elements for the attribute owner.

Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

getOwningUser

User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

removeAllOwningGroup

ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
                                              throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

removeAllOwningGroup

ModifySecureObjectResult removeAllOwningGroup(short mode)
Specified by:
removeAllOwningGroup in interface SecureObject

removeOwningGroup

ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
                                           throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

removeOwningGroup

ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
                                           short mode)
Specified by:
removeOwningGroup in interface SecureObject

setAccessLevel

ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
                                        throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

setAccessLevel

ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
                                        short accessLevelDelete,
                                        short accessLevelUpdate,
                                        short mode)
Specified by:
setAccessLevel in interface SecureObject

setOwningUser

ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
                                       throws RefException
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the non-struct signature.
.

Throws:
RefException

setOwningUser

ModifySecureObjectResult setOwningUser(short mode,
                                       User user)
Specified by:
setOwningUser in interface SecureObject


This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.