Collecting group(s) that the user belongs to

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Collecting user groups

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Creating a new user

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Checking user existence

IInfoStore boInfoStore = null; IInfoStore boInfoStore2 = null; IInfoObject boIInfoObject = null; IInfoObject boIInfoObject2 = null; IInfoObjects boInfoObjects = null; IInfoObjects boInfoObjects2 = null; SDKException sdkException = null; IEnterpriseSession boEnterpriseSession = null; IPluginMgr boPluginMgr; IPluginInfo boPluginInfo; IUser boCurUser = null; IUserGroup boGroup = null; IUserAliases allias = null; boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( USERNAME, PASSWORD, SERVER, AUTHTYPE);

Forms of Inheritance

Timothy Budd, in his book “Understanding Object-Oriented Programming with Java” (Addison-Wesley, 2000), makes the following distinction: The term subtype is used to describe the relationship between types that explicitly recognizes the principle of substitution. That is, a type B is considered to be a subtype of A if two conditions hold. The first is that

superclass/subclass compatibility

They must really love this topic on the Java Certification exam, because they ask it in several different questions. Make sure you have it down before taking that test. Here are possible assignments and a note about their compatibility: superclass = subclass ==> always valid, subclass = (subclass) superclass ==> valid at compile time, checked at run-time,

“Is a” versus “Has a”

Don’t confuse inheritance with nesting (having a member that refers to another object). Declaring an object as a data field inside a class just sets up a reference variable to the object with no special privileges or relationship. In contrast, inheritance says the subclass is a variation of the superclass that extends its semantics in

JSF Message Resources

in src/main/resource create file called “MessageResources.properties” in which we will define our messages here footerText=This text is defined in the MessageResource.properties file Then add the below lines into your “faces-config.xml” file to identify the messages bundle into the application; <application> <resource-bundle> <base-name>MessageResources</base-name> <var>messages</var> </resource-bundle> </application> then in any of your .xhtml file you are good